Monday, December 2, 2024

W365: How to disable the shutdown button in user logon screen

Earlier, I had detailed the steps required to disable the shutdown button in the start menu option here. Similarly you can also disable the shutdown button at user logon screen if it’s visible. 

Note: By default, shutdown button is disabled in user logon screen and start menu screen.

How to Disable the Shutdown Option

The shutdown option can be hidden by modifying a specific registry entry to prevent users from unintentionally turning off the Cloud PC. This involves setting the `Hideshutdown` value in the registry.

Registry Key Details

- Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\

- Value Name: `shutdownwithoutlogon`

- Type: DWORD

- Setting: `1` to hide the shutdown option (default is `0`)


Powershell script can be found in my GitHub repository 

https://github.com/app2pack/Windows365-Scripts/blob/main/W365-Hide-Shutdown-at-Logon.ps1

No comments:

Post a Comment