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
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:
- HKEY_CURRENT_USER\Software\Policies\Microsoft\Exchange\Exchange Provider
- "Limit SRS Incremental Download"=dword:00000000
- "Limit Manual OAB Download"=dword:00000000
- "Limit SRS Full OAB Download"=dword:00000000
- "Allow SRS Full OAB Download"=dword:00000000
This registry key prevents both automatic and manual (Send/Receive) download
of the Offline Address Book.
Note The "Allow SRS Full OAB Download" DWORD value prevents automatic downloads of the Offline Address Book.
- HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\DisabledCmdBarItemsList
- Add the string value "TCID1"="5658"
This registry key disables the Download Address Book command.
Modify the registry by using a logon script
The following script adds these registry keys.
const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Policies\Microsoft\Exchange\Exchange Provider"
strKeyValue = "Limit SRS Incremental Download"
strKeyValue1 = "Limit Manual OAB Download"
strKeyValue2 = "Limit SRS Full OAB Download"
strKeyValue3 = "Allow SRS Full OAB Download"
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 = "SOFTWARE\Policies\Microsoft\Office\11.0\Outlook\DisabledCmdBarItemsList"
strValueName1 = "TCID1"
strValue1 = "5658"
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath1
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath1,strValueName1,strValue1
wscript.echo "success!"
Note If you want to disable the final echo statement, type
' before the last statement in this script, as follows.
'wscript.echo "success!"
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