Change the System Restore Size in Windows Vista - gHacks Tech News

Change the System Restore Size in Windows Vista

It is possible to define the percentage that the System Restore feature in Windows XP allocates from a hard drive partition. Windows Vista has System Restore build in as well but no obvious way to define the percentage of the hard drive that System Restore allocates. Microsoft thought it would be a good idea to hide the setting well and allocate 15% of the hard drive's capacity to System Restore. On a 300 Gigabyte drive System Restore would allocate a maximum of 45 Gigabytes of space.

The company seems to remove features from newer versions of their operating system to "make it easier" to use for users of all experience levels. What Microsoft may not take into account here, apart from experienced users who get less options to configure the system, is that less choice often means a simpler system.

You can change the size of System Restore in Windows Vista, and other newer versions of Windows for that matter, from the command line. To do so you need to open an elevated command prompt by tapping on the Windows key, entering cmd, right-clicking on the command prompt result here and selecting to start it as an administrator.

Once you have done that use the following command to change the size of System Restore in Windows Vista:

vssadmin resize shadowstorage /on=c: /for=c: /maxsize=4GB

This changes the allocated size of System Restore on drive C: for drive C: to 4 Gigabyte. Please note that the on: parameter is the drive letter where the System Restore files are stored while the for: parameter defines the drive that the files should be backed up on.

The maxsize parameter is pretty obvious as it defines the storage that you want used for system restore. Note that it can't go below 300 Megabytes. If you remove the maxsize parameter the settings will be changed to the default one again.

change system restore size command-line

If you select a size that is lower than the current amount of space the oldest entries in System Restor will be deleted first.





  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:

    Comments

    1. emrah said on April 25, 2007 at 11:55 am
      Reply

      thanks thanks thanks!

      as an additional question how much space do the vista require for 1 restore point (as an estimation- 300MB or 1GB or what?)

    2. RRS said on April 25, 2007 at 11:12 pm
      Reply

      In Windows XP, the space allocated for system restore
      is a maximum allotment and not a restriction
      of the use of any space on the hard drive.
      I suspect the same is true for Vista.

      One would not have to worry about Vista taking up
      15% of space for system restore unless there
      are enough system restore points over time
      accumulated adding up to that amount.

      On my Windows XP Professional system with
      over 100 GB of data a single restore point
      takes up 75 MB of space and I maintain only
      a few restore points at any given time.

    3. Daniel said on April 28, 2007 at 11:27 pm
      Reply

      Thank you for providing this. It really annoys me how Vista hides settings like this. New restore points are created EVERY DAY by default on vista with no clear way to change that either.

      15% space will be used within a few weeks no matter what you do with computer (unless you change the setting of course). Absolutely ridiculous. Maybe the HD manufacturers had a word with MS? Did they want to force more sales by cleverly shrinking the size of everyone’s disk by 15%?

      Anyway, I’ll go ahead and use your tip. Thanks!

    4. Daniel said on April 28, 2007 at 11:32 pm
      Reply

      What a surprise: on my 100GB notebook disk the free space went from 15GB to 29GB as soon as I changed the max to 3GB.

      I’ve only been using the restore utility for a week, so that tells you how quickly it fills up.

      Much better.

    5. mark said on May 14, 2007 at 7:42 pm
      Reply

      thanks for the advice i just recovered 23gig of space on my hd…..thank you very much..:-)

    6. michael said on January 6, 2008 at 8:34 pm
      Reply

      Thank you so much… i have been turning insane trying to figure out where my free space has gone. you are saviours, thank you.

    7. Bill S. said on January 15, 2008 at 3:29 pm
      Reply

      I also want to thank you for explaining things clearly. I was trying to figure out why I had 122gb used on a 455gb hd (500gb), when files only added up to 68gb. The net amount of 55gb is roughly 12% of my 455gb drive, within (but approaching) the 15% allocation you described.

      I agree with your assessment of folks becoming users rather than ‘controllers’ of their computers, as less and less customization becomes available. This does protect against people hopelessly tangling themselves up with ‘system fixes’; but it also turns us into rather passive users, who often can’t find answers to legitimate questions (like this one: ‘where’d my disk space go?’)

      Gracias. Bill S.

    8. Shane said on May 28, 2008 at 1:16 pm
      Reply

      Hi all

      My problem started when i did a system recovery, I did the recovery everything went back to be nice and new and i started installing my firewall etc and world of warcraft when i happened to notice my harddrive saying 10.1gb of 48.8gb free!!!

      Im a little confused by it all and dont know whow to do what yous aid i ran the command line on the c drive and i get the error

      you dont have the correct permission to run this utility from a command line that has elevated admin access??

      I really am lost but on top of it all my hd is supposed to be 80gb so i have lost 30gb straight away and on top of it the 50gb it has given me only has 10gb space free, please help i am close to throwing the tower out of the window as i have had no end of problems with it

      Help would be much appreciated

    9. NagaDark said on June 22, 2008 at 2:18 pm
      Reply

      Yeah thanks now i can have more free room only using 40% instead of only 25% + System Recovery. of my hard drive space because it increases the life time of the HD by 300% especialy i had only 512 MB instead of the 4GB i have now.
      The more Ram the bigger the lifetime of the HD

    10. Heero said on October 31, 2008 at 7:32 am
      Reply

      Yeah,talking about lost disk spaces…I’m using a 1tb harddrive for my system. Then one day I found I lost more than 100gb for no reason…

    11. Hiiir said on April 4, 2009 at 4:58 pm
      Reply

      Hi, thanks for the tip!

      But I have two drives, C and D. Do I need to limit the D drive as well?

    12. John said on August 31, 2009 at 4:25 am
      Reply

      Thumbs up for post, thumbs down for vista and Microsoft, as usual.

    13. Dennis B said on January 12, 2010 at 10:10 pm
      Reply

      What a great help. I just purchased an Acer 1410 netbook/laptop with a 250 GB drive. Twenty GB used by hidden drive. C drive indicated a 220GB size but after two weeks and installing only a few basic programs (program folder showing 4+Gb and Windows at 16GB the usable space was now showing 160GB. I spent much time trying to account for the loss.

      Many thanks to you for offering the solution.

      Dennis

    14. The PC Tech Guy said on March 28, 2010 at 8:36 pm
      Reply

      System restore only holds restore points for up to 90 days, therefore, System Restore can take a lot of space if you frequently install/uninstall, and create restore points. To have System Restore take up around 10 GB of space… well I don’t know what you’re doing with your PC. And even if it does, after 90 days of its creation date, it’ll be gone.

    15. Brian Penix said on October 31, 2010 at 10:28 am
      Reply

      To answer The PC Tech Guy above…

      You will lose the space if you restore from those “idiot disks” provided by most PC manufacturers these days. Why? Because when you update using Windows Update, it sets a restore point on all the updates. I just went through that and found my 300 GB drive 31% full. I turned off system restore when done updating and watched it drop to just 17%. And this is before any of my external software was installed. Now I don’t know about you but I don’t think the loss of 14% of my drive, even if it is for 90 days, is a good thing.

      So thanks Martin for showing me how to limit the size of that beast!

    16. Rob. Elinz said on November 13, 2010 at 4:19 am
      Reply

      My sincere thanks for this incredibly helpful bit of information. I have tried various means of cleaning up my mysteriously shrinking hard drive, and was told that I needed to shrink the system restore space. I thought I fixed the problem a few months ago, but it came back, and the cmd prompt here did the trick. Well done!

    17. Jamie said on July 20, 2012 at 4:20 am
      Reply

      More kudos for this snippet of info – just recovered half my used hdd back!! little 250gb laptop, showed 68 gb used… ran the cmd line, now we’re only 35.5 gb used… damn..
      Many thanks for this.. !

    18. Greg said on July 27, 2012 at 8:21 pm
      Reply

      Amazing what this did to reclaim my space… Thanks!

    Leave a Reply