[FAQ] How can we modify the Remote Web Access session timeout?

[FAQ] How can we modify the Remote Web Access session – Microsoft Partners Forum:

[FAQ] How can we modify the Remote Web Access session timeout?



What’s the Remote Web Access session ideal timeout and how can we modify the session timeout on  Server 2012 Essentials?








Increase the time-out parameter in the Server 2012 essentials web.config file. This file is under C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\web.config.


1. Use a text editor, such as notepad.exe, to open C:\Inetpub\remote\web.config


2. Locate the following line:


<sessionState mode=”InProc” cookieless=”false” timeout=”20″/>


3. Replace “20” (which represents 20 minutes) with a larger number, to allow your uploads to finish.


Note: If you change the timeout value to more than 200 minutes, you must also change the executionTimeout value. Search for the following line


<httpRuntime maxRequestLength=”2097151″ executionTimeout=”12000″/>


and increase the executionTimeout value (Measured in seconds) to the same or greater value than the timeout value (measured in minutes)


4. Save your change, close the file, and then log off from your Remote Desktop Connection session.


Best Regards,


April Zhao

Microsoft Partner Support Community

Comments are closed.

Post Navigation