How-To Geek

Beginner Geek: Change What Windows Does When You Shut Your Laptop’s Lid

Are you tired of your laptop automatically going to sleep when you shut it’s lid?  Here’s how you can make your laptop do what you want it to do when you’re ready to put it up.

By default, most laptops automatically go into sleep mode when you close the lid.  This is usually great, as most of us shut our laptops, throw them into our bags, and then expect them to be running in an instant when we get them back out at the next stop.  Sometimes, though, you might want to leave your laptop running while the lid is shut

Please Note: Do NOT put your laptop in its bag while its running, as it will almost certainly overheat.  You have been warned.

Make Your Laptop Work Like You Want

Thankfully, it’s easy to change the settings.  Simply click the battery icon in your system tray, and select More power options.


Alternately, you can open the Power Options window directly from your Start Menu search.


In the Power Options window that opens, click the Choose what closing the lid does link on the left sidebar.


Here you can choose what your power buttons do on your computer, as well as what happens when you shut the lid.  You can select to Do nothing, Sleep, Hibernate, or Shut down.  In general, Sleep is a good option, but if you want to leave your laptop running, select Do nothing.


Note that you can change the settings for both On battery and Plugged in, so your laptop will work differently when you’re using mobile versus when you’re plugged in at your desk.  Since we usually would only want to leave our laptop running when it’s plugged in, we set ours to still go to sleep when it’s on battery power but to do nothing when you close the lid while it’s plugged in.  Very handy.

Underneath you’ll notice a couple more settings, though they’re protected by default.  Click Change settings that are currently unavailable to change them.


Now you can choose whether or not you want your computer to require the password when it wakes from sleep mode.

Once you’re done, click Save at the bottom to start using your new settings.  If you want to switch back when you’re on the move again, just repeat the steps and set it like you like.  Now you’re in full control of what happens when you close your laptop.


We’ve been frustrated countless times by shutting our laptop lids and forgetting that this automatically put them into sleep mode.  Sleep mode works great in Windows 7, but sometimes you want your machine to keep running, so this is a great way to do that.  Or, if you prefer to have your computer automatically shut down or hibernate when you close the lid, you can do that too.  Since you can set the plugged in settings different from the on battery settings, you should be able to make your settings work for any scenario.

If you’d like more info about power management in Windows 7, check out some of our other articles:

Matthew digs up tasty bytes about Windows, Virtualization, and the cloud, and serves them up for all to enjoy!

  • Published 08/11/10

Comments (7)

  1. Yoshiyah

    I owned an AspireOne, and I have my Netbook Hibernate when I close the lid. I’ll admit, Windows 7 does resume much faster from hibernation. Vista was so slow resuming.

  2. Zealinani

    This is very usefull thanks..

  3. Izzwan

    Thanks…. :)

  4. Invisigoth

    That’s all very nice, but I can’t get my computer to ask for the password after closing the lid (or waking from sleep).
    Yes, I have set the lid to sleep when I close it, and told the computer to ask for a password when it wakes from sleep (as shown above), but it doesn’t ask for a password (only when I turn the computer on initially then never again!). I am logged in as administrator.
    What am I doing wrong?

  5. brian

    @invisigoth when you hit advanced power options you need to hit show options that are currently unavailable and then it will be the top option

    hope that helped

  6. William

    I have never found the answer regarding how to stop this computer from locking up when I hit any key on the keyboard after it has been to sleep. Shutting down and restarting has been the only way to stop me from binning what is otherwise quite a good machine.

  7. weirdogeek

    really useful

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!