N/APosted on - 01/20/2012
Our outlook 2010 contains user photos whose thumbnail attributes are in the Active Directory. Some of our users wish to change their photos. How can we remove the cache and later synchronize Outlook with the Active Directory again? I will greatly appreciate your assistance.
Enabling users to change photos with thumbnail attributes in the Active Directory
To update the photo on the Active Directory, you just need to do a minor change on the schema active directory and then update the GAL and offline address book for the cache mode clients.
To do this, you just need to first register the Schema MMC snap in option on the server to be able to make the changes. To register just type the following command regsvr32 schmmgmt.dll on the command prompt.
You then need to go to Star > Run > MMC > Add Schema snap in.
Then on Active Directory Schema snap in, expand the attributes nodes option and then look for the thumbnail photo attribute or component.
Choose the properties option and choose replicate this attribute to the Global Catalog > ok.
You can then now start uploading the pictures on your active directory via the Import-recipientDataproperty component.
It is going to look like this: Import-RecipientDataProperty -Identity "Bharat Suneja" -Picture -FileData ([Byte]$(Get-Content -Path "C:picturesBharatSuneja.jpg" -Encoding Byte -ReadCount 0)).
You can then use this command to update your Address Book Update-OfflineAddressBook "Default Offline Address Book". Additional code you can use is this (Get-OfflineAddressBook "Default Offline Address Book").ConfiguredAttributes.