Policy
Display instructions in logon scripts as they run
This policy setting displays the instructions in logon scripts as they run. Logon scripts are batch files of instructions that run when the user logs on. By default, the system does not display the instructions in logon scripts. If you enable this policy setting, the system displays each instruction in the logon script as it runs. The instructions appear in a command window. This policy setting is designed for advanced users. If you disable or do not configure this policy setting, the instructions are suppressed.
d4d10acc7041Run_Logon_Script_VisibleRegistry
Copy registry mappings
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\HideLogonScripts (enabled) = 0
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\HideLogonScripts (disabled) = 1Policy notes
This policy setting displays the instructions in logon scripts as they run. Logon scripts are batch files of instructions that run when the user logs on. By default, the system does not display the instructions in logon scripts. If you enable this policy setting, the system displays each instruction in the logon script as it runs. The instructions appear in a command window. This policy setting is designed for advanced users. If you disable or do not configure this policy setting, the instructions are suppressed.