How to Connect to Your Windows VPS via RDP (Remote Desktop) | OS Installer

osinstaller.cloud Guides RDP Setup
Works on Windows, macOS, iOS, Android  ·  Updated May 2026

How to Connect to Your Windows VPS via RDP (Remote Desktop)

A complete guide to connecting via Remote Desktop Protocol (RDP) from every platform — Windows, macOS, iPhone, iPad, Android, and Linux. Includes settings, troubleshooting, and performance tips.

5 minutes
All skill levels
Port 3389 required open
How to Connect to Your Windows VPS via RDP Remote Desktop
🖥 RDP · Remote Desktop Protocol · Port 3389
3389
Default RDP port
5+
Platforms supported
Free
RDP client on all platforms
<1ms
Local LAN latency possible
TLS
Encrypted by default

00Before You Start — What You Need

Before connecting via RDP, make sure you have these three things ready. Without them, the connection will fail regardless of which platform or client you’re using.

ItemWhere to find it
VPS IP addressYour VPS provider dashboard (DigitalOcean, Hetzner, Vultr etc) — shown on the server detail page
Windows usernameUsually Administrator — the default admin account on all Windows Server versions
Windows passwordSet during OS installation — if you used OS Installer, it was configured automatically
Port 3389 openMust be open in your VPS provider’s firewall / security group, and in Windows Firewall
RDP enabledOS Installer enables RDP automatically. Manual installs: System Properties → Remote → Allow Remote Desktop connections
Just installed Windows with OS Installer?

RDP is already enabled and configured. Wait 5–10 minutes after installation completes for Windows to fully boot, then connect using your VPS IP, username Administrator, and the password you set during the install process.

01Connect from Windows

🪟
Remote Desktop Connection (mstsc)
Built into all editions of Windows 7, 8, 10, and 11 — no download needed
BUILT-IN

Windows has had a built-in RDP client since Windows XP. You don’t need to install anything — it’s already there.

  1. Press Win + R, type mstsc and press Enter
  2. In the Computer field, type your VPS IP address (e.g. 192.168.1.100)
  3. Click Show Options → enter your username (Administrator) to save it
  4. Click Connect
  5. Enter your Windows password when prompted and click OK
  6. If you see a certificate warning, click Yes to trust the VPS and connect
💡
Save your connection as an .RDP file

In mstsc, click Show Options → Save As to save your connection settings as an .rdp file on your desktop. Double-click it any time to connect instantly — no need to enter details again.

You can also connect directly from the Run dialog or Command Prompt:

Command Prompt / Run (Win+R)
# Open RDP directly to your VPS mstsc /v:YOUR_VPS_IP # Connect in full screen mstsc /v:YOUR_VPS_IP /f # Connect with specific resolution mstsc /v:YOUR_VPS_IP /w:1920 /h:1080

02Connect from macOS

🍎
Microsoft Remote Desktop
Free — Mac App Store · macOS 12 Monterey and later
FREE

Microsoft’s official RDP client for Mac is free, reliable, and updated regularly. It’s the only RDP client worth using on macOS.

  1. Open the Mac App Store and search for Microsoft Remote Desktop, or click here to open it directly
  2. Click Get to install (free)
  3. Open the app and click the + button → Add PC
  4. In the PC name field, enter your VPS IP address
  5. Under User account, click the dropdown → Add User Account
  6. Enter username Administrator and your Windows password → click Add
  7. Click Add to save the connection, then double-click it to connect
  8. If you see a certificate warning, click Continue to proceed
💡
macOS performance tip

In Microsoft Remote Desktop, right-click your saved connection → EditDisplay tab. Set resolution to Match Retina display and colour quality to High (32 bit) for the sharpest experience on a Retina Mac. For slower connections, reduce to Medium (16 bit) for better responsiveness.

03Connect from iPhone or iPad

📱
Microsoft Remote Desktop
Free — iOS App Store · iPhone and iPad · iOS 16+
FREE

The iOS version of Microsoft Remote Desktop gives you full access to your Windows VPS from an iPhone or iPad. Touch gestures simulate a mouse, and a virtual keyboard appears when you tap a text field.

  1. Open the App Store and install Microsoft Remote Desktop (free)
  2. Tap the + icon → Add PC
  3. Enter your VPS IP address in the PC Name field
  4. Tap User accountAdd User Account
  5. Enter Administrator and your Windows password → Save
  6. Tap your saved connection to connect
  7. Accept the certificate warning if prompted

Touch gestures: single tap = left click · tap and hold = right click · two-finger scroll = mouse scroll · pinch = zoom in/out

04Connect from Android

🤖
Microsoft Remote Desktop
Free — Google Play Store · Android 8.0+
FREE

Same Microsoft RDP client, Android edition. Works the same as the iOS version with touch-based mouse control.

  1. Install Microsoft Remote Desktop from the Google Play Store (free)
  2. Tap +Add PC
  3. Enter your VPS IP address
  4. Tap User accountAdd User Account → enter Administrator and your password
  5. Save and tap the connection to connect
  6. Accept the certificate if prompted

Touch gestures are the same as iOS: single tap = left click · hold = right click · two-finger swipe = scroll.

05Connect from Linux

🐧
Remmina or xfreerdp
Free & open source · Ubuntu, Debian, Fedora, Arch
FREE

Remmina is the best GUI RDP client for Linux — it’s installed by default on Ubuntu. xfreerdp is the command-line option for those who prefer the terminal.

  1. Install Remmina if not already present: sudo apt install remmina remmina-plugin-rdp
  2. Open Remmina from your applications menu
  3. Click the + icon to create a new connection
  4. Set Protocol to RDP – Remote Desktop Protocol
  5. Enter your VPS IP in the Server field
  6. Enter Administrator as the username and your Windows password
  7. Click Save and Connect

Prefer the command line? xfreerdp is fast and scriptable:

xfreerdp — Linux terminal
# Install xfreerdp (if not already installed) sudo apt install freerdp2-x11 # Basic connection xfreerdp /u:Administrator /p:YourPassword /v:YOUR_VPS_IP /port:3389 # Full screen + accept self-signed cert automatically xfreerdp /u:Administrator /p:YourPassword /v:YOUR_VPS_IP /f /cert-ignore # Specific resolution with clipboard sharing xfreerdp /u:Administrator /p:YourPassword /v:YOUR_VPS_IP /w:1920 /h:1080 /clipboard

06Optimal RDP Settings for Best Performance

RDP performance over the internet varies hugely depending on your distance from the VPS, your internet connection, and the client settings. These settings make a significant difference — especially on slower or high-latency connections.

SettingFor Slow / High-LatencyFor Fast Connection
Colour depth 16-bit (High Color) 32-bit (True Color)
Desktop background Disabled — saves bandwidth Enabled
Font smoothing (ClearType) Disabled Enabled
Desktop composition Disabled Enabled
Visual styles Disabled (classic theme) Enabled
Bitmap caching Always enabled Always enabled
Connection speed Set to Modem or Low Speed Broadband Set to LAN

Apply these in Windows mstsc:

Open mstsc → Show Options → Experience tab → select your connection speed from the dropdown. This automatically adjusts all visual settings. For manual control, uncheck individual options.

💡
Biggest performance wins for slow connections

Disabling desktop background and reducing to 16-bit colour cuts bandwidth by up to 60%. If your VPS feels sluggish over RDP, try these two changes first before anything else. Also make sure you’re connecting to the VPS region geographically closest to you — latency has a bigger impact on RDP feel than bandwidth.

07Troubleshooting RDP Connection Problems

❌ “Remote Desktop can’t connect to the remote computer”

The most common error — almost always one of these causes:

  • Wrong IP address — double-check the IP in your VPS dashboard. Copy-paste it rather than typing.
  • Port 3389 blocked — your VPS provider’s firewall is blocking RDP. Log into your provider dashboard and add an inbound rule allowing TCP port 3389 from any IP (or your IP only for better security).
  • RDP not enabled in Windows — if you installed Windows manually, RDP may not be enabled. Connect via VNC/console and enable it: Start → Settings → System → Remote Desktop → Enable.
  • Windows Firewall blocking port 3389 — inside Windows, run: netsh advfirewall firewall add rule name="RDP" protocol=TCP dir=in localport=3389 action=allow
  • Server still booting — if you just installed Windows, wait 10 minutes for the first boot to complete before attempting RDP.
Test if port 3389 is reachable (run on your local machine)
# Windows PowerShell — test if port 3389 is reachable Test-NetConnection -ComputerName YOUR_VPS_IP -Port 3389 # macOS / Linux nc -zv YOUR_VPS_IP 3389 # Port OPEN — good, RDP should work: TcpTestSucceeded : True # Port CLOSED — firewall blocking it: TcpTestSucceeded : False

❌ Black screen after connecting

Normal on first boot. Windows takes up to 5 minutes to complete its initial setup sequence. Disconnect and wait 2–5 minutes, then try again. If the black screen persists beyond 15 minutes, the TermService (Remote Desktop Services) may not be running — connect via your VPS provider’s VNC/console and check.

Check & restart RDP service (run inside Windows via VNC/console)
# Check RDP service status Get-Service TermService # Start if stopped Start-Service TermService # Check if RDP is enabled (should be 0 = enabled) Get-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server” -Name fDenyTSConnections # If fDenyTSConnections is 1, enable RDP: Set-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server” -Name fDenyTSConnections -Value 0

❌ “Your credentials did not work”

  • Make sure you’re using Administrator as the username — not your VPS provider login or any Linux username.
  • Check for caps lock — Windows passwords are case-sensitive.
  • If you’re unsure of the password, reset it via your VPS provider’s VNC/console: open PowerShell and run net user Administrator NewPassword123!

❌ “The remote session was disconnected because there are no Remote Desktop License Servers”

This happens on Windows Server editions after the 120-day grace period for Remote Desktop Services (RDS) licences expires. The fix for single-user VPS access is to delete the licensing grace period registry key to reset the 120-day timer. Run this in PowerShell as Administrator inside the Windows VPS via your provider’s VNC console:

Reset RDS grace period (run inside Windows as Administrator)
# Reset RDS licensing grace period — run in PowerShell (Admin) $key = “HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod” Remove-Item -Path $key -Recurse -Force # Restart to apply Restart-Computer # Grace period reset — 120 days restored

08Frequently Asked Questions

What port does RDP use?

RDP uses TCP port 3389 by default. This port must be open in both your VPS provider’s external firewall/security group and in Windows Firewall. You can change the port in the Windows registry (HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber) for extra security, but 3389 is the universal default.

Is RDP secure? Should I be worried about connecting?

Modern RDP (version 8+) encrypts all traffic using TLS, so the connection itself is secure. The risks are brute-force attacks on the password and known RDP vulnerabilities. Mitigate these by: using a strong Administrator password, restricting port 3389 in your firewall to your IP address only, and keeping Windows fully updated. For maximum security, consider placing your VPS behind a VPN and accessing RDP only through the VPN.

How many people can connect via RDP at the same time?

Windows 10/11 Pro allows only 1 concurrent RDP session by default. If a second person connects, the first is disconnected. Windows Server allows 2 concurrent sessions during the 120-day RDS grace period. For more concurrent sessions, you need Remote Desktop Services (RDS) CAL licences.

Can I copy and paste between my computer and the Windows VPS?

Yes — clipboard sharing is enabled by default in most RDP clients. In mstsc (Windows), go to Local Resources tab → Clipboard and make sure it’s ticked. In xfreerdp (Linux), add the /clipboard flag. Files can also be transferred via RDP by enabling Local Resources → Drives — your local drives appear inside the Windows VPS session.

My RDP session keeps disconnecting — how do I fix it?

Frequent disconnections are usually caused by network instability, an idle timeout policy, or the Windows screen saver locking and ending the session. Fix idle timeouts in Group Policy: run gpedit.msc → Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Session Time Limits → set End session when time limits are reached to Disabled.

Don’t Have a Windows VPS Yet?

Install Windows on Any VPS in Under 45 Minutes

OS Installer automatically deploys Windows 10 Pro, Windows 11 Pro, Windows Server 2022, or Windows Server 2025 on any Ubuntu 24.04 VPS — with RDP configured and ready the moment it’s done.

Install Windows Now
Scroll to Top