
This setting removes the Shut Down option from the Start menu and disables the Shut Down button on the Windows Security dialog box, which appears when you press CTRL+ALT+DEL. This setting prevents users from using the Windows user interface to shut down the system, although it does not prevent them from running programs that shut down Windows. If you disable this setting or do not configure it, the Shut Down menu option appears, and the Shut Down button is enabled.


1. Type gpedit.msc in run command.
2. Group Policy will pop up. Choose User Configuration > Administrative Templates > Start Menu & Taskbar from the left panel.
3. Double click on Remove and prevent access to the Shut Down command. Choose Enabled. Click Apply and OK! This option will prevents users from shutting down or restarting Windows.

Note:
Group Policy changes are not immediately enforced. Group Policy background processing can take up to 5 minutes to be refreshed on domain controllers, and up to 90 minutes to be refreshed on server or client computers. To refresh Group Policy immediately, use the gpupdate command-line tool.

