The article is aiming to analyze the causes of Remote Desktop closes immediately after login and provides the solutions to fix it.
The Remote Desktop Connection app closed immediately after login every time, can anyone has the same issue or has any idea about how to fix it.
1) My laptop is running Windows 10 Home Pro.
2) The issue start about a few weeks ago.
3) There is now an error message that shows up after the app closed.
4) The internet is stable and in good status.
- Question from answer.microsoft.com
It's frustrating to encounter RDP disconnecting immediately after login in Windows 11/10/8/7 and Windows Server 2012 R2/2016/2019/2022 when we access a PC from another PC remotely. Follow me to get possible reasons that trigger off "Remote Desktop Connection closes immediately after login".
▪ Reason 1. The blockage of firewall Remote Desktop connections do not have the permissions allowed by the firewall. Therefore, the Defender Firewall will block the Remote Desktop Connection, thus the Remote Desktop connection closes immediately after login.
▪ Reason 2. The system files are corrupted It is said that if you miss some system files like the .dll file, then your Windows features, including RDP aren’t working or Windows crashing.
▪ Reason 3. Update broke those patches If you update to Win 10 or Win 11, there may be because of your update breaking the patches, indirectly causing the Remote Desktop to close or disconnects after the update immediately.
There are 4 useful solutions to help you address Remote Desktop closes immediately after login Windows 10/11/8/7 and Windows Server. Just follow them in order, step by step, and we’ll try to get you back on track.
First of all, make sure that you have enabled Remote Desktop through Firewall.
Step 1. Press Windows + R, input the control panel, and then click “System and Security”, choose" Windows Defender Firewall", then “Allow an app or feature through Windows Defender Firewall”.
Step 2. Go to the Allowed apps screen, click on “Change settings" and then scroll down to check Remote Desktop in this list. Make sure that you’ve allowed this app to the Public. Click "OK".
Step 3. After finishing the above steps, reboot the machine.
If Remote Desktop closes unexpectedly or Windows crashes, use the System File Checker to scan Windows and restore your files.
Step 1. In the search box, input "cmd", right-click "Command Prompt", and choose "Run as administrator".
Step 2. Enter "sfc /scannow" (This process will take some time so don’t interrupt it)
If sfc/scannow doesn’t work for you, just try DISM scan. Enter “DISM /Online /Cleanup-Image /RestoreHealth”(bear in mind that it also takes some time.)
If method 2 can't fix Remote Desktop close immediately after login issue, you can run Startup Repair to fix the system automatically. Here are the detailed steps.
Step 1. Insert the installation CD/DVD to the PC and enter BIOS to boot from the installation CD/DVD.
Step 2. On the "Windows setup" page select the "Language to install", "Time and currency format“, and the ”Keyboard or input method" and click on "Next".
Step 3. Click on "Repair your computer".
Step 4. Choose "Troubleshoot" click on "Advanced options", select "Startup Repair" and then “the operating system”.
Step 5. Remove the Windows installation CD/DVD, and reboot your PC from its system hard drive. Then, run RDP to see whether Remote Desktop can work normally after login. If you have backup Windows via professional backup software, you can choose to restore the OS to its previous status.
Trying to lower the display properties is also another useful way to fix the issue.
Step 1. Go to Settings > System > Display > Display Resolution.
Step 2. Set resolution to low (800X600) 8bit.
Step 3. Navigation: Setting>Clipboard>Clipboard history. Turn “Clipboard history” off to disable the clipboard.
Note: Now you can find that Remote desktop connectivity can be more fluid because the resolution of the screen is reduced and the clipboard is disabled.
It’s time and energy-consuming to settle out RDP closes immediately after the login issue. If you want to connect to a remote computer easily, you can turn to a third-party remote connection software for Windows, AnyViewer.
It’s free, stable, and secure. With it, you can access computers from another computer anywhere, anytime. It’s compatible with all editions of 11/10/8.1/8/7 and Windows Server 2022/2019/2016/2012 R2 (64bit and 32bit), thus you don’t consider the Windows version of the computers. See how it works:
Step 1. Download and install AnyViewer on the host computer (the PC you want to control) and the client computer (the computer that you start remote control).
Note: AnyViewer has also released apps for mobile devices. You can download it from Google Play on Android devices or App Store on iOS devices to access computers from mobile devices.
Step 2. Run AnyViewer on both devices. Create an AnyViwer account and log into it on both devices.
Step 3. On the client computer, go to "Device", locate the computer that you want to access, click it and click "One-click control".
After a while, you can see the desktop of the remote computer and use it as if you were physically present. If you want to connect the remote computer in privacy mode, it's required to upgrade your account to Professional or Enterprise. And you can get other rights, including faster file transfer, high-quality image, assigning more devices for secure one-click access, etc.
One-click unattended remote access is more suitable for accessing your own computer frequently. To access a remote computer for offering one-time support, you can choose to send a remote control request.
Step 1. Run AnyViewer on both devices. On the client computer, input the device ID of the host computer, choose "Remote control", and then click on “Connect”.
Step 2. Choose "Send a request to your partner" and click "OK". If your partner has shared the security code, you can choose the second option.
Step 3. On the host computer, there will be a pop-up window. "Allow" should be chosen for establishing a remote connection.
Now, I guess you already address RDP keeps closing issue through the above ways, like scanning, running Startup Repair, and so on. Of course, if all the ways cannot make sense for you, you can also try the third-party remote access software, AnyViewer, which can rapidly and safely solve your problem.