Q

How do I disable the shutdown option in Terminal Server?

We are running Terminal Server in application mode.  Sometimes my IT manager logs into Terminal Server from his...

local machine, and he always uses the administrator account.  When he is done with his session, he always shuts the server down instead of simply logging off.  This causes Terminal Server to shut down, and no one can do anything until the next day when I must turn the machine back on.  Is there any way I can disable the shutdown option, so my manager can not shut down the server when he tries to close a session?  Can I make it show only the logoff option?


There is no per-computer policy to remove this setting, but you can remove the shutdown button for his account by editing the group policy to disable and remove the shutdown button. This won't prevent him from shutting down the server entirely -- "tsshutdn" will still work -- but it will prevent him from accidentally doing so. (You can also control this setting by using configuration tools like triCerat's RegSet or editing the registry directly -- this setting is in HKCUSoftwareMicrosoftWindowsCurrent VersionPoliciesExplorer. Set NoClose's value to 1.)

This was last published in July 2003

Dig Deeper on Terminal Services and Remote Desktop Services

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Run gpedit.msc on the server itself and remove shutdown through local group policy
Cancel

-ADS BY GOOGLE

SearchEnterpriseDesktop

SearchServerVirtualization

SearchCloudComputing

SearchConsumerization

SearchVMware

Close