Disable ‘Lock’ From the Windows Shutdown Button

KB ID 0000851 


You want to stop your users being able to select the ‘Lock’ option from the Windows 7 power button via group policy.

Remove Lock from Windows 7


1. On a domain controller Windows Key+R> gpmc.msc {enter} > The Group Policy Management Console will open.

2. Navigate to where you want to create your policy, or edit an existing one.

Note: This is a computer policy, make sure the policy is linked to an OU that contains computers NOT users.

3. Navigate to;

Computer Configuration > Preferences > Windows Settings > Registry

4. Right Click > New> Registry Item.

5. Set the following;

Action = Create.
Key Path = SOFTWAREMicrosoftWindowsCutrrentVersionPoliciesSystem
Value name = DisableLockWorkstation
Value type = REG_DWORD
Value data = 1


Group Policy Remove Lock

6. Apply > OK > Close the policy editor.

7. Then either reboot the clients, wait a couple of hours, or manually run “gpupdate /force” on them.

Note: With Server 2012 you can force all computers in an OU to refresh group policy.

Related Articles, References, Credits, or External Links


Author: Migrated

Share This Post On