Shutdown using power button from lock screen

  1.    4 Weeks Ago #1

    Shutdown using power button from lock screen


    My problem is that Windows will not shut the computer down when you press the power button (physical button on the computer, not the button on the log in screen) at the lock screen or log in screen.

    Is there a setting or registry I have to change to allow this to function correctly?
    Basically I have set the computer to turn off when I push the button on the computer in Windows settings, but it doesn't respond when you press it at the lock (or login) screen.

    Thanks for your help.
      My ComputerSystem Spec

  2.    4 Weeks Ago #2

    Bump
      My ComputerSystem Spec

  3. bro67's Avatar
    Posts : 5,824
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       4 Weeks Ago #3

    You can set in power settings to allow the button to shut down the computer. You should be using the shutdown in Windows, not the physical button. That way the OS can properly close things down and save certain settings. Powercfg flags allow you to check those properties. You need to also check the bios settings. Only use the physical power button as a last resort, if the system is locked up. Powercfg command-line options | Microsoft Docs
      My ComputerSystem Spec

  4.    4 Weeks Ago #4

    I'm not long pressing the power button to reset it. If you set it up in settings, you can press the button once, and it triggers the standard OS shutdown (same thing if you told it to shutdown from the start menu).

    That part is set up and working correctly, my problem is that the computer ignores the button press when on the lock or log-in screens.
      My ComputerSystem Spec

  5. bro67's Avatar
    Posts : 5,824
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       4 Weeks Ago #5

    Yes, but that does not properly shutdown the OS. Check Bios and see the link I posted. Only use the physical power button as a last resort if the system is locked up, not to end your session.
      My ComputerSystem Spec

  6.    4 Weeks Ago #6

    What exactly happens that is different? The link you provided just looks like different power settings, nothing to do with how the button is not a proper way to shut down the computer. With my current settings, I push the button, and it shuts down the same way it would if I went to the Start Menu (i.e. I get a gray screen that says shutting down, it pauses to warn me about shutting down programs and lost work, etc.)
      My ComputerSystem Spec

  7. bro67's Avatar
    Posts : 5,824
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       4 Weeks Ago #7

    Those are not power settings in that link, it gives you information on how to diagnose issues with the powercfg command and its flags. The reports help us to diagnose what is going on.
      My ComputerSystem Spec

  8. Ztruker's Avatar
    Posts : 7,264
    Windows 10 Pro X64 1809 17763.292
       4 Weeks Ago #8

    bro67, if you setup the power button to shutdown, pressing it once and releasing it is exactly the same as doing a shutdown from the Start menu. SSShadii is not pressing and holding the power button to drop power, he is pressing it once, to trigger a normal shutdown. I do it all the time and setup all my computers that way, personal and ones I sell.

    Doesn't work for me from the lock screen either so it's a bug in Windows 10, as it used to work.

    This was reported via feedback, I upvoted it:

    Click image for larger version. 

Name:	image.png 
Views:	3 
Size:	13.9 KB 
ID:	221947
      My ComputersSystem Spec

  9.    4 Weeks Ago #9

    Ztruker said: View Post
    Doesn't work for me from the lock screen either so it's a bug in Windows 10, as it used to work.
    Thanks for confirming this. I figured this wasn't right. I switched over to "Sleep" since that does work from the lock screen. I'm using a Wifi relay to simulate the button press, so I can use Amazon Echo to boot everything up and shut it down, hence the importance for the button press. Shutdown would have been preferable, but Sleep it is.
      My ComputerSystem Spec

  10. Bree's Avatar
    Posts : 10,219
    10 Home x64 (1809) (10 Pro on 2nd pc)
       4 Weeks Ago #10

    SSShadii said: View Post
    ...I switched over to "Sleep" since that does work from the lock screen... Shutdown would have been preferable, but Sleep it is.
    If your concern is possible loss of work if the power fails while in Sleep or there still being some small use of power, then I can confirm that Hibernate also works from the power button while on the lock screen. Hibernation will completely turn off all power on the PC, just like a Shutdown.

    While sleep puts your work and settings in memory and draws a small amount of power, hibernation puts your open documents and programs on your hard disk to the hiberfile (C:\hiberfil.sys), and then turns off your computer.
    Enable or Disable Hibernate in Windows 10 | Tutorials
      My ComputersSystem Spec


 

Related Threads
How to Add or Remove "Enable forced button/lid shutdown" from Power Options in Windows The Enable forced button/lid shutdown setting in Power Options lets users turn on or off to perform a forced shutdown when the lid is closed or the power...
Hello, I know that I can lock Windows by holding Start and 'L' at the same time, but I also want an option to do it when I click the power button from the Start menu (it's not there). In all of my previous versions of Windows, there was always...
My wife's computer just updated last week, and now we can't use it. It boots to the "bright" wallpaper, and then when you pull up on the screen to get to the password, the screen dims a little and nothing else. In the past, the screen dimmed a...
Windows 10 x64 Until a few days ago, my laptop used to shutdown ie hybrid quickly. Now, my laptop refuses to shutdown unless I use the power button to force a shutdown. I have checked to see whether it was because of an update, but this is not...
Hi For some reason I have not got the shutdown options within the Lock Screen. They are only in the login but I want to have them in the Lock Screen as I may find myself unable to access login screen sometime in the future. I would like to have...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:37.
Find Us