Import thumbnailphoto in AD from jpg

The script below will import Jpg file as a thumbnail photo in Active Directory

~Pouyan

Fix – FRS Event 13508

To fix the problem, you need to designate a domain controller to be authoritative for the Sysvol replica set.

1. Stop the File Replication service on the PDC emulator FSMO role holder.
2. Use the Registry Editor to navigate to:

3. Double-click the BurFlags Value Name, a REG_DWORD data type, and set the data value to D4, using the Hex radix.
4. Exit the Registry Editor.
5. Start the File Replication service.

Note: If the BurFlags Value Name is set to D4 (authoritative) on more that one replica, conflicts and collisions will occur.

Export thumbnailphoto from AD to jpg for all users

For exporting users thumbnail photo from AD to jpg for all users you can use script below:

~Pouyan