Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question

2 Answers 2

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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