Skip to main content

Microsoft RDP Remote Desktop Guide

Microsoft Remote Desktop Protocol (RDP, default TCP 3389) is built directly into Windows. Instead of exposing port 3389 to the public internet — where it faces constant scanning and brute-force attacks — pairing RDP with Larktun gives you a private, encrypted path between your devices:

  • No public IP or router port forwarding: all RDP traffic travels through your encrypted Larktun network.
  • Native desktop clients: connect from Windows with built-in Remote Desktop Connection (mstsc), or from macOS with Microsoft's free Windows App (formerly Microsoft Remote Desktop).
  • All-in-one mobile experience: on iPhone, iPad, Android phones/tablets, and Android TV, use the built-in RDP client inside the Larktun app (powered by IronRDP over app-only tsnet). It requires no system VPN permission and supports H.264 (AVC444) hardware decoding, remote audio, clipboard sync, favorites, and iPad external displays.
  • Direct mesh or subnet routing: install Larktun directly on the Windows host (100.x.x.x), or reach office LAN hosts by their local IP (192.168.6.10) through an approved Larktun subnet router without installing a client on every target PC.

Microsoft RDP over Larktun Architecture

Check your Windows edition first

Windows 10 / 11 Pro, Enterprise, Education, Pro for Workstations, and Windows Server all include the Microsoft RDP server natively.

Windows Home editions include the mstsc client to connect out, but do not include the built-in RDP host. If the target PC runs Windows Home (or macOS), use WebRTC Remote Control or the RustDesk Direct IP Remote Guide instead.

1. Software Needed on Each Device​

Download Larktun clients from the Larktun download page:

RoleOperating SystemRequired SoftwareNotes
Target host (direct mesh)Windows Pro / Enterprise / ServerLarktun Desktop Client + Windows Remote Desktop enabledReceives a private 100.x.x.x address
Target host (subnet mode)Office LAN Windows PCWindows Remote Desktop enabled (Larktun client optional)Traffic is forwarded by an online Larktun subnet router on the same LAN
Controller (Windows)Windows 10 / 11 (Home included)Larktun Desktop Client + built-in mstscNo extra RDP software required
Controller (macOS)macOSLarktun Desktop Client + Microsoft Windows AppFree from the Mac App Store
Controller (Phone / Tablet / TV)iPhone / iPad / Android / Android TVLarktun AppBuilt-in RDP client, no system VPN needed, no separate RDP app required
Linux desktops work the same way

If you want to connect to a Linux graphical desktop (Ubuntu, Debian, Oracle Linux, etc.), install a desktop environment and xrdp listening on TCP 3389. The client workflow is identical. See Remote Development with Linux, Hermes, ChatGPT, and RDP for a real-world Linux RDP setup.

2. Enable Microsoft Remote Desktop on the Target Windows PC​

Complete these three checks on the Windows PC you want to control. Test the first connection while sitting near the computer before relying on unattended access.

3-Step Windows Host Preparation for Microsoft RDP

2.1 Turn on Remote Desktop​

  • Windows 11: open Settings → System → Remote Desktop, toggle Remote Desktop on, and click Confirm.
  • Windows 10: open Settings → System → Remote Desktop, toggle Enable Remote Desktop on, and confirm.
  • Classic dialog (any version): press Win + R, run sysdm.cpl, open the Remote tab, select Allow remote connections to this computer, and keep Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended) checked.

Expand the details below the toggle to confirm the Remote Desktop port is 3389 (default).

2.2 Verify Username and Password (Avoid Common Sign-in Pitfalls)​

Most "Your credentials did not work" errors come from username format, blank passwords, or Windows Hello PINs:

  1. Find your exact local username: open Terminal (PowerShell) and run:

    whoami

    If the output is office-pc\alex, your local username is alex.

  2. Set a non-empty password: Windows blocks RDP logins for blank-password accounts by default. Configure a strong password under Settings → Accounts → Sign-in options → Password.

  3. If you sign in to Windows with a Microsoft account:

    • RDP requires your Microsoft account password, not your 4–6 digit Windows Hello PIN.
    • Go to Settings → Accounts → Sign-in options and turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended).
    • Lock the screen (Win + L), choose the key icon under Sign-in options, and sign in once using your Microsoft account password so Windows caches the credential locally.
    • In the RDP client, enter MicrosoftAccount\your-email@outlook.com (or the username returned by whoami).
  4. Non-administrator accounts: administrators have RDP permission automatically. For standard users, add them under Settings → System → Remote Desktop → Remote Desktop users.

2.3 Check Windows Firewall and Sleep Settings​

  1. Allow TCP 3389 in Windows Firewall: Enabling Remote Desktop normally activates Remote Desktop - User Mode (TCP-In). If Windows classifies the Larktun virtual interface as a Public network, inbound 3389 may still be blocked. Open an elevated PowerShell to verify and allow it:

    # Verify the RDP service is listening on TCP 3389
    Get-NetTCPConnection -LocalPort 3389 -State Listen

    # Ensure the built-in Remote Desktop firewall rule group is enabled
    Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

    To tighten scope strictly to the Larktun private address range (100.64.0.0/10), you can add an explicit rule:

    New-NetFirewallRule -DisplayName "Larktun RDP (TCP 3389)" -Direction Inbound -Protocol TCP -LocalPort 3389 -RemoteAddress 100.64.0.0/10 -Action Allow
    Never forward port 3389 on your internet router

    Firewall rules above apply only to the host OS inside your private network. Do not expose port 3389 to the public internet.

  2. Disable sleep while plugged in: A sleeping PC drops off the network. Open Settings → System → Power & battery → Screen and sleep and set When plugged in, put my device to sleep after to Never (you can still let the display turn off after a few minutes).

3. Connect Your Larktun Network and Get the Target IP​

  1. Install and sign in to the Larktun Desktop Client (Larktun IPN) on the target Windows PC. In client Settings, enable Launch at startup and set close behavior to Minimize to tray. See Desktop Client Operations.
  2. Confirm the client shows Connected and note the target PC's private IP (for example 100.64.0.10).
  3. On your controller PC, open the Larktun client, open the target device menu, choose Copy IP Address, and optionally run Ping to confirm reachability and latency:

Copy the target device IP or run Ping in the Larktun desktop client

Devices signed in to the same Larktun account can reach each other by default with no manual ACL setup required (only verify port 3389 is not blocked if you customized strict ACL rules).

3.2 Subnet Route Mode (No Larktun Client Required on Every LAN PC)​

When an office LAN (such as 192.168.6.0/24) has multiple Windows machines behind an online Larktun subnet router:

  1. Advertise 192.168.6.0/24 on the subnet router and approve it on the Routers page. See Approve Subnet Routes.
  2. On desktop controllers (Windows / macOS / Linux), make sure route acceptance is enabled (sudo larktun set --accept-routes on CLI clients). The Larktun mobile app receives approved subnet routes automatically.
  3. Connect using the target PC's LAN IP (for example 192.168.6.10), not the subnet router's IP.

Approve a subnet route on the Larktun Console Routers page

4. Connect from a Desktop Computer (Windows / macOS)​

Confirm the Larktun desktop client on your controller computer shows Connected, then launch the official Microsoft client.

Connecting from Windows mstsc and macOS Windows App with a Larktun IP

4.1 Windows: Built-in Remote Desktop Connection (mstsc)​

  1. Press Win + R, type mstsc, and press Enter.
  2. Click Show Options in the bottom-left corner:
    • Computer: enter the target's Larktun IP, such as 100.64.0.10 (or LAN IP 192.168.6.10 in subnet mode; use IP:port only if you changed port 3389).
    • User name: enter the Windows username (alex or MicrosoftAccount\name@outlook.com).
    • Check Allow me to save credentials on trusted personal PCs.
  3. Optional tabs worth configuring:
    • Display: choose resolution or enable Use all my monitors for the remote session.
    • Local Resources: keep Clipboard checked; click More → Drives to share local folders into the remote session for easy file copies.
    • General → Save As: export a reusable .rdp desktop shortcut.
  4. Click Connect and enter the target Windows password.
  5. On first connection, Windows warns that the identity of the remote computer cannot be verified (normal for Windows' self-signed RDP certificate). Confirm the IP matches your host, check Don't ask me again, and click Yes.

4.2 macOS: Microsoft Windows App​

Microsoft rebranded Microsoft Remote Desktop on macOS to Windows App:

  1. Install Windows App (by Microsoft Corporation) for free from the Mac App Store.
  2. Ensure the Larktun Desktop Client on your Mac is connected.
  3. Open Windows App, click + → Add PC:
    • PC name: enter 100.64.0.10 (or subnet IP 192.168.6.10, or IP:port for a custom port).
    • User account: choose Add User Account to store your Windows username and password, or leave it on Ask when required.
    • Friendly name: optional label such as Office Windows Workstation.
    • Display: enable Optimize for Retina displays or Update the session resolution on resize for crisp text.
    • Folders: optionally share a local Mac folder into Windows.
  4. Click Add, double-click the new PC card, and click Continue on the first-time certificate prompt after verifying the IP.

5. Connect from a Phone, Tablet, or TV (Larktun App Built-in RDP)​

On iPhone, iPad, Android phones/tablets, and Android TV, you do not need a separate RDP app or system VPN permission. Open the Larktun app and use its built-in RDP client directly.

5.1 Open the RDP Entry Point​

  • iPad: confirm the sidebar shows Connected. Select the target Windows PC in the Devices grid and tap RDP client under Quick actions on the right, or click RDP client + in the left sidebar to enter any Larktun IP or subnet LAN IP manually.

Larktun iPad app Devices view with RDP client quick action and sidebar entry

  • iPhone: tap a device in Devices to launch RDP, tap the RDP client shortcut pill near the top to enter an IP manually (ideal for subnet IPs), or use Smart Discovery to detect port 3389 services automatically.

Larktun iPhone app Devices view and quick action pills

  • Android Phone / Tablet / Android TV:
    • On tablets, select a device and tap RDP in the right inspector, or open RDP from the left sidebar under Connections.
    • On phones, tap RDP in device details or the long-press menu, or tap + in the top-right corner. For Android TV with a Bluetooth mouse, see Install Larktun on a TV.

Larktun Android tablet Devices view with RDP quick action

5.2 Fill In Connection Details and Advanced Settings​

When launched from a device, the Host field is pre-filled automatically. Review the fields below:

Larktun App Built-in RDP Form and Advanced Settings

FieldExample / DefaultDetails
Host100.64.0.10 or 192.168.6.10Target Larktun IP, MagicDNS name, or reachable subnet LAN IP; do not append :3389 here
Port3389Target RDP port
Usernamealex or MicrosoftAccount\emailTarget Windows account username (not your Larktun account)
PasswordWindows account passwordUse Show / Hide to verify; do not enter a Windows Hello PIN
Domain (optional)BlankOnly needed for Active Directory domain-joined machines
Remember account (Android) / Favorite ★OptionalCredentials are stored securely in iOS Keychain or Android Keystore; tap ★ to save a favorite

Expand Advanced settings (labeled Display settings on Android) to tune graphics and network behavior:

Advanced OptionDefaultRecommendation
Width / HeightAuto-fit screen (landscape)Leave empty to auto-fit your screen, or specify fixed pixels such as 1920 × 1080
Color depth32Keep 32 for Windows; lower to 16 only for legacy Linux xrdp compatibility
Network Level Authentication (NLA)OnKeep enabled to match Windows default security requirements
Remote audioOnPlays remote Windows audio over the RDP rdpsnd channel; can be muted in-session
H.264 video (AVC444)OnUses VideoToolbox (iOS) or MediaCodec (Android) hardware decode; falls back automatically if the server declines AVC
Quality / bandwidthAdaptiveAdaptive: auto-throttles fps under congestion; Quality: full visual effects, uncapped fps; Speed: disables wallpaper/animations (~20 fps) for slow cellular links
Graphics modeEGFX (recommended)Uses EGFX + H.264 by default; if using Legacy / RemoteFX on Windows, see Optimize iOS Remote Desktop: Enable RemoteFX

Tap Connect to open the full-screen remote desktop.

Larktun iPad full-screen RDP desktop with draggable floating control

5.3 Everyday Controls and Productivity Features​

  • Draggable floating control: tap the edge pill to access:
    • Touch / Mouse mode: direct tap in touch mode, or laptop-style trackpad cursor in mouse mode (two-finger tap for right-click, two-finger scroll).
    • Onscreen keyboard & shortcut bar: includes Ctrl, Alt, Shift, Win, Esc, Tab, arrow keys, paste, and Ctrl+Alt+Del.
    • Zoom & Readable fit: zoom into dense UI elements on smaller phone screens.
    • Connection quality badge: displays live latency and direct vs. DERP relay path in the top-right corner (including the subnet router path for LAN IPs).
    • Audio mute & session display settings: mute/unmute audio, inspect connection info, or apply a new resolution manually.
  • Favorites with live thumbnails: tap ★ from the connection form or live desktop to pin the host in Favorites with a desktop snapshot for one-tap access.

Larktun iPad Favorites view showing saved RDP entry with thumbnail

  • iPad external display mode: plug in an external monitor and toggle the external display button in the header to move the Windows desktop onto the big screen while the iPad becomes a full-screen trackpad and shortcut controller:

Larktun iPad external display trackpad mode

  • Multi-session & background continuity:
    • On iPad, run multiple RDP, SSH, and web tabs side by side, or tear an RDP tab out into its own window.
    • On Android, tapping Return home keeps the RDP session alive in the background so you can return via the top open-sessions pill; tap Disconnect when you want to close it completely.
Using Microsoft's official Windows App on iOS or Android

Because the Larktun mobile app runs an app-only tsnet network (NoVPN), private 100.x.x.x routes stay inside the Larktun app. Using the built-in RDP client is the simplest and conflict-free choice.

If you specifically want to connect using Microsoft's standalone Windows App Mobile, join Larktun via the official Tailscale mobile app to create a system-wide VPN tunnel first (see Sign In to Larktun with Tailscale on iPhone and iPad).

6. Choosing Between Microsoft RDP, WebRTC, and RustDesk​

FeatureMicrosoft RDP (this guide)Larktun WebRTC RemoteRustDesk Direct IP
Supported target OSWindows Pro/Ent/Server, Linux (xrdp)Windows (incl. Home), macOSWindows (incl. Home), macOS, Linux
Extra software on targetBuilt into WindowsLightweight Larktun HostRustDesk with Direct IP enabled
Local screen behaviorExclusive session (locks local console)Shares live desktopShares live desktop / remote assistance
Default private portTCP 3389TCP 8771 (3478 for subnet fallback)TCP 21118
Mobile experienceBuilt into Larktun App (NoVPN)Built into Larktun App (NoVPN)Requires official Tailscale system VPN on mobile
Best forOffice work, sharp text, native resolution scaling, dev/opsWindows Home or Mac control, live screen sharingCross-platform PC-to-PC, Windows Home, live collaboration

7. Troubleshooting​

SymptomWhat to check
No "Remote Desktop" toggle in Windows SettingsThe PC is likely running Windows Home, which lacks the RDP host. Upgrade to Pro or use WebRTC Remote Control / RustDesk Direct IP
"Your credentials did not work" / authentication failed(1) Use the account password, not a Windows Hello PIN; (2) for Microsoft accounts try MicrosoftAccount\email, disable "Windows Hello-only" sign-in, and sign in once with the password locally; (3) verify username via whoami; (4) blank passwords are rejected
Connection timed out / host unreachable(1) Ping the target IP in the Larktun client to confirm both devices are online; (2) check Windows Firewall on the profile used by the Larktun adapter; (3) if you customized ACL rules, verify TCP 3389 is not blocked; (4) confirm the target PC is not asleep
Subnet Windows PC cannot be reached(1) Verify the subnet route is approved under Routers; (2) ensure desktop controllers accept routes (--accept-routes); (3) check that the router node can reach the target and has IP forwarding enabled; (4) if you customized ACL rules, confirm subnet access is permitted
Target PC locks its physical screen when RDP connectsNormal behavior for single-session Windows RDP. Use WebRTC Remote Control or RustDesk Direct IP if both sides need to view the screen simultaneously
Blurry text or lag on slow linksSwitch Quality / bandwidth to Speed in Larktun App settings; if falling back to Legacy mode on Windows, follow Enable RemoteFX; pick a closer relay in Derper if cross-region latency is high
No audio in RDP sessionConfirm Remote audio is enabled and not muted in the floating menu, and verify the Windows Audio service is running on the target PC
PC becomes unreachable after a few days awayVerify sleep is set to Never when plugged in, Larktun Launch at startup is enabled, and (for subnet mode) the subnet router remains online

8. First-Time Verification Checklist​

  1. Target Windows PC has Remote Desktop enabled (3389), a non-empty account password, and plugged-in sleep set to Never.
  2. Direct mode: target shows Online in Larktun with a 100.x.x.x IP. Subnet mode: route is approved in Routers and reachable.
  3. Complete an initial connection on your local network and verify mouse, keyboard, clipboard copy/paste, and audio.
  4. Switch your phone to cellular data (4G/5G) or test from an external Wi-Fi network to confirm remote access works away from home or office.

Next Steps​