By Ellie / Last Updated December 28, 2021

RDP session timeout

“I’m running Windows 2016 server. I utilize Remote Desktop Connection to connect to Windows 10 Enterprise. But the timeout period before the RDC requires me to re-enter my password appears to be fairly short, 5 to 10 minutes. How can I increase this timeout so I don’t have to input my password as frequently?”

How to troubleshoot RDP session timeout

RDP session keeps disconnecting can be pretty annoying. To configure timeout options for RDP, the changes need to be made on the host computer. Here in this post, we’ll introduce how to troubleshoot the RDP session timeout problem on Windows 10.

Step 1. Press Win + R to invoke the Run dialog box. Type in “gpedit.msc” and hit OK to open Registry Editor.

Run Box Gpedit.msc

Step 2. Navigate here: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits. Find the following 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

Set Up Session Time Limits

Step 3. Click Set time limit for disconnected sessions, set it to Enabled and then select Never.

Set Time Limit for Disconnected Sessions

Step 4. Click Set time limit for active but idle Remote Desktop Services session, set it to Enabled and then select Never.

Set Time Limit for Active But Idle Sessions

Step 5. Click Set time limit for active Remote Desktop Services session, set it to Enabled and then select Never.

Set Time Limit for Active Remote Desktop Services Sessions

Note: The above-mentioned setting configurations also apply to Windows Server 2016. Therefore, if you encounter RDP session timeout on Server 2016 when connecting from a Windows 10, you can configure your Server 2016 following the same steps above.

Another way to configure the time limits of RDP on Server 2016 is using Server Manager.

 Step 1. Click Windows icon and then open Server Manager.

Server Manager

Step 2. Under Dashboard, click Remote Desktop Services.

Remote Desktop Services Server

Step 3. Navigate here: Collections > YourCollection > Tasks > Edit Properties. (Replace YourCollection with your remote session.)

Collections Task Properties

Step 4. Click Session, set all the following three options to Never:

  • End a disconnected session
  • Active session limit
  • Idle session limit

    RDS Server Timeouts in Session Collection

AnyViewer: Free, stable, and long-lasting remote desktop software

If you’re tired of RDP session keeps disconnecting, you can use stable and long-lasting remote desktop software AnyViewer to keep your remote session always stay online. AnyViewer is developed by a strong technical team, which can provide you with free, stable, and long-lasting remote connections. Basically, as long as you are connected to the internet, the remote session with AnyViewer will keep going on.

AnyViewer provides you with two ways to remotely connect to another computer. Providing you’re trying to connect to a Windows 10 from a Windows Server 2016:

Download Freeware Win 11/10/8.1/8/7
Secure Download

Methods 1. Send a control request

Step 1. Install and open AnyViewer on both devices. On Windows Server 2016, input the device ID of Windows 10 and then click Connect.

Connect

Step 2. Click Send a control request to your partner.

Send a Control Request to Your Partner

Step 3. On Windows 10, click the green button to make the connection successful.

Request to Control Your Device

Methods 2. Input security code

Step 1. On Windows 10, go to Settings > Recipient. Tick the third option and then set the permanent security code.  

Accept Remote Control

Step 2. On Windows Server 2016, input the device ID of Windows 10 and then click Connect.

Connect

Step 3. Choose Input security code and click OK (the controller can input either the permanent security code or the temporary security code of the recipient).

Security Code

Conclusion

If RDP session timeout is driving you crazy, you can try to use the methods we mentioned in this post to configure Remote Desktop time limits. Or, you could also use another free remote desktop software AnyViewer, which can provide you with fast, stable, and long-lasting remote connections.