Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Update lync's address book manually

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Update lync's address book manually (sometimes the address book is out of sync, so that the lync account cannot be searched)

Update-CsAddressBook

1. Synchronization cycle between Lync database and AD

Some AD operations such as adding new Lync users and changing the phone properties of Lync users take a certain amount of time to synchronize to the Lync database.

We can see the time period of the synchronization with the following command

We can see from the results that the synchronization period is 1 minute.

2. Synchronization cycle from Lync2010 database to server-side ABS

Sometimes we will find that after adding a new Lync user, we cannot find the new user by entering some characters of the new user's sip address in the client's search bar. We must enter the full sip address to find the user.

This is because the AD change operation of the new Lync user is synchronized to the Lync database after 1 minute, but it has not been synchronized to the server-side ABS file.

We can see the synchronization cycle from the Lync2010 database to the server-side ABS with the following command:

From the RunTimeOfDay value, we can see that the synchronization time of ABS is 1:30 every morning, only once a day, and all new users built during the day can only be found through fuzzy search the next day.

We can change the synchronization time of each day through the Set-CaAddressBookConfiguration-RunTimeOfDay command.

In addition, Lync2010 provides a command to synchronize ABS and the database immediately, as follows:

After 5 minutes, we can verify that the synchronization is complete in the event log.

Client address book synchronization time

When you log in to the Lync client, it takes 1-60 minutes for the client to download the GalContacts.db and GalContacts.db.idx address book files from the server ABS

So you will not be able to use fuzzy search at this time, and when you search for "-", the client will prompt you that the address book is synchronizing

We can let the client download the GalContacts.db and GalContacts.db.idx files immediately by changing the following registry values or using script updates (there is a difference between XP and WIN7). You can enter the following command at the command prompt:

Reg Add HKLMSoftwarePoliciesMicrosoftCommunicator / v GalDownloadInitialDelay / t REG_DWORD / d 0 / f

But when the GalContacts.db and GalContacts.db.idx files already exist on your computer, you still need to wait for the difference between the 1-60 minute comparison and the server ABS before you synchronize the address book.

We can exit the client, delete the GalContacts.db and GalContacts.db.idx files, and re-download the complete address book files GalContacts.db and GalContacts.db.idx as soon as we log in.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report