Location:
State:
Carrier
Country
Status

Disable System Restore


Hi,
I need to do the following tasks in the System Restore:

1. Set Max Usage = 0
2. Delete all restore points
3. Disable System Restore

Should be using Command Line.
1st and 2nd step I've no any idea how to do.
For 3rd step:

net stop srservice
sc config srservice start=disabled
REG ADD "HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTSystemRestore" /V "DisableSR" /T REG_DWORD /D 1 /F
REG ADD "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSystemRestore" /V "DisableSR" /T REG_DWORD /D 1 /F

although srservice does not work on Win10 :: The service name is invalid.

This one I also found but does not work:
REG ADD "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionSPPClients" /V "{09F7EDC5-294E-4180-AF6A-FB0E6A0E9513}" /T REG_MULTI_SZ /D "0" /F
vssadmin Resize ShadowStorage /For=C: /On=C: /Maxsize=0GB

Any advise?
Thanks.

Why are you trying to disable System Restore? Also why are you trying to do it in the Registry?

Hello omidsolo,

You can use an option in the tutorial below to disable System Restore.

System Restore - Enable or Disable - Windows 7 Help blog

2. Delete all restore points
vssadmin delete shadows /for=c: /all /quiet

3. Disable System Restore
schtasks /Change /TN "MicrosoftWindowsSystemRestoreSR" /Disable

If you are concerned about services, those 2 are being used by SR.

Microsoft Software Shadow Copy Provider
Volume Shadow Copy

sc config swprv start= disabled
sc config VSS start= disabled

Thanks a lot TairikuOkami
I'm tired of questions like "Why do you wanna customize that part" or "leave it as is"!!!
Of course, I have some enough knowledge of what I wanna do.
I'm a Windows user since MS-DOS 6 and Windows 3.1 and until now, I never used Windows System Restore!
So what's the reason to keep it active? IF it's gonna break the Windows down, that's no problem, it's years I'm using a Windows with disabled System Restore!

Thanks a lot TairikuOkami
I'm tired of questions like "Why do you wanna customize that part" or "leave it as is"!!!
Of course, I have some enough knowledge of what I wanna do.
I'm a Windows user since MS-DOS 6 and Windows 3.1 and until now, I never used Windows System Restore!
So what's the reason to keep it active? IF it's gonna break the Windows down, that's no problem, it's years I'm using a Windows with disabled System Restore!
Some one with less experience that you actually may want to know why an experienced user doesn't want to use system restore or some other function.

Some one with less experience that you actually may want to know why an experienced user doesn't want to use system restore or some other function.
Actually experienced users know what to not touch for a reason. Mucking about in those settings cause more harm than good. Same as thinking restoring everytime something gets screwed up is how managing a LAN group of machines fixes things.

Disable System Restore