Remote Desktop Protocol (RDP) is how you use a Windows Server as if you were sitting in front of it. This guide covers connecting from any device, securing RDP so it is not an easy target, and fixing the errors people hit most often.
What you need
- The server’s IP address, the username (normally
Administrator) and the password. They are in your welcome email and in the client area under My Services. - An RDP client — built into Windows, free for macOS, iOS and Android.
Connect from Windows
- Press Win + R, type
mstscand press Enter. - In Computer, enter the server IP (add
:portif you changed the port, e.g.203.0.113.10:3390). - Click Connect, enter
Administratorand the password. - Accept the certificate warning the first time — the server uses a self-signed certificate.
Tip: under Show Options → Local Resources you can share your clipboard and local drives, which makes copying files to the server easy.
Connect from macOS
Install Windows App (formerly Microsoft Remote Desktop) from the Mac App Store, click + → Add PC, enter the IP and save. Double-click the PC and enter the username and password.
Connect from iPhone, iPad or Android
Install Windows App (iOS) or Remote Desktop (Android) from the app store, add a PC with the server IP, and connect. A Bluetooth keyboard makes longer sessions much easier.
Secure RDP — do this on day one
Internet-facing RDP on port 3389 is scanned constantly. Take these steps right after your first login.
1. Change the Administrator password
Press Ctrl + Alt + End (the RDP equivalent of Ctrl + Alt + Del) and choose Change a password. Use at least 16 random characters.
2. Create your own admin account
Open PowerShell as administrator:
$pw = Read-Host -AsSecureString "Password"
New-LocalUser -Name "opsadmin" -Password $pw
Add-LocalGroupMember -Group "Administrators" -Member "opsadmin"
Log in once with the new account. You can then disable the built-in one: Disable-LocalUser -Name "Administrator".
3. Lock out repeated failures
Run secpol.msc → Account Policies → Account Lockout Policy, and set the threshold to 5 attempts and the duration to 15 minutes. This makes password guessing impractical.
4. Restrict RDP to your IP
If your IP is fixed, allow RDP only from it:
Set-NetFirewallRule -DisplayGroup "Remote Desktop" -RemoteAddress 203.0.113.10
Replace the IP with your own. If your IP changes, use a VPN (for example WireGuard on the server) and allow RDP only over the VPN.
5. Optional: change the RDP port
This does not replace the steps above, but it removes most automated noise:
$port = 3390
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name PortNumber -Value $port
New-NetFirewallRule -DisplayName "RDP $port" -Direction Inbound -Protocol TCP -LocalPort $port -Action Allow
Restart-Service TermService -Force
Reconnect with IP:3390. Create the firewall rule before restarting the service, as above, or you will lock yourself out.
Fixing common errors
| Error | Likely cause and fix |
|---|---|
| “Remote Desktop can’t connect to the remote computer” | Wrong IP or port, server still booting, or the firewall blocks your IP. Wait a few minutes and check the port. |
| “The credentials did not work” | Username must be Administrator (or your new user), not your email. Check keyboard layout and Caps Lock. |
| “An authentication error has occurred (CredSSP)” | Your client or server is missing updates. Install Windows Updates on both sides. |
| Account locked out | Wait for the lockout duration to expire, or log in via the VNC console. |
| Session is slow from China | Choose a CN2 route, lower the display colour depth to 16-bit and turn off wallpaper under Experience. |
If RDP is completely unreachable — for example after a firewall mistake — open the VNC console in the server control panel. It gives you keyboard and screen access that does not depend on networking inside Windows.
About licensing
RDP for administration allows two simultaneous sessions without extra licences. Hosting desktops for many users requires Remote Desktop Services CALs from Microsoft. On Server.HK US VPS, Windows Server 2022 and 2019 images are 180-day evaluation editions; activate them with your own licence key for long-term use.