DisableLockWorkstation

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Prevents users from locking the system.

This entry stores the setting of the Disable Lock Computer Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the policy. If you disable the policy or set it to Not configured, Group Policy deletes the entry from the registry and the system behaves as though the value is 0.

Value Meaning
0 (or not in registry) The policy is disabled or not configured. Users can lock the computer.
1 The policy is enabled. Users cannot lock the computer.

While locked, the desktop is hidden and the system cannot be used. Only the user who locked the system or the system administrator can unlock it.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Disable Lock Computer policy (User Configuration\Administrative Templates\System\Logon/Logoff).

Tip Image Tip

To lock a computer without configuring a policy, press Ctrl+Alt+Delete, and then click Lock Computer.

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.