Ask the Expert

Disabling 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?

    Requires Free Membership to View

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 first published in July 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: