How to Set the Forms-Based Authentication Public Computer Cookie Time-Out Value
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic explains how to configure the cookie time-out values for public computers by using forms-based authentication on a Microsoft Outlook Web Access virtual directory that is on a Microsoft Exchange 2007 server that has the Client Access server role installed.
Warning
Although automatic time-out reduces the risk of unauthorized access, it does not completely eliminate the possibility that an unauthorized user might access an Outlook Web Access account if a session is left running on a public computer. Therefore, make sure that you warn users to take precautions to avoid risks.
Before You Begin
To perform the following procedures, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Note
The Outlook Web Access virtual directory must be configured to use forms-based authentication.
Warning
Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.
Procedure
To use Registry Editor to set the cookie time-out values for public computers using forms-based authentication
On the Client Access server, log on by using the Exchange administrator account, and then start Registry Editor (regedit).
In Registry Editor, locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchange OWA
On the Edit menu, point to New, and then click DWORD Value. In the details pane, name the new value PublicTimeout.
Right-click the PublicTimeout DWORD value, and then click Modify.
In Edit DWORD Value, under Base, click Decimal.
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 Internet Information Services (IIS) by using the command
iisreset/noforce
for these changes to take effect.
To use the Microsoft Command Shell to set the cookie time-out values for public computers using forms-based authentication
Open the Microsoft Command Shell and run the following command to set the public computer cookie time-out value:
set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA' -name PublicTimeout -value <amount of time> -type dword
Note
You must restart IIS by using the command
iisreset/noforce
for these changes to take effect.Run the following command to view the public computer cookie time-out value:
get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Services\MSExchange OWA' -name PublicTimeout
For More Information
For more information about the authentication methods that you can use to help secure Outlook Web Access, see Managing Outlook Web Access Security.
For more information about how to configure Outlook Web Access to use forms-based authentication, see How to Configure Forms-Based Authentication for Outlook Web Access.
For more information about how to configure the cookie time-out value for a private computer, see How to Set the Forms-Based Authentication Private Computer Cookie Time-Out Value.