Pages

Total Pageviews

Friday, September 28, 2012

Two Work Numbers in Lync Contact card

Today I was stuck in a strange issue , where in for a user there were two work number in lync contact card. After initial investigation I found out that in Active Directory the work Phone number is only the new number. I was wondering from where the old number is displayed . After some googling found the following ;) 

This is what happens when an attribute is changes in the Active Directory 

  • Lync retrieves the Update from AD  using Update-CsUserDatabase which runs evey minute 
  • This information is saved in RTcab and RTcab1
  • Every day at 1:30 ( default configuration ) the addressbook files will be generated using the information stored in RTCab and RTCab2
  • When the client signs in the address book is downloaded within 60 minutes.
  • To force the process we can add the reg key  : reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f. After adding the Reg Key close the lync client and delete the following folder %userprofile%\AppData\Local\Microsoft\Communicator\sip_<username@domain.com> and Start the client.
  • Insome cases , admin makes the changes but the user is on holiday or didnt login to the lync clinet then the updates will not be reflected. To force the update we can use following command : dbimpexp /hrxmlfile:”c:\export.xml” /restype:user /user:user@domain.com ( this is export the user data) . After exporting make the relevant changes in my case replace the old number with new number and save the XML file. Now we need to export the update xml file using : dbimpexp /import /hrxmlfile:”c:\export.xml” /restype:user /user:user@domain.com. Now only new phone number will be visible in the lync contact card 





Finding KMS server


Finding KMS server  in network 

There are occasions where we want to find the KMS server in a network .You can find the KMS server details using command " slmgr.vbs /dli "



Friday, September 21, 2012

Hot Memory Add

Enable - VM Hot memory add

By default you will not be able to add Memory ( RAM) to a running virtual machine. With vSphere4.0 you can add the memory while virtual machine is running using the following power shell script. 




  
Verifying the setting changes in vSphere client after the execution of above script 





These settings will not work until the virtual machine is shutdown and started again . Please note that the restart will not enable this setting. 


After the starting the virtual machine you will see the following configuration 





Following operating systems support the Hot Memory .