Policy
Display instructions in shutdown scripts as they run
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
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 values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\HideShutdownScripts | REG_DWORD | 0 | 1 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow logon scripts when NetBIOS or WINS is disabledAt least Windows Vista
- UserDisplay instructions in logoff scripts as they runAt least Windows 2000
- UserDisplay instructions in logon scripts as they runAt least Windows 2000
- ComputerDisplay instructions in startup scripts as they runAt least Windows 2000
- UserRun legacy logon scripts hiddenAt least Windows 2000
- ComputerRun logon scripts synchronouslyAt least Windows 2000
- UserRun logon scripts synchronouslyAt least Windows 2000
- ComputerRun startup scripts asynchronouslyAt least Windows 2000
- ComputerRun Windows PowerShell scripts first at computer startup, shutdownAt least Windows Server 2008 R2 or Windows 7
- ComputerRun Windows PowerShell scripts first at user logon, logoffAt least Windows Server 2008 R2 or Windows 7
- UserRun Windows PowerShell scripts first at user logon, logoffAt least Windows Server 2008 R2 or Windows 7
- ComputerSpecify maximum wait time for Group Policy scriptsAt least Windows 2000