How to Enable Remote Desktop from a Remote Machine

The following procedures assume that you have administrator rights on the target machine.
- Run Regedit
- Select File Connect Network Registry
- Enter the name of the remote computer and click OK
- At the bottom of the registry tree you will see two hives appear for the remote machine: HKEY_LOCAL_MACHINE and HKEY_USERS
- Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
- Double-click fDenyTSConnections in the right-hand pane and change the value from 1 to 0
wmic /node:TargetComputer PATH Win32_TerminalServiceSetting WHERE AllowTSConnections=0 CALL SetAllowTSConnections 1The command above is not case sensitive, by the way.
Note that neither of these methods require a restart of the remote machine, however I have seen it sometimes take a minute to take affect. Remember, patience is a virtue. :)
Labels: RDP, Registry, scripts, Terminal Services, tip, troubleshooting, Windows



1 Comments:
This is great information to have. I have used it many times to get back into a server.
Thanks!
Post a Comment
Thank you for posting a comment! It is my hope that you find the information here useful. Let me know (and others) if this post helped you out or if you have a comment or further information.
Links to this post:
Create a Link
<< Home