- Tips & Tricks
- Windows Tools
- System Utilities
- Keyboard Shortcuts
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.
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.
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
The maximum space used by System Restore has now been resized.