the latest Virtio drivers for Windows<\/a>.<\/p>\n\n\n\nAfter downloading the ISO file on your server, with Windows Server 2008 you will need to have a program like 7zip to unpack it. On Server 2012 you can simply mount the file as a disk.<\/p>\n\n\n\n
With the files available, open the Device Manager<\/tt> simply by searching for it by name in the start menu and pressing enter. Browse down to Network adapters<\/tt>, select each adapter one by one and run the Update Driver Software<\/tt>. In the update wizard, select Browse my computer for driver software<\/tt>, enter the driver\u00a0location into the search field and press next. Note to keep the Include subfolders<\/tt> selected.<\/p>\n\n\n\n
If you were connected through Remote Desktop while updating the network drivers, you\u2019ll probably get disconnected for a moment. The client should be able to restore the connection automatically after the drivers have been installed successfully.<\/p>\n\n\n\n
Port conflict<\/h3>\n\n\n\n
In some cases, it is possible that another application unintentionally uses the same port as Remote Desktop. This can cause connection issues or prevent Remote Desktop from connecting.<\/p>\n\n\n\n
Check the ports used by programs. Enter the command below on Command Prompt.<\/p>\n\n\n\n
netstat -a -o<\/pre>\n\n\n\nNetstat will print out a list of IP addresses and port numbers they use. Look for rows with your Remote Desktop port number (3389 by default) and check the program ID (PID) at the end of these lines. One PID will belong to the RDP service. If you see another PID that uses the same port, these will conflict with one another.<\/p>\n\n\n\n
To find out which programs the PIDs belong to, use the following on Command Prompt.<\/p>\n\n\n\n
tasklist \/svc<\/pre>\n\n\n\nRemote Desktop is listed as svchost.exe TermService<\/tt>, any other PID that uses the same port number causes issues.<\/p>\n\n\n\nChange RDP port number<\/h3>\n\n\n\n
If there is a port conflict, you can resolve it by changing the port used by one of the applications. Microsoft recommends to ideally change the port used by any other applications. If this is not possible, the port number Remote Desktop listens to can be changed with a couple of steps.<\/p>\n\n\n\n
Change the port number because it can also help to reduce intrusion attempts through obfuscation. This should not be your only method of security.<\/p>\n\n\n\n
To change the port number, you\u2019ll first need to choose a free port not used by anything else on your server. Check the ports currently in use with netstat -a -o<\/tt> as described previously. The new port number can be anything from 1024 through 49151.<\/p>\n\n\n\n
Add the port number you\u2019ve selected to the Windows Firewall Inbound<\/tt> rules by creating a new rule. In the New Inbound Rule Wizard<\/tt>, select the following<\/p>\n\n\n\n\n- Rule Type: Port<\/li>\n\n\n\n
- Protocol and Ports: TCP, Specific local ports, <port number><\/li>\n\n\n\n
- Action: Allow the connection<\/li>\n\n\n\n
- Profile: all options ticked<\/li>\n\n\n\n
- Name: Remote Desktop \u2013 TCP <port number><\/li>\n<\/ul>\n\n\n\n
In the steps above the <port number> is the new port you wish RDP to listen to. Make sure your new firewall rule is set up correctly. Once you change the RDP port you\u2019ll need it to work to be able to connect again.<\/p>\n\n\n\n
The port number for Remote Desktop was not designed to be changed, and the only way to do so is through editing the registry. We highly recommend that you make a backup of your server before making any changes.<\/p>\n\n\n\n
Open the editor by searching for regedit<\/tt> in the start menu and pressing enter.<\/p>\n\n\n\n
Locate the following key in the registry file system.<\/p>\n\n\n\n
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal SErverWinStationsRDP-TcpPortNumber<\/pre>\n\n\n\nOpen the PortNumber<\/tt> registry key for editing, change the display to Decimal<\/tt>, enter your new port number and click OK<\/tt> to save the changes.<\/p>\n\n\n\n
For the changes to get applied, you will need to restart the RDP service. Open Services<\/tt> again by searching for it in the start menu and pressing enter to run the program.<\/p>\n\n\n\n
In the Services (Local)<\/tt> list, scroll down to find Remote Desktop Service<\/tt>, and restart it. A confirmation popup asks to restart other related services as well, click Yes<\/tt> to continue.<\/p>\n\n\n\n
You will get disconnected if you were using RDP to make these changes. Afterwards, just reconnect to your new port by defining it in the Computer field on the RDP connection.<\/p>\n\n\n\n
windows.server.example.com:34567<\/pre>\n\n\n\nWith the new port, you should get uninterrupted reliable remote access.<\/p>\n\n\n\n
Getting help<\/h2>\n\n\n\n
If you run into deeper trouble or need help with something else, don\u2019t hesitate to ask. When you contact UpCloud Support, try to explain the problem to the best of your ability. Include any steps you\u2019ve already taken together with their results when you troubleshoot the issue. It will help our support team to solve your problem.<\/p>\n","protected":false},"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","community-category":[119,123],"class_list":["post-24479","tutorial","type-tutorial","status-publish","hentry","community-category-windows","community-category-troubleshooting"],"acf":[],"_links":{"self":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/tutorial\/24479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/types\/tutorial"}],"replies":[{"embeddable":true,"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/comments?post=24479"}],"wp:attachment":[{"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/media?parent=24479"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/studiogo.tech\/upcloudold\/wp-json\/wp\/v2\/community-category?post=24479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}