Policy
Display instructions in shutdown scripts as they run
This policy setting displays the instructions in shutdown scripts as they run. Shutdown scripts are batch files of instructions that run when the user restarts the system or shuts it down. By default, the system does not display the instructions in the shutdown script. If you enable this policy setting, the system displays each instruction in the shutdown script as it runs. The instructions appear in a command window. If you disable or do not configure this policy setting, the instructions are suppressed.
d9e28637a90c Run_Shutdown_Script_Visible Registry
Copy registry mappings
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\HideShutdownScripts (enabled) = 0
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\HideShutdownScripts (disabled) = 1 Policy notes
This policy setting displays the instructions in shutdown scripts as they run. Shutdown scripts are batch files of instructions that run when the user restarts the system or shuts it down. By default, the system does not display the instructions in the shutdown script. If you enable this policy setting, the system displays each instruction in the shutdown script as it runs. The instructions appear in a command window. If you disable or do not configure this policy setting, the instructions are suppressed.