You get a bonus - 1 coin for daily activity. Now you have 1 coin

Windows: how to enable RDP (Remote Desktop) on a remote machine (via the registry)

Practice



It's not uncommon to need to connect to a remote workstation, only to find RDP is turned off on it (this is the default on all Windows machines, even on servers for some reason - remote desktop is disabled and you simply can't get in via RDP just like that).

So what do you do? Explain to the user where to click to enable remote desktop access? What if they don't have sufficient rights? Go there in person? No thanks!


1) So, we'll need the remote registry, so let's open regedit:

Start -> Run -> regedit


2) Click "File" -> "Connect Network Registry".


3) Enter the address of the desired computer in the format "\\192.168.0.1", where instead of 192.168.0.1 you substitute the desired IP address or computer name.


4) After connecting the remote registry, we'll see its branch below our local one. Open it and navigate to the path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server


5) Find the "FdenyTSConnections" key and set its value to "0".


And that's it. You can now connect.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming