Exchange Server | Murat Bilici

"Empower your knowledge"

Set the Forms-Based Authentication Public Computer Cookie Time-Out Value

This topic explains how to configure the cookie time-out values for public computers by using forms-based authentication on an Outlook Web App virtual directory on a Microsoft Exchange Server 2010 Client Access server

Note : The Outlook Web App virtual directory must be configured to use forms-based authentication

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the “Registry Editor” entry in the Client Access Permissions topic

  1. On the Client Access server, sign in by using the Exchange administrator account, and then start Registry Editor (regedit).
  2. In Registry Editor, locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchange OWA
  3. On the Edit menu, point to New, and then click DWORD Value. In the details pane, name the new value PublicTimeout.
  4. Right-click the PublicTimeout DWORD value, and then click Modify.
  5. In Edit DWORD Value, under Base, click Decimal.
  6. In the Value Data box, type a value in minutes between 1 and 43,200 for a maximum of 30 days. Click OK.

Note: You must restart the Forms-Based Authentication service for the changes to take effect. On the Client Access server, go to Start > Administrative Tools > Services. In Services, right-click Microsoft Exchange Forms-Based Authentication service, and then click Restart.

Set Powershell cookie time-out values public computer using FBA

set-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA’ -name PublicTimeout -value <amount of time> -type dword

Note : You must restart the Forms-Based Authentication service for the changes to take effect. On the Client Access server, go to Start > Administrative Tools > Services. In Services, right-click Microsoft Exchange Forms-Based Authentication service, and then click Restart.

This example lets you view the public computer cookie time-out value.

get-ItemProperty ‘HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA’ -name PublicTimeout

 

 

Categories: Exchange 2007 - Exchange 2010 - Powershell - Tip&Tricks