How to connect to a Windows VPS with RDP
Windows Server is managed through Remote Desktop: you see the server's desktop in a window and use it like a PC in the next room. This guide gets you connected from a Windows PC, a Mac, an Android phone or an iPhone, then closes the gaps bots look for on port 3389.
Before you start
- A VPS running Windows Server 2022 or 2025. The licence is ₹700/mo on any plan from VC-2; see Windows VPS plans.
- Your client area login. Its Console button is your way back in if an RDP or firewall change goes wrong.
- Your own public IP address for Step 4. Our what's my IP tool shows it.
Administrator, port 3389Step 1: Find the IP address and Administrator password
Open the client area and go to Servicesyour VPS. The IPv4 address and the Administrator password appear there as soon as the server is ready, usually within 15 minutes of payment, and in your welcome email. Copy the password rather than typing it: it's long and random on purpose.
We never ask for this password. Our staff won't request it by email, chat or ticket. If something needs doing on your server, we'll agree how with you on the ticket.
Step 2: Connect from your computer or phone
Pick your device. Every app shows a certificate warning on the first connection, because a new server uses a self-signed certificate for RDP. That's expected: check the address is your VPS and accept it.
-
Open Remote Desktop Connection
Press Win + R, type
mstscand press Enter. It's built into every edition of Windows 10 and 11. -
Enter the IP and user name
Type the IP in Computer, click Show Options and enter
Administratoras the user name. Use Save As to keep a shortcut on your desktop.Computer203.0.113.42User nameAdministratorConnectSave As…Using a custom port from Step 5? Add it after a colon, such as 203.0.113.42:40189. -
Connect and accept the certificate
Click Connect, paste the password, and on the warning that the remote computer's identity can't be verified, tick Don't ask me again and click Yes.
-
Install the Windows App
Get Microsoft's free Windows App from the Mac App Store. It replaced the older Microsoft Remote Desktop app, which updates into it.
-
Add your VPS
Click + › Add PC, enter the IP as the PC name, then under Credentials add
Administratorand the password. Click Add. -
Double-click the PC to connect
Click Continue on the certificate prompt. Cmd + C and Cmd + V copy and paste between the Mac and the server.
On Linux, install Remmina from your distribution's software centre, choose the RDP protocol, and enter the IP, Administrator and the password.
-
Install the Windows App
Install Microsoft's Windows App from Google Play; it replaces the older Remote Desktop app.
-
Add the PC
Tap + › Add PC, enter the IP, add a user account with
Administratorand the password, and save. -
Tap the tile to connect
Accept the certificate. Use the toolbar at the top to show the keyboard or switch between touch and mouse-pointer mode, which is easier for small buttons.
-
Install the Windows App
Get Windows App from the App Store on your iPhone or iPad.
-
Add the PC
Tap + › Add PC, enter the IP, add
Administratorand the password under User Account, and tap Save. -
Tap the PC to connect
Accept the certificate. On an iPad, a Bluetooth keyboard and mouse make a full working session comfortable.
Step 3: Change the Administrator password
The first password has been in an email, so replace it now. On Windows, press Ctrl + Alt + End inside the session (the remote version of Ctrl + Alt + Del) and choose Change a password. From any device, you can instead open PowerShell on the server and run:
net user Administrator * # type the new password twice; nothing shows as you type
Use at least 16 characters and keep it in a password manager. Every RDP scanner tries Administrator first, so it's also worth creating your own administrator account and signing in with that:
net user yourname * /add
net localgroup Administrators yourname /add
Step 4: Lock down Remote Desktop
-
Check Network Level Authentication is on
NLA makes every visitor sign in before Windows starts a session, which blocks a whole class of attacks and stops scanners using up memory. Run
SystemPropertiesRemoteand confirm Allow connections only from computers running Remote Desktop with Network Level Authentication is ticked. Or check in PowerShell, where1means on:$rdp = Get-CimInstance -Namespace root\cimv2\terminalservices ` -ClassName Win32_TSGeneralSetting -Filter "TerminalName='RDP-tcp'" $rdp.UserAuthenticationRequired -
Allow RDP only from your IP addresses
This one change stops almost every brute-force attempt. In PowerShell as administrator, limit the built-in Remote Desktop rules to the addresses you connect from (your office, your home):
Set-NetFirewallRule -DisplayGroup "Remote Desktop" ` -RemoteAddress 198.51.100.7, 203.0.113.0/24 Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Get-NetFirewallAddressFilterIn the window instead: run
wf.msc, open Inbound Rules, and on each Remote Desktop - User Mode rule set PropertiesScopeRemote IP address to These IP addresses.Home broadband IPs change. Most Indian ISPs give home connections an address that changes when the router restarts. If you're locked out, open Console in the client area and add your new IP, or allow your ISP's range instead of a single address.
-
Lock accounts after repeated wrong passwords
This locks an account for 15 minutes after 10 failed attempts, which makes password guessing useless:
net accounts /lockoutthreshold:10 /lockoutduration:15 /lockoutwindow:15 -
Keep Windows Update on
Open SettingsWindows Update, install everything offered and restart. Most RDP attacks use flaws that were patched long ago.
Step 5: Change the RDP port safely (optional)
Moving RDP off 3389 doesn't make it secure, but it cuts the constant noise from scanners in your logs. The order matters: open the new port before you move to it, so you can't lock yourself out. Pick a number between 1024 and 49151 that nothing else uses, then run this in PowerShell as administrator:
$port = 40189
# 1. Allow the new port first (add -RemoteAddress as in Step 4)
New-NetFirewallRule -DisplayName "RDP $port TCP" -Direction Inbound `
-Protocol TCP -LocalPort $port -Action Allow
New-NetFirewallRule -DisplayName "RDP $port UDP" -Direction Inbound `
-Protocol UDP -LocalPort $port -Action Allow
# 2. Listen on the new port, then restart (you'll be disconnected)
$key = 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp'
Set-ItemProperty -Path $key -Name PortNumber -Value $port
Restart-Service TermService -Force
Reconnect using 203.0.113.42:40189. Only once that works, close the old port:
Disable-NetFirewallRule -DisplayGroup "Remote Desktop"
If the new port doesn't answer, open Console in the client area, set PortNumber back to 3389 and restart the service again.
Copy files, disconnect and add users
- Copy and paste of text and files works by default. For whole folders, share a drive: in
mstsc, open Show OptionsLocal ResourcesMore and tick it; it appears under This PC on the server. In the Windows App, edit the PC and turn on folder redirection. - Closing the window disconnects but leaves your programs running, which is handy for long jobs. Sign out from the Start menu to end the session and free its memory.
- Two people at once is the limit for administration. Staff who work on the server every day need Remote Desktop Services licences, which our sales team can quote; plan on VC-4 or larger for several active users.
Windows VPS RDP troubleshooting
"Remote Desktop can't connect to the remote computer"
Check the VPS shows Running in the client area and open Console: if Windows is installing updates, wait for it to finish. Then confirm the IP and port, and that your current IP is inside the firewall scope from Step 4. Some office networks block outgoing port 3389; try from a mobile hotspot to rule that out.
"Your credentials did not work"
Enter the user as .\Administrator, which tells Windows it's a local account, and paste the password without a trailing space. If you've changed it and lost it, open a ticket from the client area; reinstalling also sets a new password but erases the disk.
"An authentication error has occurred" or a CredSSP message
Your computer and the server disagree about NLA's security updates, usually because one side is badly out of date. Install pending Windows updates on your computer, and on the server through the Console, then reconnect. Don't switch NLA off to get around it.
"The number of connections to this computer is limited"
Both administrative sessions are in use, often by a disconnected session left running. Sign in through the Console and end the old one:
quser # lists sessions and their IDs
logoff 2 # ends session 2
The session opens to a black screen
The first sign-in creates your profile and can take a minute. If it stays black, press Ctrl + Alt + End and open Task Manager, or disconnect and reconnect. In mstsc, unticking Persistent bitmap caching on the Experience tab often helps on slow links.
Was this guide helpful?Your answer stays in this browser; nothing is sent unless you write to us below.
Related guides
All 21 guidesStill can't connect? Ask an engineer.
Tickets and email are answered 24/7 in English and Hindi. Tell us the VPS IP, the app you're using and the exact error. We never need your password.