Sunday, October 31, 2010

How to Change timeout for CompanyWeb, RWW, OWA websites in SBS 2008

 

 

By default in SBS 2008, companyweb is set to time out in 30 minutes if there is no user activity .Your organization may require a user to work all day in companyweb , and you may think that this time out is affecting productivity. The organization may have security concerns and may want to reduce the timeout

I list below simple steps to change the time out. But make sure you take a backup of the configuration before making any changes.

1) Open companyweb.

2) Click Site Actions and then click Site Settings.

3) Under Galleries section, click Master pages.

4) Right-click default.master, point to Send To and then click Download a copy and Save the file in a convenient location.

5) Make a backup copy of this file and open in notepad.

6) Once in notepad , click Ctrl+f and Locate “function EndSession”

It will look like this

//this value indicates after how many miliseconds

var LOGIN_SESSION_TIMEOUT_VALUE = 1800000;

function EndSession()

7) The time out here is specified in milliseconds , and you guesses it right the 1800000 value is the default timeout .

8) Modify the 1800000 value to the desired timeout.

9) Save the file. The file should not be saved as default.master.txt. but as default.master

10) In CompanyWeb , click Upload, and select the default.master file. Leave the box “Add as a new version to existing files” checked and click OK.

11) After the document is uploaded, click OK.

12) If you are having problems , then the file you uploaded is not default.master but default.master.txt.

 

 

How to change Idle time out for RWW

 

To change the client time-out setting for Remote Web Workplace . the default value is set to 30 minutes

1. Open Registry Editor and browse to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SmallBusinessServer\RemoteUserPortal

If the RemoteUserPortal key does not exist , you can create it .Also make sure that you have the correct spelling in correct case.

3. Create a DWORD (32-bit) value named “PublicTimeOut “

4. In the Value data box, enter the number of minutes that you want to elapse before

the Remote Web Workplace session times out.

5. Click ok to exit.

To change the server time-out setting for Remote Web Workplace. The default value is set to 30 minutes:

1. Open IIS manager

2. 3. In the left pane, double-click the name of the server to expand the tree.

4. Double-click Sites to expand it, and then double-click SBS Web Applications to expand it.

5. In SBS Web Applications Home, double-click Session State.

6. In Cookie Settings, change the Time-out to the desired amount of time. The time is in seconds.

. Click Apply to save the changes.

How to set Idle time out for OWA

 

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

Using the Registry

  1. Open regedit on CAS (client access server) server and browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchange OWA
  2. Create new DWORD Value. In the details pane, name the new value PublicTimeout.
  3. In the Value Data box, type a value between 1 and 43,200. This value is in minutes.
  4. Restart The Microsoft Exchange Forms-Based Authentication service.

Important

  • If the client timeout value is GREATER THAN the server timeout value, The RWW page will log you off after the client timeout value and return you to the RWW logon page without displaying any message.
  • If you opened OWA from the link within RWW, the OWA page will also be logged off and returned to the OWA logon page when you click anything within OWA.
  • If the client timeout value is EQUAL TO or LESS THAN the server timeout value, The RWW page will log you off after the client timeout value and display a message indicating the same.
  • If you create a key named PrivateTimeout instead of PublicTimeout , it will affect the private/trusted computers. You can also use powershell to do the same.
  • OWA Public TimeOut, default is 15 minutes. OWA Private TimeOut default is 8 hours.
  • If you opened OWA from the link within RWW, the OWA page will remain open until the OWA idle timeout is reached (default is 15 minutes).
  • The RWW timeout does not affect the companyweb timeout.

1 comment:

  1. i am looking for these information it is very useful steps that you have posted on your blog keep updating these steps. you have done nice work

    sbs 2008

    ReplyDelete