Microsoft KB Archive/921927

= How to prevent users from downloading the Offline Address Book without disabling Cached Exchange Mode =

Article ID: 921927

Article Last Modified on 9/13/2006

-

APPLIES TO


 * Microsoft Office Outlook 2003

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



INTRODUCTION
This article describes how an administrator can prevent Microsoft Office Outlook 2003 users from downloading the Offline Address Book without disabling Cached Exchange Mode. You can prevent both automatic and manual download of the Offline Address Book. You can also disable the Download Address Book command.



MORE INFORMATION
To prevent users from downloading the Offline Address Book without disabling Cached Exchange Mode, use one of the following methods to modify the registry on client computers. Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Modify the registry manually
Add the following registry keys for users whom you want to prevent from downloading the Offline Address Book. You can add these keys to clients manually, by using a logon script, or by using Group Policy.

Note Delete the .oab files from the user's profile before you make this change.

The keys and the values that are to be added to the keys are as follows:    &quot;Limit SRS Incremental Download&quot;=dword:00000000 &quot;Limit Manual OAB Download&quot;=dword:00000000 &quot;Limit SRS Full OAB Download&quot;=dword:00000000 &quot;Allow SRS Full OAB Download&quot;=dword:00000000

This registry key prevents both automatic and manual (Send/Receive) download of the Offline Address Book.

Note The &quot;Allow SRS Full OAB Download&quot; DWORD value prevents automatic downloads of the Offline Address Book.   Add the string value &quot;TCID1&quot;=&quot;5658&quot;</li></ul>

This registry key disables the Download Address Book command.</li></ul>

Modify the registry by using a logon script
The following script adds these registry keys. const HKEY_CURRENT_USER = &H80000001 strComputer = &quot;.&quot; Set oReg=GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; &_ strComputer & &quot;\root\default:StdRegProv&quot;) strKeyPath = &quot;SOFTWARE\Policies\Microsoft\Exchange\Exchange Provider&quot; strKeyValue = &quot;Limit SRS Incremental Download&quot; strKeyValue1 = &quot;Limit Manual OAB Download&quot; strKeyValue2 = &quot;Limit SRS Full OAB Download&quot; strKeyValue3 = &quot;Allow SRS Full OAB Download&quot; oReg.CreateKey HKEY_CURRENT_USER,strKeyPath oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strKeyValue,0 oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strKeyValue1,0 oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strKeyValue2,0 oReg.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strKeyValue3,0

strKeyPath1 = &quot;SOFTWARE\Policies\Microsoft\Office\11.0\Outlook\DisabledCmdBarItemsList&quot; strValueName1 = &quot;TCID1&quot; strValue1 = &quot;5658&quot; oReg.CreateKey HKEY_CURRENT_USER,strKeyPath1 oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath1,strValueName1,strValue1

wscript.echo &quot;success!&quot; Note If you want to disable the final echo statement, type ‘ before the last statement in this script, as follows. ‘wscript.echo &quot;success!&quot; For more information about how to use logon scripts, click the following article numbers to view the articles in the Microsoft Knowledge Base:

315245 How to assign a logon script to a profile for a local user

198642 Overview of logon, logoff, startup, and shutdown scripts in Windows 2000

265016 How to run a domain logon script in the foreground with the Start.exe command-line tool

Modify the registry by using Group Policy
For more information about how to add registry keys by using Group Policy, click the following article number to view the article in the Microsoft Knowledge Base:

323639 How to create custom Administrative Templates in Windows 2000

Keywords: kbhowto kbexpertiseadvanced KB921927

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.