On a laptop with Windows 10, how do I disable 'wake on lid open'?

It's surprisingly hard to find answers to this question. My bag's magnets wake up my laptop from sleep, in the bag, randomly

I have already disabled sleep on lid close, but it does not solve the issue of magnets tripping the lid sensor and waking it from sleep.

I've also disabled 'ACPI Lid' in device manager, no dice.

(To be clear, this means 'disable sleep on lid close' function does not fix this, that's the issue. It disables lid close, but not lid open)

  • Does this solve your problem? superuser.com/questions/778169/…
    – jitter
    Apr 29, 2021 at 18:43
  • Unfortunately not, that prevents sleep on lid close, but does not disable open-lid-wake
    – Elly Ard
    Apr 29, 2021 at 18:48
  • 1
    If nothing else works, use hibernate, instead, and it will also save battery life (at the expense of a few seconds when starting). Apr 29, 2021 at 21:01

1 Answer 1


Newer versions of Windows 10 have added an option for "Lid open action" in Power Options, which you may change to "Do nothing":

enter image description here

To get to Power Options:

  • Run Settings > Power Options
  • Click "Change plan settings" on your chosen power plan
  • Click "Change advanced power settings"

If you don't see a "Lid open action" in Power Options, create and run a .reg file containing (reboot might be required):

Windows Registry Editor Version 5.00


An alternative to the .reg file would be to run the command:

powercfg -attributes SUB_BUTTONS 99ff10e7-23b1-4c07-a9d1-5c3206d741b4 -ATTRIB_HIDE
  • Unfortunately, I can still get it to un-sleep on both lid open and with lid closed + my bag magnet, so no dice. Thanks for the effort regardless!
    – Elly Ard
    May 4, 2021 at 23:46
  • 1
    Do you mean that Lid open action" doesn't work? Does it perhaps work when opening the lid by hand (not with the magnet)?
    – harrymc
    May 5, 2021 at 8:04
  • Also, @EllyArd please notice there are 2 settings for lid open action (one for on battery and one for on power lead). Have you got the right one set (or both set) for your requirements? Aug 21, 2021 at 5:19

You must log in to answer this question.

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