Windows – Disable “Previous Versions” functionality without shutting off other shadow copy functions

backupprevious versionssystem-restorevolume-shadow-copywindows 7

(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.)

Best Answer

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.

Related Question