Cannot delete System Volume Information folder in Windows 10

I cannot delete the System Volume Information folder in Windows 10 (Build 9926) anyway.

I tried these following steps in Windows 10:

1. Type "gpedit.msc" in Search box, then tap

gpedit
Windows application

Then execute the following:

Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> System Restore -> Turn off System Restore -> Enabled

Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer -> Turn off creation of System Restore checkpoints -> Enabled

2. Restart the computer.

3. Press "Win+X", then tap "Command Prompt (Admin)", and then execute the following two commands:

cacls "C:\System Volume Information" /E /G Administrators:F
rd /s "C:\System Volume Information"

These are the results:

C:\>cacls "C:\System Volume Information" /E /G Administrators:F
processed dir: C:\System Volume Information

C:\>rd /s "C:\System Volume Information"
C:\System Volume Information, Are you sure (Y/N)? y
C:\System Volume Information\{134fc382-bcab-11e4-962f-50e54912539c}{3808876b-c176-4e48-b7ae-04046e6cc752} - Access is denied.
C:\System Volume Information\{3808876b-c176-4e48-b7ae-04046e6cc752} - Access is denied.
C:\System Volume Information\{970e459c-b76c-11e4-962a-50e54912539c}{3808876b-c176-4e48-b7ae-04046e6cc752} - Access is denied.

C:\>

And whatever I use any USB flash drive in Windows 10, the "System Volume Information" folder will auto-generate, and I also cannot delete it anyway.
(Even if I format the USB flash drive, also cannot delete the "System Volume Information" folder.)

Please help me, thank you.

Answer
Answer

TB

Google is your friend

This is not a bug. It's a new Windows 8.1 feature. This folder is added so that  Search Indexer can determine whether it has seen the removable media before or not. This is required for enabling fast search on SD cards, thumb drives, etc. so they can be used for expanded Library storage on devices with small internal memory like the Surface RT, Dell Venue 8 Pro, etc. 

There is a group policy option to turn off this feature. Enable Computer Configuration \ Administrative Templates \ Windows Components \ Search \ Do not allow locations on removable drives to be added to libraries.

Cat herder
Windows Insider MVP
MVP-Windows and Devices for IT
http://www.zigzag3143.com/

4 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
Answer

TB

Google is your friend

This is not a bug. It's a new Windows 8.1 feature. This folder is added so that  Search Indexer can determine whether it has seen the removable media before or not. This is required for enabling fast search on SD cards, thumb drives, etc. so they can be used for expanded Library storage on devices with small internal memory like the Surface RT, Dell Venue 8 Pro, etc. 

There is a group policy option to turn off this feature. Enable Computer Configuration \ Administrative Templates \ Windows Components \ Search \ Do not allow locations on removable drives to be added to libraries.

ZigZag3143, you are perfectly right this time!

All countries are friendly to Google, but some countries are more friendly than others. :)

I'm living in some countries, thank you again.

These are my steps in Windows 10:

1. Type "gpedit.msc" in Search box, then tap

gpedit
Windows application

Then execute the following settings:

Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Search -> Do not allow locations on removable drives to be added to libraries -> Enabled

2. Press "Win+X", then tap "Command Prompt (Admin)", and then execute the following two commands on the USB Flash drive:

icacls "G:\System Volume Information" /grant Administrators:F /T /C
rd /s "G:\System Volume Information"

These are the results:

G:\>icacls "G:\System Volume Information" /grant Administrators:F /T /C
processed file: G:\System Volume Information
G:\System Volume Information\IndexerVolumeGuid: Access is denied.
Successfully processed 1 files; Failed processing 1 files

G:\>rd /s "G:\System Volume Information"
G:\System Volume Information, Are you sure (Y/N)? Y

G:\>dir /a
 Volume in drive G is Chirp
 Volume Serial Number is 4457-70F4

 Directory of G:\

File Not Found

G:\>

Now, the "System Volume Information" folder has been deleted at all.

Good Job! ZigZag3143, thank you very, very much!

("This is not a bug. It's a new Windows 8.1 feature." -- O My God, it is unbelievable! pls tells Satya Nadella, it is unbelievable!)

Add and update:

please refer to: What's WPSettings.dat generated by?

For controlling the power of "System Volume Information" folders, could execute the following steps:


Type "gpedit.msc" in Cortana search box, then tap (or click)


gpedit
Windows application


Then execute the following settings:


Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> System Restore -> Turn off System Restore -> Enabled


Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer -> Turn off creation of System Restore checkpoints -> Enabled


If want to delete the "System Volume Information" folders on USB flash drives or other removable drives, could execute the following setting:
Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Search -> Do not allow locations on removable drives to be added to libraries -> Enabled

Now user might use notepad to make two batch files and individually name them as DelSVIFdrs.bat & SchDelSVIFdrs.bat, then save them into the settings backup folder, then in File Explorer navigate to the folder which the batch files saved in, then right-click on the batch file SchDelSVIFdrs.bat, then a shortcut menu will pop up, then click on "Run as administrator" menu item on the shortcut menu, then User Account Control dialog box will pop up, then click on "Yes" button, then it will be running quickly within an opened "Command Prompt (Admin)" window, then its window will close automatically, means that the execution or performance is complete, - the result has been reached.

Below are my the two batch files for directly deleting System Volume Information folders and adding it into Task Scheduler.

This batch file is for directly deleting System Volume Information folders:
DelSVIFdrs.bat (note: this line is just the file name, not file contents, yet the below lines are file contents)
vssadmin delete shadows /All /Quiet
mountvol /N
net stop TrkWks
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TrkWks /f /v Start /t REG_DWORD /d 0x00000004
net stop VSS
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS /f /v Start /t REG_DWORD /d 0x00000004
net stop WSearch
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch /f /v Start /t REG_DWORD /d 0x00000004
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SDRSVC /f /v Start /t REG_DWORD /d 0x00000003
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StorSvc /f /v Start /t REG_DWORD /d 0x00000003
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\swprv /f /v Start /t REG_DWORD /d 0x00000003
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WMPNetworkSvc /f /v Start /t REG_DWORD /d 0x00000003
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\workfolderssvc /f /v Start /t REG_DWORD /d 0x00000003
for %%d in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist "%%d\System Volume Information" (
takeown /F "%%d\System Volume Information" /R /A /D Y
icacls "%%d\System Volume Information" /grant Administrators:F /T /C
if exist "%%d\System Volume Information\MountPointManagerRemoteDatabase" del /a /f /q "%%d\System Volume Information\MountPointManagerRemoteDatabase"
if exist "%%d\System Volume Information\IndexerVolumeGuid" del /a /f /q "%%d\System Volume Information\IndexerVolumeGuid"
if exist "%%d\System Volume Information\WPSettings.dat" del /a /f /q "%%d\System Volume Information\WPSettings.dat"
if exist "%%d\System Volume Information\tracking.log" del /a /f /q "%%d\System Volume Information\tracking.log"
rd /s /q "%%d\System Volume Information"
)

This batch file is for creating a new task and adding it into Task Scheduler:
SchDelSVIFdrs.bat
schtasks /create /tn "\DelSVIFdrs" /tr "D:\Software\Settings\SVIFdrs\DelSVIFdrs.bat" /ru "NT Authority\System" /sc OnLogon /delay 0005:00 /f

Note:
My settings backup folder about deleting SVI folders is located in D:\Software\Settings\SVIFdrs, so, this placeholder could be replaced with the location of other user's customized settings' backup folder.

First right-click or press-and-hold on SchDelSVIFdrs.bat then run it as administrator,
then sign out or reboot, then sign in,
after waiting more than five minutes, that will be found it automatically works,
namely all System Volume Information folders in all drives already have been deleted at all.

---

Also might use notepad to make a XML file and name it as DelSVIFdrs.xml, then save it into the settings backup folder.


The DelSVIFdrs.xml file contents are as below:


<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2016-08-08T18:18:18</Date>
    <Author>Builtin\Administrators</Author>
    <Description>Delete System Volume Information folders.</Description>
    <URI>\DelSVIFdrs</URI>
  </RegistrationInfo>
  <Triggers>
    <BootTrigger>
      <StartBoundary>2016-08-08T18:28:00</StartBoundary>
      <Enabled>true</Enabled>
      <Delay>PT3M</Delay>
    </BootTrigger>
    <LogonTrigger>
      <Repetition>
        <Interval>PT15M</Interval>
        <Duration>PT1H</Duration>
        <StopAtDurationEnd>false</StopAtDurationEnd>
      </Repetition>
      <Enabled>true</Enabled>
      <Delay>PT15M</Delay>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <RunLevel>HighestAvailable</RunLevel>
      <UserId>NT Authority\System</UserId>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>D:\Software\Settings\SVIFdrs\DelSVIFdrs.bat</Command>
    </Exec>
  </Actions>
</Task>


Note:
      <Command>D:\Software\Settings\SVIFdrs\DelSVIFdrs.bat</Command>
My settings backup folder about deleting SVI folders is located in D:\Software\Settings\SVIFdrs, so, this placeholder at the XML file's fourth line from the bottom could be replaced with the location of other user's customized settings' backup folder.


Then again use notepad to make a batch file and name it as SchDelSVIFdrsXML.bat, then save it into the settings backup folder, its contents are as below:


schtasks /create /tn "\DelSVIFdrs" /xml "D:\Software\Settings\SVIFdrs\DelSVIFdrs.xml" /f


Note:
My settings backup folder about deleting SVI folders is located in D:\Software\Settings\SVIFdrs, so, this placeholder could be replaced with the location of other user's customized settings' backup folder.


Then might create the task and add it into Task Scheduler from the XML file, just right-click or press-and-hold on the SchDelSVIFdrsXML.bat file and then run it as administrator, the effect or result is as same as above running the SchDelSVIFdrs.bat file.

7 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 
 

Question Info


Last updated May 31, 2020 Views 20,267 Applies to: