Open the Windows Registry (regedit), go to HKLMSYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp and locate the key WebSocketURI. Next, set the value to. Setting up the RD Session Host. In my case, the target is a VM on a Windows 10 Hyper-V host. RDP works perfectly fine on the initial connection, but if the RDP session is disconnected, trying to reconnect shows either a black screen, a white screen, or a frozen 'logging on' screen. The target VM becomes completely unresponsive.
Setting up a remote desktop allows you to access your computer wherever you are and control it as if you were directly in front of the keyboard. By using the built-in Remote Desktop Connection app in Windows 10, you can troubleshoot issues, access files, and so much more. Here’s how to set up a remote desktop in Windows 10 and how to remotely access another computer over the internet.
How to Set Up Remote Desktop Windows 10
To set up a remote desktop in Windows 10, go to Settings > System > Remote Desktop. Then turn on the slider for Enable Remote Desktop. Next, search Settings for Allow an app through Windows firewall and enable the Remote Desktop app for Private and Public.
Note: You can only run the Remote Desktop Connection app if you are using Windows 10 Professional or Enterprise. If you are using Windows 10 Home edition, check out our guide on how to use Quick Assist to remotely control a computer.
- Click the Windows Start button. This is the button with the Windows logo in the bottom-left corner of your screen. Do this from the host computer (or the computer you will be trying to access remotely).
- Then click Settings. This is the gear-shaped icon just above the power button.
- Next, click System.
- Then click Remote Desktop in the left sidebar. You can find this by scrolling down. It is the icon that looks like greater than and less than signs pointing at each other.
- Next, click the slider next to Enable Remote Desktop. This will cause a new window to pop up.
- Then click Confirm. A pop-up box appears asking you if you would like to enable remote desktop. It also reminds you that doing so will allow you and other users in your User accounts to connect to the PC remotely. Then you will need to change your firewall settings in order to access another computer over the internet.
- Next, type firewall into the search bar of the Settings window. You can do this by clicking the search box that says Find a setting at the top of the left sidebar. Once you type firewall, you will see search results populated under the search bar.
- Then choose Allow an app through Windows firewall. If you don’t see this option, click Show All, and then select it from the list.
- Then click Change settings. Initially, the apps and the checkboxes beside them will be grey or disabled. Once you click Change settings, they will turn black and become enabled.
- Tick the Private and Publiccheckboxes to the right of Remote Desktop. Make sure both that the boxes under the Private and Public columns are checked.
- Finally, click OK.
Once you enable your remote desktop and allow the app to communicate through your firewall, you can access that computer over the internet. Here’s how:
How to Remotely Access Another Computer Over the Internet
There are two ways you can remotely access another computer over the internet – depending on whether you’re on the same network or not. If you are accessing another computer within the same network, you just need to know the PC name. If otherwise, you need to know your public IP and set up port forwarding.
How to Remotely Access Another Computer Over the Internet Within Your Network
To remotely access another computer within your network over the internet, open the Remote Desktop Connection app and enter that computer’s name, and your username and password.
- Click the magnifying glass icon in the bottom-left corner of your screen. Do this from the computer you want to access over the internet.
- Then type About into the search bar and click Open.
- Next, copy your computer’s name. You can find this next to Device name. You can either write this name down, or copy and paste it into a text document, an email, or any other method that you want.
Note: If this name is too complicated, you can click the Rename this PC button below. This lets you choose your own name for your PC.
- Then open the Windows search bar and type remote desktop connection. This is the magnifying glass icon in the bottom-left corner of your screen.Do this from the client computer or the computer that you will use to establish the remote connection.
- Next, click Open.
- Then click Show Options. You can see this in the bottom-left corner of the window.
- Next, enter the computer’s name. This is the name that you copied down in the previous steps.
- Also, enter the username. If this information is filled in already, make sure it is correct. You can find your username by going to Settings > Accounts. Then you will see your username under your profile image.
- Then click Connect.
Note: You can also change additional settings by clicking the Display, Local Resources, Experience, and Advanced tabs.
- Next, enter your computer’s password and click OK. This is the password that you use to sign in to the computer when you are on the lock screen.
Note: You might encounter a prompt asking you if you want to connect even if the identity of the remote computer cannot be identified. Just click on Yes.
- Finally, wait for the remote connection to be configured. After the step above, you will see a green progress bar. Wait for it to complete. Briefly, you will see a black window which turns to blue. Once the remote connection is successfully established, you will see a view of the computer you’re trying to access.
How to Remotely Access Another Computer Outside Your Network
- Open a web browser. Do this from the host computer or the computer you will be trying to access remotely.
- Then type what is my IP into the address bar.
- Next, copy the public IP address listed. Your public IP address will be a series of numbers separated by periods.
Note: Do not share your public IP address with anyone you don’t trust. They can use this information to hack your computer and steal your personal information, such as bank details.
- Then open TCP port 3389 on your router. If you don’t know how to do this, check out our step-by-step guide on how to port forward.
Note: You should also set a static IP address for the computer you are trying to access. If you want to know how to set a static IP address for your Windows 10 PC, check out our step-by-step guide here.
- Next, open the Remote Desktop Connection app. Do this from the client computer (or the one you will use to remotely control the host computer).
- Enter your public IP address in the Computer field. This will be the public IP address you copied down earlier.
- Then click Connect.
- Enter your credentials. On the Windows Security page, type in the username and password of your remote server.
- Click OK.
Note: You might encounter a prompt asking you if you want to connect even if the identity of the remote computer cannot be identified. Just click on Yes.
- Finally, wait for the remote connection to be configured. After the step above, you will see a green progress bar. Wait for it to complete. Briefly, you will see a black window which turns to blue. Once the remote connection is successfully established, you will see a view of the computer you’re trying to access.
If you’re looking for a less complicated way of accessing your computer remotely, check out our article on how to remotely control a Windows 10 or Mac computer.
Was this article helpful?
Related Articles
Have you ever been in a situation where you needed to perform remote administration on a Windows Server, and the RDP port 3389 is blocked on a firewall? Did you know you can tunnel RDP over SSH with PuTTY? This particularly comes in handy when there is no VPN available to the remote network… Here is how to set up a RDP SSH tunnel with PuTTY.
Proxy connections with SSH
SSH can proxy connections both forward and backwards. It creates a secure connection between a local computer and a remote machine through which services can be relayed. Because the connection is encrypted, SSH tunneling is useful for transmitting information that uses an unencrypted protocol, such as IMAP, VNC, or IRC. And RDP 🙂
SSH can proxy connections both forward and backwards, by opening a port on either the local machine running the SSH client, or the remote SSH server. If you have privileges to do so of course.
For example, if you want to connect to a remote host on RDP port 3389, but you don’t have direct access to reach that machine because of firewall or network restrictions, the SSH client can listen on a local port and pretend that it is the remote machine. All connections to that port will be sent through the SSH server to the remote host.

Tunnel Remote Desktop Protocol (#RDP) through #ssh with PuTTYCLICK TO TWEET
Reconfigure PuTTY for Remote Desktop Protocol (RDP) tunneling through ssh
To tunnel Remote Desktop Protocol over ssh using PuTTY, all you need is an account on the premises. For example a firewall or Linux server with ssh access, and PuTTY on your Windows desktop. PuTTY is a nifty ssh client for Windows that you can download here.
Once you are connected to your remote network with ssh/PuTTY, you need to reconfigure the connection to support SSH-tunneling. In the PuTTY Reconfiguration screen, go to Connection → SSH → Tunnels. This is where we can set up an SSH tunnel for Remote Desktop.
Under Source port, add your local IP address and port. Because the RDP 6+ client in Windows has issues with the loopback to TCP Port 3390, you need to use a different port. I use TCP port 3388 on IP address 127.0.0.2, and my remote internal IP address and RDP port 3389 as Destination (192.168.48.211:3389). See the image:
After clicking Apply, the SSH-tunnel for remote desktop is active, and you can connect the Remote Desktop Connection to 127.0.0.2:3388:
Rdp Over Https Windows 10 Pro
For Windows, PuTTY is the de-facto standard SSH client.
How to tunnel Windows Remote Desktop through ssh on Linux
Windows 10 Rdp Security
On a side note, when you are in a situation where you are on a Linux work station and need to tunnel RDP through ssh in Linux, you can use the following ssh port forwarding, or tunnel (assuming you have an on-premise Linux server to SSH into to set up the port forward):
Rdp Over Https
ssh port forwarding / tunnel set-up for RDP
Now you can connect your RDP client to 127.0.0.1:13389
as if it were the remote server.
