Many user use the power option to Shut Down, Restart, Hibernate and Sleep. Usually we take remote to physical machine or virtual machine & shutdown the system. It very difficult to start the physical machine because it required to do physically.
Admin can restrict user to use power menu option to avoid shutdown. There are different ways to disable the power option, so that user can not do it self to Shut Down, Restart, Hibernate and Sleep in Windows 10. If we disable the power menu option available in Windows. It reduces the workload of Admins.
This will not affect the Alt+F4 Windows dialog & CMD command to Shut Down, and will not prevent users from using other methods to sleep, hibernate, shut down, or restart.
After applying the policy. Use can't see the option to Shut Down, Restart, Hibernate and Sleep as below screenshot.
Perform any below method to Enable or Disable Power option. You can apply any one of then to restrict. I as System Admin preferer method 2 to use to restrict all user to use Power option.
Method 1.
Enable or Disable Shut Down, Restart, Sleep, and Hibernate in Power Menu for All Users in Local Group Policy Editor
1.1 Edit group policy Go to Run(Win+R) type gpedit.msc
1.2 Go to Computer Configuration>> Administrative Templates>> Start Menu and Taskbar.
Remove and prevent access to shutdown, Restart, Sleep and hibernate commands- change to enable for restrict.
1.3 change not configured or disable - To show option
Enable- To disable option
Method 2
Enable or Disable Shut Down, Restart, Sleep, and Hibernate in Power Menu for All Users using a REG file
2.1 open registry Editor as admin- Go to Run(Win+R) type regedit
2.2 By default no entry will be found. you need to create Go to path
[Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"HidePowerOptions"=_
1 -To Disable option
0- To Enable option
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
User can use above 2 method to restrict but user below command to Shut Down, Restart, Hibernate and Sleep in Windows 10
Method 1
ALT+F4
Method 2
Go CMD type below command as per requirement
To shut down system Shutdown -s
To Restart system immediately Shutdown -r -t 1
To Abort a system shutdown Shutdown -a







