I would like to turn off system restore on c drive since it is ON by default on windows 7.
I have tried the following 2 vbs script found in the net
script 1 ------------------------------
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\default")
Set objItem = objWMIService.Get("SystemRestore")
errResults = objItem.Disable("C:\")
script 2 ------------------------------
Dim SRP, eSRP
Set SRP = GetObject("winmgmts:\\.\root\default:SystemRestore")
eSRP = SRP.disable("C:\")
However, when i click control panel -- system -- advance system settings -- system protection -- c drive is still show "ON"
Please advice and thank you.
Attached File(s)
-
22.jpg (78.54K)
Number of downloads: 4



Help
Back to top









