New
#1
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_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /V "DisableSR" /T REG_DWORD /D 1 /F
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /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 "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SPP\Clients" /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.