En ciertas oportunidades, como se discutió en Administrando la descarga de OAB en Outlook 2003 y 2007, necesitaremos que los usuarios no consulten la OAB (Offline Address Book) del cache local de Outlook y, en cambio, utilicen los Domain Controllers en manera online.
De esta manera, no tendremos el problema que algunos clientes de Outlook no encuentren a los usuarios creados recientemente.
En Administrando la descarga de OAB en Outlook 2003 y 2007 podemos configurar através de una GPO (Group Policy) qué comportamiento tendrán los clientes Outlook ante la descarga de la OAB. Pero el problema es que aún así, el usuario puede descargar la Address Book manualmente y Outlook nunca la actualizaría con lo cuál estamos en un escenario peor que antes :).
NOTA: Una vez que Outlook haya descargado una copia Offline de la OAB, le dará prioridad a ésta, esté actualizada o no. Siempre usará la copia local. Es por eso que antes de ejecutar este procedimiento es necesario eliminar los archivos con extensión .oab que se encuentren en el perfil de los usuarios.
Estos scripts (en formato VBS), para Outlook 2003 y Outlook 2007 crean unas claves en la registry para que la OAB nunca sea descargada y evitan que se descargue manualmente, grisando la opción en el menú "Enviar/Recibir" del Outlook.
Para Outlook 2003:
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,0strKeyPath1 = "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
Para Outlook 2007:
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,0strKeyPath1 = "SOFTWARE\Policies\Microsoft\Office\12.0\Outlook\DisabledCmdBarItemsList"
strValueName1 = "TCID1"
strValue1 = "5658"
oReg.CreateKey HKEY_CURRENT_USER,strKeyPath1
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath1,strValueName1,strValue1
Además, hacerles saber que este método es mejor que el mencionado en Administrando la descarga de OAB en Outlook 2003 y 2007.
Pablo Vernocchi
Microsoft Exchange MVP
MCSE + M / MCSE + Sec
https://mvp.support.microsoft.com/profile/Pablo