• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

Disable shutdown but allow restart

I want to disable shut down, but want the ability for the users to RESTART or logoff.  I have tried the following:

Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assignments
Shut down the system - remove Users group from this list. . .

This does the samething as the following under administrative template:

"remove and prevent access to the shut down command"

So using either of those I am only able to logoff.  Any other suggestions?



0
ohmErnie
Asked:
ohmErnie
1 Solution
 
zephyr_hex (Megan)DeveloperCommented:
have the policy set you can only log off.
then add an icon to the start menu which runs a command for restart.
here is an outline of the steps for doing this for a true shutdown: http://www.liewcf.com/blog/archives/2005/06/shutdown-shortcut-one-click-turn-off-computer/
change the command to shutdown -r for a restart.  default counter is 30 seconds.  you can change it using -t option.
be aware that users might accidentally initiate a restart by clicking on that icon.  i recommend creating an abort restart icon so that they can quickly abort an accidental restart.  use shutdown -a as the command to abort a restart.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now