DEV Community

Cover image for How to Use Windows Remote Desktop (RDP): A Step-by-Step Guide for Developers
Padmakar Android
Padmakar Android

Posted on

How to Use Windows Remote Desktop (RDP): A Step-by-Step Guide for Developers

Remote work and remote development are now common in software engineering. Sometimes your most powerful Windows laptop is at home or in the office, while you are working from another laptop or even an Android phone.

This is where Remote Desktop Protocol (RDP) becomes useful.

In this guide, we will understand:

  • What RDP is
  • How Windows Remote Desktop works
  • How to connect two Windows laptops
  • How to check whether your Windows edition supports RDP hosting
  • How to find the PC name and IP address
  • How Android can be used as a remote client
  • How RDP can be useful for Android Studio development
  • What to do if you are using Windows 11 Home
  • Important RDP security practices

What Is RDP?

RDP stands for Remote Desktop Protocol.

It is a Microsoft protocol that allows a client device to remotely connect to a Windows computer and interact with its desktop.

The basic architecture looks like this:

┌─────────────────────┐
│   Client Device     │
│                     │
│ Laptop / Android    │
│       Phone         │
└──────────┬──────────┘
           │
           │ RDP
           ▼
┌─────────────────────┐
│   Remote Windows    │
│      Computer       │
│                     │
│ Windows + Apps      │
└─────────────────────┘
Enter fullscreen mode Exit fullscreen mode

The applications actually run on the remote computer.

For example, if Android Studio is installed on the remote PC:

Client Laptop
      │
      │ RDP
      ▼
Development PC
      │
      ├── Android Studio
      ├── Gradle
      ├── Android SDK
      ├── Git
      └── Project Files
Enter fullscreen mode Exit fullscreen mode

You are controlling the development PC remotely.


Why Would a Developer Use RDP?

RDP can be useful when the remote computer has better hardware or contains applications and files you need.

1. Access a powerful development machine

You may have:

Laptop A
8 GB RAM
    │
    │ RDP
    ▼
Laptop B
32 GB RAM
Android Studio
Enter fullscreen mode Exit fullscreen mode

Instead of installing and building everything on Laptop A, you can use Laptop B remotely.

2. Work from another location

You can access your development environment without physically sitting in front of the remote PC.

3. Access existing files

Your source code, SDKs, build tools, and other development files can remain on the remote machine.

4. Remote administration

RDP is also commonly used to manage Windows machines and servers.


How RDP Works

A typical RDP setup has two sides:

RDP Client
    │
    │ Connection
    ▼
RDP Host
    │
    ├── Windows Desktop
    ├── Applications
    ├── Files
    └── Development Environment
Enter fullscreen mode Exit fullscreen mode

The RDP client initiates the connection.

The RDP host accepts the connection and provides the remote desktop session.

Windows includes an RDP client called:

mstsc.exe
Enter fullscreen mode Exit fullscreen mode

You can open it by pressing:

Win + R
Enter fullscreen mode Exit fullscreen mode

and entering:

mstsc
Enter fullscreen mode Exit fullscreen mode

Windows Edition Matters

This is one of the most important things to understand.

Microsoft's built-in Remote Desktop hosting requires a supported Windows edition such as:

  • Windows 11 Pro
  • Windows 11 Enterprise
  • Windows 11 Education

Windows Home editions cannot normally act as the built-in Microsoft RDP host.

However, Windows Home can still be used as an RDP client to connect to another supported Windows computer.


Step 1: Check Your Windows Edition

Open:

Settings
→ System
→ About
Enter fullscreen mode Exit fullscreen mode

Look for:

Windows specifications
→ Edition
Enter fullscreen mode Exit fullscreen mode

For example:

Edition: Windows 11 Pro
Enter fullscreen mode Exit fullscreen mode

or:

Edition: Windows 11 Home
Enter fullscreen mode Exit fullscreen mode

If you have Windows 11 Pro, you can continue with the built-in RDP host setup.


Step 2: Enable Remote Desktop

On the Windows PC you want to control:

Settings
→ System
→ Remote Desktop
Enter fullscreen mode Exit fullscreen mode

Turn on:

Remote Desktop: On
Enter fullscreen mode Exit fullscreen mode

Confirm the change.

Windows will display information about the PC that can be useful when connecting.


Step 3: Find the Computer Name

Go to:

Settings
→ System
→ About
Enter fullscreen mode Exit fullscreen mode

Find:

Device name
Enter fullscreen mode Exit fullscreen mode

For example:

Device name: DEV-PC
Enter fullscreen mode Exit fullscreen mode

You can use this name in the Remote Desktop client.


Step 4: Find the Local IP Address

Open PowerShell on the remote Windows PC:

ipconfig
Enter fullscreen mode Exit fullscreen mode

Look for:

IPv4 Address
Enter fullscreen mode Exit fullscreen mode

Example:

IPv4 Address. . . . . . : 192.168.1.25
Enter fullscreen mode Exit fullscreen mode

If both computers are connected to the same local network, this address can be used for testing.


Step 5: Connect From Another Windows Laptop

On the client laptop:

Press:

Win + R
Enter fullscreen mode Exit fullscreen mode

Then:

mstsc
Enter fullscreen mode Exit fullscreen mode

Press Enter.

The Remote Desktop Connection window will appear.

In the Computer field, enter:

192.168.1.25
Enter fullscreen mode Exit fullscreen mode

or the remote computer name:

DEV-PC
Enter fullscreen mode Exit fullscreen mode

Click:

Connect
Enter fullscreen mode Exit fullscreen mode

Windows will then ask for credentials.

Use an account that is allowed to connect to the remote Windows PC.


Two-Laptop Architecture

For local testing, the setup looks like this:

┌──────────────────┐
│    Laptop A      │
│                  │
│ RDP Client       │
│ mstsc.exe        │
└────────┬─────────┘
         │
         │ Local Network
         │ RDP
         ▼
┌──────────────────┐
│    Laptop B      │
│                  │
│ RDP Host         │
│ Windows Pro      │
│                  │
│ Android Studio   │
└──────────────────┘
Enter fullscreen mode Exit fullscreen mode

This is one of the simplest ways to understand RDP.


Can You Use RDP With Only One Laptop?

This is an important question.

If you have only one Windows laptop, you cannot create a meaningful two-device RDP test using the same Windows machine as both the normal RDP client and built-in RDP host.

You need another device to act as the client.

For example:

Android Phone
      │
      │ RDP
      ▼
Windows Laptop
Enter fullscreen mode Exit fullscreen mode

or:

Laptop A
    │
    │ RDP
    ▼
Laptop B
Enter fullscreen mode Exit fullscreen mode

Using Android as an RDP Client

An Android device can be used as a remote client for a Windows PC.

The architecture becomes:

┌──────────────────┐
│   Android Phone  │
│                  │
│   RDP Client     │
└────────┬─────────┘
         │
         │ Wi-Fi / VPN
         │
         ▼
┌──────────────────┐
│ Windows PC       │
│                  │
│ RDP Host         │
│ Android Studio   │
└──────────────────┘
Enter fullscreen mode Exit fullscreen mode

For local testing, keep both devices on the same Wi-Fi network.

The Android client needs:

  • Windows PC IP address or hostname
  • Windows username
  • Windows password
  • Network access to the Windows PC

RDP and Android Studio

RDP can be particularly interesting for Android developers.

Imagine that your development machine has:

32 GB RAM
Fast CPU
Android Studio
Android SDK
Gradle
Git
Enter fullscreen mode Exit fullscreen mode

You can access that machine remotely:

Remote Laptop
      │
      │ RDP
      ▼
Development Laptop
      │
      ├── Android Studio
      ├── Gradle
      ├── Emulator
      ├── Git
      └── Source Code
Enter fullscreen mode Exit fullscreen mode

Android Studio continues running on the remote computer.

The remote client is mainly providing the interface through which you control it.


What About the Android Emulator?

This is where things become more complicated.

Android Studio itself can work well over a remote desktop connection, but the Android Emulator depends heavily on graphics acceleration.

Depending on the RDP configuration, GPU, Windows version, and emulator configuration, you may experience:

  • Slow rendering
  • Black screens
  • Graphics glitches
  • Poor emulator performance
  • Input or rendering issues

For a remote Android development workflow, a physical Android device connected to the development PC can sometimes be more reliable than running the emulator through a remote desktop session.

For example:

Remote Laptop
      │
      │ RDP
      ▼
Development PC
      │
      │ USB
      ▼
Android Phone
Enter fullscreen mode Exit fullscreen mode

What If You Have Windows 11 Home?

Suppose your laptop reports:

Windows 11 Home Single Language
Enter fullscreen mode Exit fullscreen mode

In that case, the built-in Microsoft RDP host is not available.

You can still use the laptop as an RDP client, but you cannot normally enable Microsoft's built-in RDP server on that Home installation.

Your options are:

Option 1 — Upgrade to Windows Pro

Upgrade the Windows edition and use Microsoft's built-in RDP host.

Option 2 — Use another remote desktop solution

If your goal is simply remote access, alternatives such as RustDesk or Chrome Remote Desktop can be considered.

Option 3 — Use another Windows PC

If you have access to a Windows Pro machine:

Your Laptop
    │
    │ RDP
    ▼
Windows Pro PC
Enter fullscreen mode Exit fullscreen mode

This is a good way to learn the standard RDP workflow without changing your current Windows installation.


RDP Over the Internet

Using RDP inside your local network is much simpler.

For example:

Laptop A
   │
   │ Same Wi-Fi
   ▼
Laptop B
Enter fullscreen mode Exit fullscreen mode

Accessing RDP over the public Internet is different:

Laptop A
   │
   │ Internet
   ▼
Home/Office Network
   │
   ▼
Windows PC
Enter fullscreen mode Exit fullscreen mode

Do not expose RDP directly to the Internet unnecessarily.

Avoid simply forwarding TCP port 3389 from your router to your PC unless you understand the security implications and have a strong security design.

A safer approach is generally:

Remote Device
      │
      │ VPN
      ▼
Private Network
      │
      │ RDP
      ▼
Windows PC
Enter fullscreen mode Exit fullscreen mode

A VPN such as WireGuard or a managed mesh VPN can be used to create the private network.


RDP Security Checklist

If you are setting up RDP, follow these practices:

  • Use a strong Windows password.
  • Keep Windows updated.
  • Avoid exposing RDP directly to the public Internet.
  • Prefer VPN access for remote Internet connections.
  • Allow RDP only for required users.
  • Keep Windows Firewall enabled.
  • Disable remote access when you don't need it.
  • Use Network Level Authentication where available.
  • Monitor login attempts on systems exposed to remote access.

RDP vs Remote Desktop Alternatives

Feature Microsoft RDP Other Remote Desktop Apps
Windows built-in client Yes Usually requires installation
Windows administration Excellent Good
Local network usage Excellent Excellent
Android client support Yes through compatible clients Usually yes
Internet setup More involved Often easier
VPN-friendly Yes Yes
Windows Home host No Depends on application

A Practical Setup for Android Developers

If I were setting up a remote Android development environment, I would use something like:

                 Internet / VPN
                       │
                       ▼
              ┌─────────────────┐
              │ Remote Laptop   │
              │                 │
              │ Windows Pro     │
              │ Android Studio │
              │ Android SDK     │
              │ Gradle          │
              │ Git             │
              └────────┬────────┘
                       │
                       │ USB / Wi-Fi
                       ▼
                 Android Device
Enter fullscreen mode Exit fullscreen mode

Then:

Your Laptop
     │
     │ RDP
     ▼
Development Laptop
     │
     ▼
Android Device
Enter fullscreen mode Exit fullscreen mode

This gives you a complete remote Android development environment.


Troubleshooting

"Remote Desktop can't connect"

Check:

1. Is Remote Desktop enabled?
2. Is the remote PC running?
3. Are both devices on the same network?
4. Is the IP address correct?
5. Is Windows Firewall allowing Remote Desktop?
6. Is the Windows edition capable of hosting RDP?
7. Is the user account allowed to connect?
Enter fullscreen mode Exit fullscreen mode

You can test port 3389 from another Windows machine:

Test-NetConnection 192.168.1.25 -Port 3389
Enter fullscreen mode Exit fullscreen mode

A successful connection should report:

TcpTestSucceeded : True
Enter fullscreen mode Exit fullscreen mode

Final Takeaway

RDP is more than simply "controlling another PC."

For developers, it can become a useful remote-development architecture:

┌─────────────────┐
│ Your Device     │
│                 │
│ Laptop / Phone  │
└────────┬────────┘
         │
         │ VPN
         │
         ▼
┌─────────────────┐
│ Development PC  │
│                 │
│ Windows Pro     │
│ Android Studio  │
│ Android SDK     │
│ Gradle          │
│ Git             │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│ Android Device  │
└─────────────────┘
Enter fullscreen mode Exit fullscreen mode

Once you understand this architecture, you can also start exploring how RDP clients, remote desktop protocols, networking, authentication, screen streaming, keyboard/mouse events, and remote development environments work under the hood.


Conclusion

Windows Remote Desktop is a powerful way to access a Windows computer from another device. For Android developers, it can be especially useful when the development machine has more CPU, RAM, storage, or development tools than the device you are currently using.

The most important thing to remember is that Windows edition determines whether Microsoft's built-in RDP host is available. If you are using Windows 11 Home, you will need Windows Pro or another remote-access solution if you want to host remote desktop sessions.

If you are learning Android system design, RDP is also a great practical project because it combines networking, authentication, client-server architecture, streaming, input handling, and security.


Author

Padmakar Garg

Android Developer | Open Source Enthusiast

If you found this guide useful, follow me for more articles about Android development, Kotlin, system design, application security, open source, and developer tooling.

Top comments (0)