StartMenuLogOff

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Removes the Log Off user-name item from the Start menu and prevents users from restoring it.

Also, the system removes the Display Logoff item from Start Menu Options to prevent users from restoring the Log Off user-name item while the policy is in effect.

This entry stores the setting of the Disable Logoff on the Start Menu Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the Disable Logoff on the Start Menu 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 use the Display Logoff item to add and remove the Log Off <username> item.
1 The policy is enabled. The Log Off <username> item is removed the Start menu and users cannot restore it.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Disable Logoff on the Start Menu policy (User Configuration\AdministrativeTemplates\Start Menu & Taskbar).

Note Image Note

This entry affects the Start menu only. It does not affect the Log Off item on the Windows Security dialog box that appears when you press Ctrl+Alt+Del, and it does not prevent users from using other methods to log off.

This entry takes precedence over a user setting. When this entry appears in the registry, a policy is in effect, and the system ignores the value of StartMenuLogoff in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced. If the Logoff item does not operate as expected, check to see if this entry is in the registry.

The Disable Logoff on the Start Menu policy takes precedence over the Add Logoff to the Start Menu policy. That is, when the value of StartMenuLogoff is 1, the system removes the Logoff username item from the Start menu and ignores the ForceStartMenuLogOff entry.

Tip Image Tip

To add or remove the Log Off <username> item without setting a policy, click Start, click Settings, click Taskbar & Start Menu, click the Advanced tab and, in the Start Menu Settings box, click Display Logoff.

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.

Related Entries

Page Image

Page Image