原文地址:http://bbs.winos.cn/thread-40940-1-1.html
OCS服务器的ABS默认是24小时同步一次,UC测试的时候很不方便,但是也可以手工同步,方法如下:
1. 在安装Office Communications Server的那台机器上面执行以下的命令:
a. c:\program files\Microsoft Office Communications Server\Server\Core\>ABServer.exe -regenUR
b. c:\program files\Microsoft Office Communications Server\Server\Core\>ABServer.exe -syncnow
2. 然后将Communicator关闭并且确认communicator.exe这个进程已经不再运行了。并且清空所有的IE的缓存文件。
3. 在安装communicator的客户机上面进入当前登录用户的配置文件:
%userprofile%\Local Settings\Application Data\Microsoft\Communicator
删除galContacts.db这个文件
4. 这时候您登陆communicator,一个新的包含用户电话号码更新的galcontacts.db 会重新生成。
方法2:
关于第一个值,可以在WMI中改:
1. 登录OCS服务器.
2. Start, Run, wbemtest.
4. 在Windows Management Instrumentation Tester dialog box, 点击Connect.
5. 在Connect dialog box, 输入root\cimv2 in the Namespace box.
6. 点击Connect.
7. 点击Open Instance.
8. 在Get Object Path box, 输入MSFT_SIPAddressBookSetting,.
9. 在Object Editor for MSFT_SIPAddressBookSetting dialog box, 点击Instances.
10. 双击MSFT_SIPAddressBookSetting=@.
11. 修改属性InternalURL
至于修改通讯簿的同步时间,参考以上步骤,修改属性RunTime即可。默认是130,就是1:30am。
Using WMI to Configure Address Book Server Settings
http://technet.microsoft.com/en-us/library/bb967671.aspx