0

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!

2 Answers 2

1

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

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .