
The usual message is Remote Desktop can’t connect to the remote computer for one of these reasons, followed by three: remote access isn’t enabled, the remote computer is off, or it isn’t available on the network. Work through them in that order. Microsoft’s own troubleshooting does.
Two facts settle a lot of cases before you open a single setting. Windows Home editions can’t accept Remote Desktop connections at all, only make them. And Remote Desktop works across a local network or VPN; it isn’t meant to reach an office PC straight over the internet.
If the connection gets as far as asking for a password and then says Your credentials did not work, the network is fine and you need our Remote Desktop credentials did not work guide instead.
Try these first
- Confirm the remote PC is switched on and awake; a sleeping PC can’t accept a connection.
- On the remote PC, check Settings > System > About: the edition must be Pro, Enterprise or Education, not Home.
- On the remote PC, open Settings > System > Remote Desktop and make sure Remote Desktop is On.
- If you’re away from the office, connect to the office VPN first.
- Try the remote PC’s IP address instead of its name; if the IP works, the problem is name lookup.
- Make sure you open Remote Desktop Connection (mstsc) and type the exact PC name shown in the host’s Remote Desktop settings.
Match the message to the cause
| What you see | Likely cause | Start with |
|---|---|---|
| Remote Desktop can’t connect to the remote computer for one of these reasons | Host off or asleep, Remote Desktop disabled, Home edition, firewall, or wrong name | The host checks, then the network test |
| This computer can’t connect to the remote computer | Microsoft names two main causes: the host’s Remote Desktop listener not working, or a network problem | Restart the host; then the port test and listener check below |
| Works with the IP address, fails with the PC name | DNS or name lookup, often because you’re on a VPN or a different network | Name vs IP section |
| Works in the office, fails from home | No route into the office network | Working from home: use a VPN |
| Your credentials did not work | Wrong username format, PIN instead of password, or saved credentials | Credentials guide |
| The connection was denied because the user account is not authorized for remote login | Your account isn’t in the host’s allowed users | Allowed users section |
Write down the exact wording. “Can’t connect” and “credentials did not work” sound similar to users, but they point to completely different fixes.
Check the host PC: edition, setting and sleep
Everything here happens on the PC you’re connecting to, so you need someone at it, or a different remote tool, to check it.
Edition
Open Settings > System > About and read Edition under Windows specifications. Microsoft states that Pro, Enterprise and Education editions can host Remote Desktop; Home editions can’t, although they can connect out to other PCs. Many PCs bought at retail ship with Home. Upgrading to Pro is a paid license change, so for one home PC a different remote access tool may make more sense.
Remote Desktop switch
Open Settings > System > Remote Desktop, turn Remote Desktop on and select Confirm (on Windows 10 the toggle is labeled Enable Remote Desktop). Note the PC name shown on that page: that’s the name to type in Remote Desktop Connection. Microsoft recommends keeping Require devices to use Network Level Authentication to connect on; it makes users sign in before a session starts.
If the switch is grayed out or turns itself back off, a policy controls it. On business PCs that’s Group Policy or Intune, which the admin section below covers.
Sleep
A PC that’s asleep doesn’t answer. For a desk PC people reach remotely, set Settings > System > Power so it doesn’t sleep while plugged in, or ask whoever manages it to allow it to wake on network traffic.
Can you reach it? Name, IP and port 3389
Remote Desktop listens on TCP port 3389 by default. From a PC on the same network (or connected to the VPN), open Terminal and run:
Test-NetConnection -ComputerName OFFICE-PC01 -Port 3389
Replace OFFICE-PC01 with the host’s name, then repeat with its IP address.
| Result | What it means | Next step |
|---|---|---|
| TcpTestSucceeded : True by name | The network path and listener are fine | Recheck the name in Remote Desktop Connection; then the credentials guide |
| False by name, True by IP | Name lookup fails | Use the IP for now; fix DNS on the network or VPN |
| False by both, but the PC is on | Firewall, Remote Desktop off, or wrong network | Firewall section and host checks |
| Name doesn’t resolve at all | Wrong name, or you’re not on the office network | Connect the VPN, check the PC name |
To find the host’s IP, run ipconfig on it and read the IPv4 Address. Office PCs that people connect to regularly should get a fixed address through a DHCP reservation on the router, so the address doesn’t move.
If the port test succeeds but Remote Desktop still fails, run qwinsta on the host. Microsoft’s check is that an rdp-tcp line shows the state Listen. If it doesn’t, make sure the Remote Desktop Services service is running, then restart the PC.
Firewall and security software
Turning Remote Desktop on in Settings normally enables the matching Windows Defender Firewall rules. Third-party security suites, or rules changed by hand, can still block it.
- On the host, press Windows + R, run
wf.mscand open Inbound Rules. - Find Remote Desktop – User Mode (TCP-In) and Remote Desktop – User Mode (UDP-In). Microsoft says they should be enabled for the profiles you use.
- Or, in Terminal (Admin), run
Get-NetFirewallRule -DisplayGroup "Remote Desktop" | Set-NetFirewallRule -Enabled True.
Check the network profile too. If the office network is marked Public, Windows treats it as untrusted. Set your own office network to Private under Settings > Network & internet, but leave hotel and café networks Public.
If you use a third-party antivirus with its own firewall, check its rules instead; its firewall replaces the Windows one. Don’t leave any firewall switched off as the “fix”. Find the rule that blocks Remote Desktop and allow just that.
Rather have a technician sort it out?
With your approval, a technician can connect remotely, check the host PC’s edition, Remote Desktop setting, firewall and network path, and help you reach office PCs through a VPN instead of an open port. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.
Working from home: use a VPN, not an open port
Connecting from home to a PC in the office needs a route into the office network. There are two ways people do it, and only one is a good idea.
Don’t forward port 3389 on the office router to a PC. Microsoft’s own guidance says this opens your PC to the internet and isn’t recommended, and that a VPN is preferable. Exposed Remote Desktop ports are found by automated scanners and hit with password-guessing attempts.
- Office VPN. Most business firewalls include a VPN. Connect to it first and Remote Desktop behaves as if you were in the office. If it works in the office but not from home, check the VPN is connected and that it gives you access to the office subnet.
- Remote Desktop Gateway or a managed remote access product, for teams that need something more controlled than a VPN.
- Cloud PCs such as Windows 365, for businesses moving away from desk PCs entirely.
Over a VPN, PC names often fail even when the IP works, because home PCs don’t use the office DNS server. Ask whoever set up the VPN to hand out the office DNS server, or use the IP for now. If someone already set up port forwarding to an office PC, removing it should come before anything else. Our guide on signs a business network has been compromised lists what to check on a PC that has been exposed.
Allowed users, and fixing it for every PC
By default, members of the host’s Administrators group can connect, plus anyone added to Remote Desktop Users. To add someone, open Settings > System > Remote Desktop > Remote Desktop users, select Add and enter the account. A user who isn’t allowed sees the “not authorized for remote login” message after signing in.
Domain and Intune-managed PCs
- Group Policy: Remote Desktop is turned on by Allow users to connect remotely by using Remote Desktop Services, under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. When that policy is set, it overrides the toggle in Settings, which is why the toggle looks stuck.
- User rights: the right Allow log on through Remote Desktop Services (Local Policies > User Rights Assignment) must include Remote Desktop Users, and Deny log on through Remote Desktop Services must not list the user.
- Intune: the same Remote Desktop settings exist in the settings catalog, and membership of Remote Desktop Users can be pushed by policy instead of added PC by PC.
For a small office, decide once who may connect to which PCs, set it centrally and write it down. Remote access sprawl, where every ex-employee could still reach their old desk PC, is a common mess in offices that grew without an admin. Our help desk service can keep that list current.
When to stop and get help
- The listener never starts. If
qwinstashows no rdp-tcp line in Listen even with Remote Desktop on and the service running, Microsoft’s next steps involve registry and certificate repairs. Back up the registry first, or get help. - The host is a server running line-of-business software, a domain controller, or a Remote Desktop Services farm. Changes there affect everyone, so plan them for after hours.
- Port 3389 has been open to the internet on any PC. Close it and treat that PC as a security review, not a connectivity problem.
- The PC needs to be reached but it’s Home edition. That’s a licensing decision rather than a fix.
For a single PC, getting it reachable over the office VPN with the right firewall rules and allowed users is a typical $59 fix through remote support. You approve the session and can end it at any time.
Common questions
Can Windows 11 Home use Remote Desktop?
Windows 11 Home can connect out to another computer with Remote Desktop Connection, but it can’t accept incoming Remote Desktop connections. Microsoft lists Pro, Enterprise and Education as the editions that can host. To reach a Home PC remotely, you either upgrade it to Pro, which is a paid license change, or use a different remote access tool that runs on Home.
What port does Remote Desktop use?
TCP port 3389 by default, plus UDP 3389 for better performance where it’s allowed. The port can be changed in the registry, in which case you connect with the computer name followed by a colon and the new port. Changing the port doesn’t make it safe to expose to the internet; scanners find non-standard ports too, so use a VPN or gateway instead.
Why does Remote Desktop work with the IP address but not the computer name?
Your PC can’t turn the name into an address. It happens on VPNs that don’t hand out the office DNS server, on home networks, and after a PC is renamed. Use the IP as a workaround, then fix name lookup on the network or VPN. Giving the host a reserved address on the router makes the IP workaround dependable in the meantime.
Is it safe to leave Remote Desktop turned on?
On a PC reachable only inside your office network or through a VPN, with Network Level Authentication on, strong passwords and a short list of allowed users, it is a reasonable setup. The danger is exposing it to the internet with port forwarding. Microsoft also suggests not enabling Remote Desktop on PCs that don’t need it, so turn it off where nobody connects.
What replaced the Microsoft Remote Desktop app?
For connecting to ordinary office PCs, the Remote Desktop Connection program built into Windows (mstsc) still works. Microsoft’s newer Windows App is aimed mainly at cloud PCs and Azure Virtual Desktop, and is also what Microsoft points Mac and iPhone users to. If an older app version stops working, try Remote Desktop Connection before troubleshooting the host.
Why does my Remote Desktop session keep disconnecting?
Usually the network between you and the host: a weak home Wi-Fi signal, a VPN that drops, or power saving on the host’s network adapter. Policies that end idle sessions can also log you off after a set time. If it disconnects at the same interval every time, suspect a timeout setting; if it is random, check the VPN and your own connection first.