JSI Tip 3436. How do I run a logon script visibly on Windows 2000?

Jerold Schulman

March 4, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

By default, the system does not display the instructions in the logon scriptsthat are run on a Windows 2000 client.

If the Windows 2000 client is a member of a Windows 2000 domain, the easiest way to alter this behavior is to use the Run logon scripts visible Group Policy (User ConfigurationAdministrative TemplatesSystemLogon/Logoff).

If the Windows 2000 client is a member of a Windows NT 4.0 domain, use Regedt32 to navigate to:

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem

NOTE: You may have to add the System key.

On the Edit menu, Add Value name HideLogonScripts, as a REG_DWORD data type. Set the data value to 0. The default is 1, hidden.

Related entries:

HideLegacyLogonScripts - 0, the default, displays the script, 1 is hidden - Run legacy logon scripts hidden Group Policy (User ConfigurationAdministrative TemplatesSystemLogon/Logoff).

HideLogoffScripts - 0 displays the script, 1, the default, is hidden - Run logoff scripts visible Group Policy (User ConfigurationAdministrative TemplatesSystemLogon/Logoff).

At HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem:

HideShutdownScripts - 0 displays the script, 1, the default, is hidden - Run shutdown scripts visible Group Policy (Computer ConfigurationAdministrative TemplatesSystemLogon).

HideStartupScripts - 0 displays the script, 1, the default, is hidden - Run startup scripts visible Group Policy (Computer ConfigurationAdministrative TemplatesSystemLogon).




Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like