How to increase session timeout in Exchange 2007

On a network I administer some of the end users wanted the session timeout in OWA to be longer so they don’t have to keep logging in after being idle for a while. This is an Exchange 2007 environment. This setting is stored in the registry on the Exchange server with the Client Access Server (CAS) role installed. There is two ways to modify this setting. One of course is to go into the registry and add the key for this value and set this value to the amount of time you want the session timeout to be.  The second way to set the session timeout is a by running a PowerShell command.

 

NOTE: The session timeout is set in seconds for example 1800 seconds = 30 minutes.

 

Option #1

1. Log on to the Exchange server as an Administrator.

2. Start the registry editor (regedit.exe).

3. Navigate to the Hkey\Local Machine\SYSTEM\CurrentControlSet\Services\MSExchange OWA subkey.

4. From the Edit menu, select New – DWORD value.

5. Enter a name of TrustedClientTimeout and press Enter.

6. Double click on the new value you just added and set it to the amount time you want the session timeout to be, set the type to decimal, and click OK.

7. Now you have to reset IIS. Open a command prompt and type: iisreset /noforce

 

Option #2

1. Log on to the Exchange server as an Administrator.

2. Go to strat>>programs>>Exchange and open Exchange managemnt shell.

3. In the Exchange management shell (PowerShell) type: set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA’ -name TrustedClientTimeout -value 1440 -type dword

4. Now you have to reset IIS. Open a command prompt and type: iisreset /noforce

 

That is it now your session timeout limit will be increased.

Print Friendly, PDF & Email

Leave a Comment