How to Configure Session Limits and Timeouts on Forefront Unified Access Gateway Server

Forefront Unified Access Gateway (UAG) is a reverse proxy and VPN solution that provides a number of new features, including support for more devices, secure remote access to corporate resources for employees, business partners, and vendors on both managed and unmanaged PCs and mobile devices. UAG also offers a combination of connectivity options such as reverse proxy, VPN (especially SSL VPN), Direct Access, and Remote Desktop Services. In this article, I will show you how to configure session limits and timeouts on Forefront Unified Access Gateway (UAG) server using Forefront UAG Management.

  • “Inactivity Timeout” in UAG is defined as follows:
    o Login page inactivity: default is 30 seconds.
    o Portal home page inactivity: default is 300 seconds for non-privileged endpoints.
    o Application inactivity: default is 30 minutes.


  • UAG also defines a “Scheduled Timeout” as follows:
    o Privileged: default 60 minutes.
    o Non-privileged: default 1440 minutes.
    o A scheduled timeout occurs whether or not there is any activity.


By this default definition, your site will be logged out after 30 seconds of inactivity, a time frame which some may find to be uncomfortably restrictive. Let’s resolve it then.


  • Open the Forefront UAG Management Program:


  • Under HTTPS Connections node in the UAG form, select the Configure button:


  • In Advanced Trunk Configuration [UAG], select the Session tab.
    o In Session Configuration, adjust Maximum concurrent sessions as desired.
    o In the Default Session Setting, adjust Inactivate session timeout (seconds) as desired:


Remember that, Maximum value of Inactivate session timeout (seconds) is 999999. If you type a number greater than 999999, you will see the warning message pictured below:


As well, the Maximum value of Automatic Scheduled Logoff Timeout is 16666. If you type a number greater than 16666, you will see the following warning message:


After you’ve completed the configuration, you must click the Activate Configuration button to complete the process:


Good luck!

All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019


Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.

Essentials Suite

Essentials Plus Suite

Bamboo Premier Suite

Project Management Suite

Knowledge Management Suite

External User Manager


For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!