Change the amount of space used by System Restore


System Restore is a very useful feature of Windows Vista but it has one main drawback. After running for a few weeks, it can use a lot of your hard disk space. With the default settings turned on, System Restore might use up to 15 percent of the space on each disk. For example, if you have a 250GB hard disk drive, System Restore might end up using 37,5GB of it. That is a lot of space.

What can we do to limit the amount of space used by System Restore? In Windows XP making this kind of configuration was pretty easy. You had a slider in the System Properties window that you could move left or right to the desired percentage. Unfortunately this slider was removed from Windows Vista.

In order to configure the amount of space used by System Restore, you need to use a tool called Volume Shadow Copy Administrative Command-Line Tool (or vssadmin.exe).

To access vssadmin.exe we will have to open the command prompt with administrative rights. In order to do that, type "cmd" or "command" in the Start Menu search field. The first result should be cmd.exe or the Command Prompt. If you have UAC turned on, right click on it and select Run as administrator.

Start Menu

The Command Prompt will open. The Volume Shadow Copy Service offers several configuration option. Type vssadmin /? and press Enter to see the list of available options.

If you want to know how much space has been allocated and the maximum amount of space that can be used by System Restore, type vssadmin list shadowstorage and then hit the Enter key.

vssadmin

If you want to change the amount of space used by System Restore, you should use the following command:

vssadmin resize shadowstorage /on=[drive letter]: /For=[drive letter]: /Maxsize=[maximum size]

MaxSizeSpec must be 300MB or greater and accepts the following suffixes: KB (for kilobytes), MB (for megabytes), GB (for gigabytes), TB (for terabytes), PB (for petabytes) and EB (for exabytes). If a suffix is not supplied, MaxSizeSpec is in bytes. If MaxSizeSpec is not specified, then there will be no limit to the amount of space it may use.

For example, if you want System Restore to use a maximum of 1GB of space for the restore points on drive "C:", you should type the following:

vssadmin resize shadowstorage /On=C: /For=C: /Maxsize=1GB

vssadmin

The maximum space used by System Restore has now been resized.

Related articles:
System Restore
Change the System Restore Frequency with CSRF v1.0.0.0
How to disable or enable System Restore



Comments

thanks dear...i also got the

thanks dear...i also got the problem solved...

if ever any user wants to see the folder size of all folders at a place use "Disk Size Manager" software.

Useful article! Thanks.

Useful article! Thanks. Worked well for me.

In understanding of "ease of use" I think Vista is downgrade of good old XP :)

recovery size

I followed the instruction above, even got the confirmation of the resize. However, under the computer icon the D drive is still allocated almost 8g. I resized it to 2g? Suggestions?

Wrong tutorial

I think you followed the wrong tutorial. What do you want to do? Resize the "D:" drive or change the space used by System Restore?

Tip

hi, useful article, but it didnt work for me the first time I used it. I tried to make it 3GB, but it wasnt having it. Soo instead I put 3000MB and it wokred like a charm - hope it helps!

Awesome

Fantastic guide, work perfectly.

This article worked

This article worked perfectly for me and I regained 50GB as a result. Thanks.

System Restore

Very interesting article. Could the problems I (and many others) have with Backup failures have a similar source of difficulty (Message always "Backup not successful. Shadow copy could not be created due to insufficient storage available..(0x8004231f)" My system has 650GB total hard disk space available
Have not been able to create backup since purchase in Aug 2007. Also have been unable to successfully make Recovery disks using DVD-R, System tells me "failed" towards end of second disk insertion.

I think I've got a problem.

I did what you told me to do but I resized it to 2GB then I checked how much bytes it was using and realized that it didn't use much so I resized it again to 1GB then I checked it again and it said it was using 0bytes. I haven't restart my computer yet and I am just worried if I do will anything happen? I didn't create any system restore point yet... so please help me! Will anything happen to my computer?

It worked

I just got 32GB back, thanks guys!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options


eXTReMe Tracker