How to prevent users from shutting down in a Virtual Machine

The following steps below are ways to prevent users from shutting down virtual machines.

Launch group policy editor and navigate to the following path.

  • Local Computer Registry
  • Computer Configuration
  • Administrative Templates
  • Start Menu and Taskbar

Search for “Remove and Prevent access to shutdown, restart, Sleep and Hibernate command.

The result would be as shown below when you click on the power button to initiate a shutdown.

To take effect immediately, ensure to enter gpupdate /force from the commandline interface (CMD)

2 thoughts on “How to prevent users from shutting down in a Virtual Machine

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s