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

I have a habit to logoff and then sleep the computer in order to eliminate boot time but restart all user programs. I have to click logoff, wait for the login screen and then click sleep. I wonder if there is a way to do both with one click. A script maybe?

share|improve this question
I am not aware of a way to log off and sleep. Like @Jay recommends, you can set a normal Sleep timer (such as 15 minutes) and just Log Off, trusting the timer to put the computer to sleep a little bit later. – Myrddin Emrys Dec 12 '11 at 18:55

Just click on your Windows Start Icon and search "sleep". Click on "Change When Computer Sleeps." You can easily change when your computer automatically go to sleep.

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.