fragbert Posted April 12, 2007 Share Posted April 12, 2007 After messing around with nlite, I discovered some new commands that apparently can be added to XP's WINNT.SIF that can disable SystemRestore:[systemRestore] DisableSR=1 CreateFirstRunRp=0However I can not get this to work for me. Upon installing my UWXP image, SystemRestore is still enabled. Can anybody here verify that this does indeed work? Is placement within the WINNT.SIF important? Link to comment Share on other sites More sharing options...
fragbert Posted April 16, 2007 Author Share Posted April 16, 2007 Hello? Link to comment Share on other sites More sharing options...
gunsmokingman Posted April 16, 2007 Share Posted April 16, 2007 I do not know if it can be done threw the Winnt.sif, but you could use a VBS script to disable System Restore.This script will disable System Restore on all the HD on the computer.Save As SRDisableAllHD.vbsstrComputer = "."Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\default")Set objItem = objWMIService.Get("SystemRestore")errResults = objItem.Disable("")This script will disable System Restore on only C:\ Drive or any other drive letter that you place here.errResults = objItem.Disable("C:\")Save As SRDisableSingeHD.vbsstrComputer = "."Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\default")Set objItem = objWMIService.Get("SystemRestore")errResults = objItem.Disable("C:\") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now