Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where does Windows 2000 store whether the last shutdown was a restart or shutdown (switch off)?

Windows 2000 Shutdown Dialog

Is this in the registry or somewhere else?

share|improve this question
up vote 2 down vote accepted

After a bit of registry searching I came across the key that stores this info:


value Shutdown Setting

  • 0x2 = Shut down
    Ends the session and shuts down Windows 2000 so that the power can be turned off safely.

  • 0x4 = Restart
    Ends the session, shuts down Windows 2000, and starts Windows 2000 again.

This is documented fully on the Microsoft TechNet - Explorer Shutdown page.

share|improve this answer

Your Answer


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.