5

(I looked pretty hard and couldn't find an appropriate previous question, but I have to think this has been asked...somebody please point me at a duplicate?)

Is there any way to disable (or restrict to 0% disk space) the 'Previous Versions' functionality on files in Windows 7 without disabling System Restore or the Volume Shadow Copy service (this service in particular needs to be running for another particular application that requires it)?

Just hiding the UI elements is not sufficient; I don't want these backup copies being written to any files that aren't going to be restored in the System Restore process. (A list of what directories System Restore doesn't care about would be a nice start, but I'm guessing it's not that specific.)

Shinrai
  • 18,876

2 Answers2

1

Show your actual VSS-Storage-limitations with vssadmin list shadowstorage.

Resize it with vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10GB
For Maxsize you can use percentage (/maxsize=3%), unlimited (/maxsize=UNBOUNDED) or MB/GB (/maxsize=10GB).

Edit: you must at least specify 300MB for shadowstorage.

Update:
I think I found something that should work. According to this Blogpost you can stop the VSS-Service and configure it to start manually. That should prevent the System from doing Shadow-Copies. If you want to restore or create a System-Restore-Point, the service will be started automatically.

However Windows 7 creates System-Restore-Points periodically. If you don't want Windows to do this, you can modify the scheduled task like described on How-To Geek.

I hope that helps. Let me know if you've additional questions.

wullxz
  • 2,876
1

There's really nothing you can do to fine tune what is included by Volume Shadow Copy (VSC)--it's going to make a shadow copy of the entire protected partition. At a higher level, though, you could probably help yourself (with respect to your concerns) by placing your data files (My Documents) or even all of your user files (including AppData, etc.) on a separate partition than your system files. Then the shadow copy on your system partition would include only system files, and you could decide whether to enable System Protection on your data partition (in order to have Restore Previous Versions available).