Windows Group Policy's
Group Policy Remove And Prevent Access To The ShutDown Restart Sleep And Hibernate Commands
Windows Group Policy Name :- Group Policy - Remove and prevent access to the Shut Down, Restart, Sleep., and Hibernate commands
Requirements :-
- At least Windows Server 2016, Windows 10
Description :-
This policy setting prevents users from performing the following commands from the Windows security screen, the logon screen, and the Start menu: 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 shutdown, 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, and from the logon screen.
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 and logon screens is also available.
Note :-
Main Directory :-
Sub Directory :-
Administrative Templates/
Policy Path :-
Local Computer Policy -> Computer Configuration -> Administrative Templates -> Star Menu and Taskbar
Policy Path :-
Policy Path :-
Note :-
After changing group policy options, you need to update group policy. If you do not update group policy then settings will not effect. To update it just simply type below command and also sample image is shown.
Command :-
In about command we used "/force" option, this will help up to update policy options forcefully.