Display instructions in shutdown scripts as they run

Policy ID
Run_Shutdown_Script_Visible
Scope
Computer Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Scripts

Description

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.

Registry

ComputerHKEY_LOCAL_MACHINE
  • HideShutdownScriptsREG_DWORD

Other policies in the same category

View all policies in this category (8)