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.

Policy
PackMicrosoft Windows
CategorySystem / Scripts
Policy IDd9e28637a90c
Internal nameRun_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.

Related policies