Jump to content

System Restore, please help?


Recommended Posts

  • 1 year later...
I don't want to use nLite, and if somebody could tell me how to use this script in unatternded setup.

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\default")

Set objItem = objWMIService.Get("SystemRestore")
errResults = objItem.Disable("")
Link to comment
Share on other sites

Try a regtweak, we used to use the following before migrating to Local Group Policies. We apply retweaks using RunOnceEx:



Link to comment
Share on other sites

You can disable it in the winnt.sif

By simply making an empty [SystemRestore] statement


command1 = "%SystemDrive%\D\BTS_DPs_finish.cmd"[/code]

You do NOT need the GUIRunOnce to disable System Restore (its just part of my example).
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...