Remove “Disconnect” option from Shut Down dialog

This policy setting allows you to remove the “Disconnect” option from the Shut Down Windows dialog box in Remote Desktop Services sessions. You can use this policy setting to prevent users from using this familiar method to disconnect their client from an RD Session Host server. If you enable this policy setting “Disconnect” does not appear as an option in the drop-down list in the Shut Down Windows dialog box. If you disable or do not configure this policy setting “Disconnect” is not removed from the list in the Shut Down Windows dialog box. Note: This policy setting affects only the Shut Down Windows dialog box. It does not prevent users from using other methods to disconnect from a Remote Desktop Services session. This policy setting also does not prevent disconnected sessions at the server. You can control how long a disconnected session remains active on the server by configuring the “Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> RD Session Host -> Session Time Limits -> Set time limit for disconnected sessions” policy setting.

Additional Information

  1. Registry path is:

    HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer # NoDisconnect

  2. The Administrative Template path is:

    Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment


* Making mistakes while changing registry values can affect your system adversely. We recommend you to create a System Restore point before making registry manipulation. If you're new to Registry Editor, read this beginner's guide.
** To locate the registry and administrative template path, checkout beginner's guide.
You're here :
Checkout Kapil Sparks™