Do you want to prevent other users from shutting down your PC when it’s locked?
Do you want to remove the Shutdown button on the logon screen?
As you know, when locked or turned on, Windows 10 shows you a login screen where you need to type the password in order to access your Desktop.
Sometimes having the shutdown button accessible – especially when your user account is protected with a password – can be troublesome.
In this easy tutorial, you will learn how to prevent people from shutting down your PC when locked.
We will be using two methods, the first with the Local Group Policy Editor and the second using the Registry Editor.
Let’s go!
1. Remove Shutdown Button in Login Screen Using Group Policy Editor
Open Run prompt using the Windows+R keyboard shortcut, type in gpedit.msc
.

Navigate to: “Computer Configuration” > “Windows Settings” > “Security Settings” > “Local Policies” > “Security Options”
Double-click on “Shutdown: Allow system to be shut down without having to log on“.

Change the selection to “Disabled“. Click “OK“.

Sign out to see the changes…

1. Remove Shutdown Button in Login Screen Using Registry
Open Run prompt using Windows+R, type in regedit
, hit Enter.

Double-click on “shutdownwithoutlogon” and change its value to 0
, click “OK“.

If you can’t see this value, right-click and choose “New” > “DWORD (32-bit) Value“.

You are welcome in the comments section if you have questions
Thank you for reading, don’t forget to share!
If you have any questions I am here to help