If you want to provide shutdown option in Windows logon screen, you can do it by either of the following methods..
Using Registry settings:
- Open registry editor by executing the command regedit from Run window.
- Navigate to the node HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem
- Modify the data in registry value shutdownWithoutLogon to 1. If this key does not exist create the key with the type REG_DWORD.
From Windows command prompt this can be done by running the below command.
Reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem /v shutdownWithoutLogon /t REG_DWORD /d 1 /f
The command to disable shutdown button in logon screen:
Reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem /v shutdownWithoutLogon /t REG_DWORD /d 0 /f
Using Group or Security policy settings:
- Open local system group policy editor by running secpol.msc from Run window
- Expand the node ‘Local Policies‘
- Select ‘Security options‘ node
- From the list of policies listed in the right side, look for the one ‘Shutdown: Allow system to be shutdown without having to log on‘. Double click on the policy. You will see window like below.
- Select the Enabled check button.
In group policy editor, security policy console is hooked to the node ‘Windows Settings -> Local Policies‘
You can follow either of the above methods (Registry or group policy settings) to enable shutdown button in the logon screen.
Is there a way to enable this button when logging in Via Remote Desktop to a Windows XP Pro machine ?