HideLegacyLogonScripts

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

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Determines whether logon scripts written for Windows NT 4.0 are displayed as they run.

Logon scripts are batch files of instructions that run when the user logs on. By default, Windows 2000 displays the instructions in logon scripts written for Windows NT 4.0 and earlier in a command window as they run. The system does not display logon scripts written for Windows 2000 as they run.

This entry stores the setting of the Run legacy logon scripts hidden 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, Group Policy sets the value to 0. If you set the policy 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. Logon scripts written for Windows NT 4.0 and earlier are displayed as they run.
1 The policy is enabled. Logon scripts written for Windows NT 4.0 and earlier are not displayed as they run.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Run legacy logon scripts hidden policy (User Configuration\Administrative Templates\System\Logon/Logoff).

Tip Image Tip

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