System Add or Remove Power Button on Sign-in Screen in Windows 11


  • Staff
Power_banner.png

The Power button on the sign-in screen can allow users to sleep, hibernate, shut down, or restart the computer without having to sign in to Windows.

The Shutdown: Allow system to be shut down without having to log on security policy setting determines whether a device can be shut down without having to log on to Windows.

Reference:

This tutorial will show you how to add or remove the Power button on the sign-in screen for all users in Windows 10 and Windows 11.


You must be signed in as an administrator to add or remove the Power button on the sign-in screen.



Contents

  • Option One: Add or Remove Power Button on Sign-in Screen in Local Security Policy
  • Option Two: Add or Remove Power Button on Sign-in Screen using REG file


EXAMPLE: Power button on sign-in screen

Power_button_on_sign-in_screen.jpg





Option One

Add or Remove Power Button on Sign-in Screen in Local Security Policy


Local Security Policy is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Two to set the same policy.


1 Open Local Security Policy (secpol.msc).

2 Expand open Local Policies in the left pane, and click/tap on Security Options. (see screenshot below)

Power_button_on_sign-in_screen_secpol-1.png

3 In the right pane of Security Options, double click/tap on the Shutdown: Allow system to be shut down without having to log on policy to open its properties. (see screenshot above)

4 Select (dot) Enabled (add - default) or Disabled (remove) for what you want, and click/tap on OK. (see screenshot below)

Power_button_on_sign-in_screen_secpol-2.png

5 You can now close Local Security Policy if you like.




Option Two

Add or Remove Power Button on Sign-in Screen using REG file


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.

2 Add Power Button to Sign-in Screen

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Power_button_to_sign-in_screen.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"shutdownwithoutlogon"=dword:00000001

3 Remove Power Button from Sign-in Screen

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Power_button_from_sign-in_screen.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"shutdownwithoutlogon"=dword:00000000

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You could now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • Power.png
    Power.png
    15.4 KB · Views: 3
  • Add_Power_button_to_sign-in_screen.reg
    662 bytes · Views: 7
  • Remove_Power_button_from_sign-in_screen.reg
    666 bytes · Views: 7
Last edited:
Top Bottom