I am running some upgrade testing on a computer with Windows SteadyState.

The workflow is "upgrade, write down results, reset to default condition".

However, I can't seem to dig up a button that says, "Reset Windows Now!", which would be handy.

Is there such a thing?

Thanks!

link|improve this question

57% accept rate
feedback

2 Answers

I believe that the only way to revert back to the original system state in steady state is to reboot the computer.

link|improve this answer
feedback

You should be able to script this with something like this (setting CurrentMode to WDP_MODE_DISCARD), but AFAIK you would then also have to reboot:

set objWbemServices = GetObject ("winmgmts:\\" & strComputer & "\root\wmi")
set setWdpObjects   = objWbemServices.ExecQuery ("SELECT * FROM WDP_Control")

for each objWdp in setWdpObjects
   objWdp.CurrentMode  = WDP_MODE_DISCARD
   objWdp.Put
next

More info here.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.