Introduction
The RDP (Remote Desktop Protocol) is a protocol developed by Microsoft that allows you to remotely connect to a Windows computer and take full control of it as if you were in front of the screen. It is the standard method for administering a Windows VPS.
Required Connection Information
Before you start, retrieve this information from your OuiHeberg client area:
| Information | Description | Example |
|---|---|---|
| IP Address | Your VPS's public IP | 203.0.113.50 |
| Username | Administrator account | Administrator |
| Password | Initial password | (provided by email) |
| RDP Port | Default port | 3389 |
Connection from Windows
Windows natively integrates the Remote Desktop client.
Method 1: Via Windows Search
- Press the Windows key on your keyboard
- Type "Remote Desktop Connection" or simply "RDP"
- Click on the displayed application
Method 2: Via Run
- Press Windows + R
- Type mstsc
- Press Enter
Method 3: Via the Start Menu
- Click on Start
- Navigate to Windows Accessories (or Windows Tools on Windows 11)
- Click on Remote Desktop Connection
Connection Steps
Step 1: In the "Remote Desktop Connection" window, enter your VPS's IP address in the "Computer" field
Step 2: Click on "Connect"
Step 3: An identification window appears:
- Username :
Administrator - Password : The provided password
Step 4: Check "Remember my credentials" if desired
Step 5: Click "OK"
Step 6: A certificate warning may appear ("The identity of the remote computer cannot be verified"). Check "Don't ask me again for connections to this computer" and click "Yes"
You are now connected to your Windows VPS!
Advanced Options
Before connecting, click on "Show Options" to access advanced settings:
Display Tab:
- Screen resolution (full screen or custom)
- Color depth
Local Resources Tab:
- Sound redirection
- Printer redirection
- Clipboard redirection
- Access to local drives
Experience Tab:
- Connection quality (LAN, modem, etc.)
- Enable/disable visual effects
Advanced Tab:
- Server authentication
- Remote Desktop Gateway
Save the Connection
To avoid re-entering information each time:
- Configure all desired settings
- Click on "Save As" in the General tab
- Save the
.rdpfile to your desktop - Double-click on this file to quickly reconnect
🍎 Connection from macOS
macOS does not have a native RDP client. You need to install the official Microsoft application.
Install Microsoft Remote Desktop
Method 1: App Store (Recommended)
- Open the App Store
- Search for "Microsoft Remote Desktop"
- Click on "Get" then "Install"
Method 2: Windows App (New App)
Microsoft now offers Windows App which is gradually replacing Microsoft Remote Desktop:
- Open the App Store
- Search for "Windows App"
- Install the application
Configure the Connection
Step 1: Launch Microsoft Remote Desktop from the Applications folder or Launchpad
Step 2: Click on the "+" button at the top left, then select "Add PC"
Step 3: Fill in the information:
- PC name : Your VPS's IP address (ex: 203.0.113.50)
- User account : Click on the dropdown menu → "Add User Account"
Step 4: In the account addition window:
- Username :
Administrator - Password : Your password
- Click "Add"
Step 5: Optional: Give a friendly name to your connection in "Friendly name"
Step 6: Click on "Add" to save
Connect
- Double-click on the connection created in the list
- If a certificate warning appears, click on "Continue"
- You are connected!
Mac Keyboard Shortcuts → Windows
| Windows Action | Mac Shortcut |
|---|---|
| Windows Key | Cmd (⌘) |
| Alt | Option (⌥) |
| Ctrl+C / Ctrl+V | Control+C / Control+V |
| Alt+Tab | Control+Tab |
| Delete | Fn+Backspace |
Folder Redirection
To access your Mac files from the VPS:
- Modify the connection (right-click → Edit)
- Go to the "Folders" tab
- Check "Redirect folders"
- Click on "+" to add a folder to share
🐧 Connection from Linux
On Linux, the recommended RDP client is Remmina, installed by default on Ubuntu and many distributions.
Install Remmina
Ubuntu / Debian:
sudo apt update
sudo apt install remmina remmina-plugin-rdp -y
Fedora:
sudo dnf install remmina remmina-plugins-rdp -y
Arch Linux:
sudo pacman -S remmina freerdp
Using Snap (all distributions):
sudo snap install remmina
Using Flatpak:
flatpak install flathub org.remmina.Remmina
Configure the Connection
Step 1: Launch Remmina from the applications menu
Step 2: Click on the "+" button at the top left to create a new connection
Step 3: Fill in the information:
- Name : Connection name (ex: "My Windows VPS")
- Protocol : Select RDP - Remote Desktop Protocol
- Server : Your VPS's IP address
- Username :
Administrator - Password : Your password
- Domain : Leave blank
- Resolution : Choose a resolution or "Use client resolution"
- Color depth : RemoteFX (32 bpp) recommended
Step 4: Click on "Save and Connect" or just "Save"
Quick Connect
For a quick connection without creating a profile:
- In the address bar at the top of Remmina
- Select RDP from the dropdown menu
- Enter the VPS's IP address
- Press Enter
- Enter your credentials
Remmina Advanced Options
In the "Advanced" tab of the configuration:
- Quality : Adjust according to your connection
- Sound : Audio redirection
- Security : TLS negotiation
In the "SSH Tunnel" tab:
- Possibility to tunnel the RDP connection via SSH for added security
📱 Connection from Smartphone/Tablet
iOS (iPhone/iPad)
- Open the App Store
- Search for "Windows App" or "Microsoft Remote Desktop"
- Install the application
- Launch the application and tap on "+"
- Select "Add PC"
- Enter the IP address and configure the user account
- Tap on the connection to connect
Android
- Open the Google Play Store
- Search for "Microsoft Remote Desktop" or "RD Client"
- Install the official Microsoft application
- Launch the application and tap on "+"
- Select "Add PC"
- Enter your VPS's IP address
- Configure the user account
- Save and tap to connect
Mobile Tips
- Use landscape mode for a better experience
- Enable the virtual keyboard via the application's options
- Pinch-to-zoom allows you to zoom in on the remote screen
- A stylus can improve precision
⚙️ Windows VPS Configuration
If Remote Desktop is not enabled on your VPS, here's how to activate it.
Windows Server 2019/2022/2025
Method 1: Via Settings
- Click on Start → Settings
- Go to System → Remote Desktop
- Enable "Enable Remote Desktop"
- Confirm the activation
Method 2: Via System Properties
- Right-click on This PC → Properties
- Click on "Remote settings" (on the left)
- In the "Remote" tab, check "Allow remote connections to this computer"
- Click OK
Check the Firewall
The RDP port (3389) must be open:
- Open the Windows Firewall with Advanced Security
- Click on "Inbound Rules"
- Verify that "Remote Desktop - User Mode (TCP-In)" is enabled
- If not, right-click → "Enable Rule"
🔒 Secure RDP Connection
RDP is a frequent target of attacks. Here's how to secure your connection:
1. Change the Default RDP Port
Port 3389 is constantly scanned by bots. Change it:
- Open Regedit (Registry Editor)
- Navigate to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp - Double-click on PortNumber
- Select Decimal and enter a new port (ex: 33890)
- Click OK
- Restart the Remote Desktop service or the server
- Remember to open the new port in the firewall
To connect with a custom port, add it after the IP: 203.0.113.50:33890
2. Enable NLA Authentication
Network Level Authentication (NLA) adds a security layer:
- Open System Properties → Remote
- Check "Allow connections only from computers running Remote Desktop with Network Level Authentication"
3. Use Strong Passwords
- Minimum 12 characters
- Mix of uppercase, lowercase, numbers, and symbols
- Change the password regularly
4. Limit Connection Attempts
Set an account lockout policy:
- Open gpedit.msc (Group Policy Editor)
- Navigate to Computer Configuration → Windows Settings → Security Settings → Account Policies → Account Lockout Policy
- Configure:
- Lockout threshold: 5 attempts
- Lockout duration: 30 minutes
- Counter reset: 30 minutes
5. Use a VPN
For maximum security, connect to a VPN before using RDP. This hides the RDP port from the Internet.
🔧 Troubleshooting
"Unable to connect to the remote computer"
Checks:
- Is the IP address correct?
- Is the VPS running?
- Does the firewall allow port 3389?
- Is Remote Desktop enabled on the VPS?
<
"Credentials did not work"
Solutions:
- Check the username:
Administrator(not "Administrateur" in French) - Check password case sensitivity
- Try with the format:
.\Administrator - Reset the password from your client area
"Unapproved Certificate" / Certificate Error
This is normal on first connection. Check the box to no longer display the warning and click "Yes" or "Continue".
Very Slow or Choppy Connection
Solutions:
- Reduce display resolution
- Disable visual effects (Experience tab)
- Reduce color depth (16 bits)
- Check your Internet connection
- Close resource-intensive applications on the VPS
"Remote Desktop cannot connect..." (error 0x204)
Possible Causes:
- Remote Desktop service is not running
- Firewall is blocking the connection
- RDP port has been changed
Solution: Connect via your client area's VNC console and check the configuration.
Automatic Disconnection After a Few Minutes
The server may be configured to disconnect inactive sessions:
- Open gpedit.msc
- Navigate to Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Session Time Limits
- Adjust the timeout settings
Frozen Session / Not Responding
- Wait a few seconds, there may be network lag
- Press Ctrl+Alt+End (equivalent to Ctrl+Alt+Del in RDP)
- If that doesn't work, close the RDP window and reconnect
- As a last resort, restart the VPS from your client area
📋 Quick Summary
| System | Application | Installation |
|---|---|---|
| Windows | Remote Desktop | Integrated (mstsc) |
| macOS | Microsoft Remote Desktop | App Store |
| Linux | Remmina | apt install remmina |
| iOS | Windows App / RD Client | App Store |
| Android | RD Client | Play Store |
Quick Windows Command
mstsc /v:IP_ADDRESS
Example:
mstsc /v:203.0.113.50
With custom port:
mstsc /v:203.0.113.50:33890
💡 Best Practices
-
Change the default password on first connection
-
Enable automatic updates for Windows
-
Install an antivirus if handling sensitive data
-
Regularly back up your data
-
Log out properly (Start → Log Off) instead of closing the window
-
Monitor connections via Windows Event Viewer
-
Avoid exposing RDP directly if possible, use a VPN


