There isn’t an obvious setting to make the power button on the login screen display or not. Here’s how to do it via Group Policy or the Registry.
Having a power button on the login screen is nice in case you want to power off your PC without logging in. Or, on the other hand, maybe you want to remove it for a security or administrative reason. Here’s a look at how you can make the power button show up or not on the login screen on Windows 10 Pro or Home versions.
Add or Remove Power Button to Login Screen
If you’re running Windows 10 Pro you can easily add or remove the power button from the login screen via Group Policy. Hit the Windows key and type: gpedit.msc and hit Enter.
In Local Group Policy Editor head to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. In the right panel find “Shutdown: Allow system to be shut down without having to log on” and double-click on it.
Then on the Local Security Setting tab, set it to either Enabled or Disabled and click OK and close out of Group Policy Editor.
On Windows 10 Home
Since Windows 10 Home doesn’t have the Group Policy feature, to add the power button, you will need to hack the Registry.
Note: Making tweaks to the Registry isn’t for beginners or the faint of heart. Before making any changes to the Registry, make sure to do a full system backup or create a System Restore Point at the very least.
Hit the Windows key and type: regedit and hit Enter. Then head to the following path:
You’ll need to create a new key and name it shutdownwithoutlogon and set the Value to 1 if you want the button to display or 0 if you don’t want it on the login screen. Then close out of Registry Editor. You don’t need to log out or restart your system for it to take effect.
Just hit Windows key + L to lock your PC and hit Enter or swipe up for the login screen. There you will see a fully functional power button at the lower-right corner of the login screen.
Or, if you set the value to 0, the power button will no longer show up.
Whether you want to make it easier to shut down your Windows 10 PC without logging in, or don’t want someone walking by turning off your PC, it’s good to know you can add or remove the power button accordingly.