Policy
Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands
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 prevents users from performing the following commands from the Start menu or Windows Security screen: Shut Down, Restart, Sleep, and Hibernate. This policy setting does not prevent users from running Windows-based programs that perform these functions. If you enable this policy setting, the Power button and the Shut Down, Restart, Sleep, and Hibernate commands are removed from the Start menu. The Power button is also removed from the Windows Security screen, which appears when you press CTRL+ALT+DELETE. If you disable or do not configure this policy setting, the Power button and the Shut Down, Restart, Sleep, and Hibernate commands are available on the Start menu. The Power button on the Windows Security screen is also available. Note: Third-party programs certified as compatible with Microsoft Windows Vista, Windows XP SP2, Windows XP SP1, Windows XP, or Windows 2000 Professional are required to support this policy setting.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoClose | REG_DWORD | 1 | 0 |
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.
- UserAdd "Run in Separate Memory Space" check box to Run dialog boxAt least Windows 2000
- UserAdd Logoff to the Start MenuWindows Server 2008, Windows Server 2003, Windows Vista, Windows XP, and Windows 2000
- UserAdd Search Internet link to Start MenuWindows Server 2008 R2 and Windows 7
- UserAdd the Run command to the Start MenuWindows Server 2008, Windows 7, and Windows Vista
- UserChange Start Menu power buttonWindows Server 2008 R2 and Windows 7
- UserClear history of recently opened documents on exitAt least Windows 2000
- UserClear the recent programs list for new usersWindows Server 2008, Windows 7, Windows Vista, and Windows 10
- UserClear tile notifications during log onAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Start PinsAt least Windows 11 Version 24H2
- UserConfigure Start PinsAt least Windows 11 Version 24H2
- UserConfigure Taskbar Small Button BehaviorAt least Windows 11 Pro, Enterprise, or Education with Windows Sandbox
- ComputerConfigure Taskbar Small Button BehaviorAt least Windows 11 Pro, Enterprise, or Education with Windows Sandbox