How to temporarily disable Terminal Server Client Logons
This article describes how to temporarily disable Terminal Server Client Logons.
Applies to: Windows Server 2012 R2
Original KB number: 186627
If you need to disable connectivity to the Terminal Server, you have several options. Disabling connectivity for Terminal Server Clients is different from disabling normal user connectivity. For non-client connectivity, you can pause or stop the Net Logon or Server services in Control Panel/Services. However, the Terminal Server service can't be paused, stopped, or disabled.
Disable Client connectivity
To disable Client connectivity, you can:
Stop connectivity to the Terminal Server at the command prompt with the Command, "Change Logon /Disable." You can re-enable connectivity with "Change Logon /Enable."
Stop connectivity to a specific socket connection in Terminal Server Connection Configuration under Connection/Disable. It's the same action as opening the connection and selecting Logon/Disabled under the Advanced Configuration.
Stop connectivity for a user or group to a specific socket connection in Terminal Server Connection Configuration under Security/Permissions.
Stop connectivity for a specific user in User Manager by opening the user account and selecting CONFIG. Here you can uncheck the box, Allow Logon to Terminal Server. If you modify the user's domain account, the user can't connect to the domain from ANY Terminal Server. The other options are specific to the Terminal Server on which they're set.