Remove System Volume information folder from external drive

10

9

I have currently found out that System Volume information folder on my external HDD takes around 124GB of space. Hence I decided to delete it to free up some additional space. But for now everything what I have tried did not succeeded.

IMPORTANT:

  • External hard drive has 1TB capacity and was previously used for backups and creating restore images (not anymore).
  • It's connected via USB 3.0 port.
  • System protected files are displayed.
  • All operations are performed on the clean install of Windows 10 Pro x64.
  • Formatted in NTFS
  • I only have one 1TB drive so moving files to another drive will not be an option.

So, what I have tried for now:

All the instructions provided here, meaning:

  1. takeown /f "F:\System Volume information" /a /r /d y
  2. icacls "F:\System Volume information" /t /c /grant administrators:F System:F everyone:F ("Are you sure?") y
  3. rd /s /q "F:\System Volume information"

This only helped me to delete one of the folders with a bunch of .db files in System Volume information folder. And I get Access denied as previously.

What I also thought of is to create a separate partition on this drive and move all the files there then format the partition with System Volume information and merge partitions back. This did not work quite well as creating new partition also created a System Volume information folder. And it took quite a while to do the partitioning.

I have gone though following posts:

How to delete "System Volume Information" folder from external drives?

How to delete a folder from external drives if names are too long (like System Volume Information/content...)?

Any suggestions guys?

NOTICE: I don't want to use third party software like Unlocker, Eraser or anything similar to these two. There should be a legit way to get rid of the files in Windows without third party software.

alljamin

Posted 2016-04-28T10:54:08.090

Reputation: 985

Do know about removing it completely, but you may be able to reduce its size considerably by turning off System Restore for the drive. – martineau – 2016-04-28T17:35:57.720

Did you manage to remove the folder? – yoyo_fun – 2016-05-04T19:37:18.443

The folder will most likely come back by itself. It’s part of how Windows works. Simply set Windows to hide protected files and folders and it won’t be visible. If the folder is big, that’s because shadow copies exist on the drive. – Daniel B – 2016-06-16T17:07:58.697

Answers

6

As I did not receive any other answers to my question and it is still open - I decided to provide my own answer.

Quick notice: it's not possible to remove System Volume Information folder and its contents even with third-party solutions without taking an ownership of the folder.

Here is the approach what does not involve installing any third party solution. The original solution can be found here.

Here is the quick re-cap of the mentioned above solution:

  1. You need to TakeOwnership over the System Volume information folder. For doing so, you need to create TakeOwnership.reg file which can also be downloaded here. This is what goes inside the TakeOwnership.reg file:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT*\shell\runas] @="Take Ownership" "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

    [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take Ownership" "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

  2. For the created TakeOwneship.reg file to take effect you need to run it, meaning just double-click on the newly created file.

  3. After Taking ownership (running the .reg file) you need to run following commands in command prompt (opened with Administrator privileges):

    1. Attrib -s -h -r "{drive}:\System Volume information" /S /D
    2. RD "{drive}:\System Volume information" /S

Where {drive} is the letter what your external drive has.

That all the steps what I have taken in order to be able to delete the System Volume Information folder from the external HDD. This worked fine for my machine Win 10 Pro x64 and I've got my extra 124GB.

@Scott in his comments points out for a missing explanation for a more precise description of what exactly these commands do as well as proving why this method exactly works and other methods do not work.

  • Regarding to the meaning of the commands - I am not aware exactly what they do, I can only refer "primitively" that these shell commands help to take "full ownership" of this particular folder (more precise/technical description is welcome).

  • This method "works" better than others, because I was not able to find any other method what actually "work". And only following precisely these steps helped me to delete the folder in order to free up space on my external HDD.

Hope this will help others who have similar issue.

alljamin

Posted 2016-04-28T10:54:08.090

Reputation: 985

What role does the TakeOwnership.reg file play? Why do we need it? Can you post it?  (That link you posted looks a little fishy, and, in any case, we don’t like answers that depend on external links.) How do we take ownership?  With the takeown command (which you mentioned in your question, with the indication that it wasn’t helpful)? Have you done this?  If not, why do you say, “This worked fine for my machine”?  If you have, why do you say, “as I’ve understood”? Please do not respond in comments; [edit] your question to make it clearer and more complete. – Scott – 2016-11-19T17:28:05.200

@Scott I have updated the answer. – alljamin – 2016-11-20T04:52:49.610

1Thanks for posting the REG file.  But it looks like all it does is put the takeown command into the Windows Explorer context menu. (And P.S. I asked how you take ownership — I'm guessing that you do it through the context menu, but you still haven't described that.) Can you explain how this works when running the takeown command directly (as mentioned in your question) doesn't? – Scott – 2016-11-20T06:42:02.517

@Scott I have no idea how to explain what you are asking. If what was mentioned in my question did not work - then it didn't work - there is no way around it. Perhaps you could help me figuring out the answer to your question - why takeown command didn't work and why creating a new registry key worked. – alljamin – 2016-11-20T07:25:58.757

To take ownership it is MUCH easier to just add it to your context menu. Here is a place where you do one download, a couple of clicks, then you can right-click and take ownership of anything: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/

– SDsolar – 2017-08-14T18:22:26.103

8

In my experience the answer to limiting the space used by System Volume Info on an external drive is NOT to delete it, as it returns again. Here's what worked for me (Windows 10 X64).

  1. Tell Windows not to index that drive.

    (a) In My Computer (or This PC) right-click the external drive, on General tab clear the "Allow files to have contents indexed" checkbox.

    (b) Search Windows for "Indexing Options" & run. Click Modify and clear the checkbox next to your external drive. (Say yes to "folders and sub-folders as well" & click Apply, then be patient.)

  2. Tell Windows not to create restore points on that drive.Search Windows for "restore point" & run. Click on Create a Restore Point. Click the external drive, then the Configure button, and select Disable System Protection.

  3. Limit Windows' "Shadow Copy" feature on the external drive [without disabling the service, which would affect all drives]. Open an elevated command prompt.

    To list the space currently used by shadow copies: vssadmin list shadowstorage

    To limit the space used by shadow copies on Drive F to 1gb: vssadmin resize shadowstorage /on=F: /For=F: /Maxsize=1GB

    To validate changes: vssadmin list shadowstorage

Note: the source of the vssadmin commands: http://lifeofageekadmin.com/disappearing-space-on-windows-2008-r2-caused-by-system-volume-information/

MichaelS

Posted 2016-04-28T10:54:08.090

Reputation: 81

1Gads. First of all, in Win8.1 I do not get the option about indexing USB drives. If I didn't use Acronis True Image I would just disable the Volume Shadow service. Instead I just periodically use rmdir /s "f:/system volume information" in an administrator CMD window. – SDsolar – 2017-08-14T18:20:46.983

1

I easily deleted it.
- I was using that hidden admin account

net user administrator /active:yes

- In the normal windows GUI I took ownership of the folder and gave myself permissions to everything (did this with subfolders too).
- Then wrote this in cmd

rd /s /q "F:\System Volume information"

Sheo

Posted 2016-04-28T10:54:08.090

Reputation: 11

1You left out the takeown command: takeown /f "name" /r /d y – SDsolar – 2017-06-11T03:36:30.480

0

You can try mount your external HDD on a Linux machine and delete the folder from there.

Another solution would be to copy your data on a different drive, format the external drive and then copy the data back.

Another thing you could try is to use a program for erasing files, like 'eraser' or some other application that is used to delete files and folders from hard drives. This solution would be the simplest in my opinion. I have used it to delete files that I could not delete from Windows due to various errors.

yoyo_fun

Posted 2016-04-28T10:54:08.090

Reputation: 1 443

Please read my question once again.That's exactly why I mentioned that it is 1TB hard drive. I don't many 1TB drives just laying around. – alljamin – 2016-04-28T11:06:46.510

I have read your question. I know that the external Hard drive has a 1 TB capacity. You did not mention that your internal drives have a smaller capacity nor did you mention that you do not have any aditional external drives. The best solution for you is to try to use 'eraser' or some other program for deleting files. It does not involve another drive nor a linux installation. The application is free and open source. You can download it here: http://eraser.heidi.ie/

– yoyo_fun – 2016-04-28T11:09:34.583

Updated my question with more details. – alljamin – 2016-04-28T11:48:38.557

maybe it is a silly question but did you run the cmd 'as administrator'? I had this problem one time where the not every command would work because I forgot to run the cmd utility with administrator privileges. – yoyo_fun – 2016-04-28T11:53:55.290

Running cmd with administrator privileges. – alljamin – 2016-04-28T11:56:18.193

0

I was having the same problem and here's what I found on another site. I tried it on my Windows 10 system and it removed over 250 GB from the System Volume Information folder, bringing it down to 10.1 GB. (Ref: http://www.tomshardware.com/forum/id-1800984/delete-system-volume-information-space-drive.html )

bleijendeckers September 14, 2013 1:35:42 PM

The system volume information is a folder that contains information so Windows can "repair" your system when something fails. It is possible that there are too many images (copies of hard drive files and settings etc) stored and this is filling up your hard drive. What you can do is go to Windows Explorer and right click on your C drive. Choose properties and in the properties screen you can see your disk (probably coloured almost completely in blue) and below it there should be a button that reads "disk cleaning" or something like that. I run the dutch version and it is called "Schijfopruiming" so forgive me if my translation is a bit off.

Click that button! And wait for Windows to complete it's scan of the drive.

There comes a window where in the lower left you can click something that reads "clean system files". Click that button! And wait for Windows to complete it's second scan of the drive.

Now you have an additional tab that reads something like "more options". Click that tab.

The lower option is "system restore and shadow copies" or something like that. Here is says you can save additional disk space by removing all but the most recent restore points. If you click the clean up button below that one it will delete all restore points and shadow copies except for the last one. This does however mean your system should run fine, as you can no longer restore it to a previous state with the exception of the last stored one.

If it is the system volume information that is too big, it should get very small after the push of that button.

This info is given on the basis of windows 7, if you run a different version it is possible that texts read a bit differently but it should be more or less in the same spot.

Good luck :)

RichardL

Posted 2016-04-28T10:54:08.090

Reputation: 1

0

I would think accessing that file from Puppy Linux would enable deletion of it (or copying),if not preventing recreation unless further steps are taken.

As for me, wish there was a way to change the location of the system volume information folder to an external drive, and to easily configure Windows to create more restore points (versus doing this). I have over 50gbs reserved for the C drive restore points, yet Windows left only one after the last update.

user263693

Posted 2016-04-28T10:54:08.090

Reputation: 19

This http://www.howtogeek.com/278388/how-to-make-windows-automatically-create-a-system-restore-point-at-startup/ seems to be a better tutorial regarding creating more restore points.

– user263693 – 2017-01-13T17:43:28.403

This is really more of a comment than a solution. – fixer1234 – 2017-01-13T18:23:12.017

0

If you have the bash shell installed in Win10 it's fairly easy. Just mount the drive and then remove the files and folder. I just tried it.

EDIT - Nevermind, mine eventually did come back. What a PITA. Thanks M$.

Mount removable media: (e.g. D:)

$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d

Matt Nelson

Posted 2016-04-28T10:54:08.090

Reputation: 59

0

Beside using Linux (as some have suggested) if you are not looking for a permanent solution using rmdir "System Volume Information" \s when inside the root folder of the partition of the external storage should work (at least on Win10).

Formatting clearly doesn't work because it unmounts the external device, erases its data, creates a new partition and then mounts it again. The last triggers a reaction from Windows to recreate the pesky folder again.

Alternatively you can activate the compatibility mode where WinXP runs (virtually) inside Win10 environment. You can mount the drive under XP and remove the folder.

This issue is also present for FAT32 and (I'm guessing here) exFAT too.

rbaleksandar

Posted 2016-04-28T10:54:08.090

Reputation: 235