Want to keep RDP session alive
"I am connecting to Windows 7 via RDP using Windows 10. After about 16 minutes of idle time, the RDP freezes, so I have to kill the process from the Task Manager and then reopen the connection. Is there anything I can do on the client-side to keep the RDP session alive?"
How to keep remote desktop session alive?
It’s irritating enough for the RDP users to face RDP session disconnects frequently. Here we summarize 2 quick fixes to help you out of the issue and keep the Remote Desktop session alive.
Way 1. Adjust time limit in Group Policy Editor
Typically, the session timeout is 15 minutes but it could be depended on your security policy. Therefore, we can reset the time limit so that the RDP session won’t be limited by time.
Step 1. Press Win + R to invoke the Run dialog box. Type in "gpedit.msc” and hit OK to open Registry Editor.
Step 2. Navigation:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.
Find the three settings on the right pane:
Set time limit for disconnected sessions
Set time limit for active but idle Remote Desktop Services session
Set time limit for active Remote Desktop Services session
Step 3. Click on “Set time limit for disconnected sessions”, tick Enabled and then select ”Never” beside the “End a disconnected session”. Click on “OK”.
Step 4. And then click on “Set time limit for active but idle Remote Desktop Services session”, tick Enabled and then select Never. Click on “OK”.
Step 5. Click on “Set time limit for active Remote Desktop Services session”, select Enabled and then choose Never. Click on “OK”.
Way 2. Add a registry key
Adding a registry key to keep the RDP session alive is another useful solution to fix “the RDP disconnects or freezes”. Keep reading to get the concrete guides.
Step 1. Press Win + R and then enter “regedit”, and then press “Enter” key.
Step 2. Navigation : Computer\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
Right-click and click on “New” > “DWORD (32-bit) Value”.
Step 3. Name it as KeepAliveEnable. Double click on it, set the value data to 1, and tick “Decimal”. Click on OK.
Step 4. Once the action is completed, reboot the PC.
AnyViewer: offer continuous and persistent remote session
Friend, after trying the two ways shown above, is your RDP session keep alive? If RDP keeps the session from then on, we must say congratulations. But if the RDP session keeps timeout, you can use a remote access software-- AnyViewer, which can give you continuous and persistent remote connections.
With the easy operations, stable connection, and free charge, AnyViewer will give you an amazing experience. The flexible methods to connect for attended access and unattended access accordingly and no restrictions of AnyViewer can make your remote connection be more time and energy-consuming.
- Download and install AnyViewer.
- Make sure access to the Internet.
Realize remote access with one-click
Step 1. Sign up for an AnyViewer account and then sign in to this account on the two computers. Once logged in, the PC will be assigned to the account automatically.
Step 2. On the client computer, go to "Device", click the PC that you need to control, and click "Remote control" to achieve remote connection with one click.
Step 3. Now the remote control is successfully established.
Get Remote access by access code
Way 1. Input security code
Step 1. On the host computer, open AnyViewer, find Settings on the interface and then click on it.
Step 2. Then click on “Recipient”, choose the third option “Set my security code”, type in the security code and then click on “OK”. Return to the main interface.
Step 3. On the client PC, input the device ID of the host PC in the Partner ID box, click on “Connect”.
Step 4. On the client PC, a pop-up window will appear, choose the second option and then input the security code. Click on “OK”. Then you can enjoy a long-lasting connection.
Way 2. Send a control request
Step 1. On the client PC, input the device ID of the remote PC, and then click on “Connect”.
Step 2. On the client PC, for the pop-up option, choose the first one “Send a control request to your partner”, and then click on “OK”.
Step 3. On the host PC, click on "Allow" to receive the request control, then you can enjoy the remote session without any trouble.
2 top ways to keep RDP session alive are illustrated in this post. I guess you must realize “RDP keeping session”. However, if you’re still struggling to find ways to keep Remote Desktop alive, how about choosing AnyViewer? It is a great remote access software, which can give you definitely fantastic feelings on remote sessions.