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.

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 policy. If you disable the policy or set it to Not configured, Group Policy deletes this entry from the registry, and the system behaves as though the value is 0.

Value

Meaning

0 (or not in the registry)

The policy is disabled or not configured. Users can use the Display Logoff item on Start Menu Options to add or remove the Log Off username item on the Start menu.

1

The policy is enabled. The Log Off username item is removed from the Start menu, and users cannot restore it. Also, the Display Logoff item is removed from Start Menu Options.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Disable Logoff on the Start Menu Group 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 the user setting, which is stored in the StartMenuLogoff entry in the HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced subkey. 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 the StartMenuLogoff entry is 1, the system removes the Logoff username item from the Start menu, and it ignores the ForceStartMenuLogOff entry.

Tip Image Tip

To add or remove the Log Off username item without setting a policy, from the Start menu, point to Settings, and then click Taskbar & Start Menu. Click the Advanced tab, and, in the Start Menu Settings box, select or clear the Display Logoff check box.

For detailed information about particular Group Policy settings, see the Windows 2000 Resource Kit Group Policy Reference.

For general information about Group Policy, see Windows 2000 Server Help or Windows 2000 Professional Help.

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

Related Entries

Page Image

NoLogoff

Page Image

ForceStartMenuLogOff