Exchange 2003/2010 - Add a photo to user contact


Exchange 2010 will allow photos directly, but the AD link still needs to be done using powershell and it is fastidious.

In this case  we need to make a small Schema extention (exchange 2010 SP1 do this procedure automatically

The bulk command is the following and here you can find relative screensho:

Import-RecipientDataProperty -Identity "Bharat Suneja" -Picture -FileData ([Byte[]]$(Get-Content -Path "C:\pictures\BharatSuneja.jpg" -Encoding Byte -ReadCount 0))

More details


Instead we can use a .dll supplied by Oli Dewdney which adds a ‘photo’ tab to the user properties in AD. Instructions are above.

Install on any computer that you want to use to manage AD.

to download a DLL file ADExt.dll download Here (Mirror Here).


AD Users and Computers Extension
By Oli Dewdney


copy the file to somewhere 'global'
use .Net's InstallUtil to register the DLL:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe adExt.dll

or the 64-bit version if your OS is 64-bit:

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe adExt.dll

(you need permission to write to the directory where adext.dll is and to the registry HKLM\Software\microsoft\MMC)

use the /u flag to uninstall.

if the install fails with a could not load assembly error try running mmcperf.exe that will register the MMC assemblies in the GAC.


This extension adds two tabs to the User Property Sheet. One allows you to view/edit the EmployeeID and EmployeeNumber
AD fields and the other to edit/view the jpegPhoto and thumbnailPhoto fields.

When loading the thumbnailPhoto Field, the image is resampled down to  96 x 96, and the jpeg quality is chosen to have the size < 10KB

when loading the jpegPhoto the image jpeg quality is reduced to have the size < 100KB.

the fields are not editable if you dont have write access for the field.

[original article]


Exchange 2003 non da la possibilita' di aggiungere le foto ai contatti, se invece utilizziamo questa .dll da registrarsi su un DC in modo da aggiungere un campo per mettere le foto la soluzione è utilizzare il seguente articolo:


You could be interested to these similar article too:

Exchange 201X- How get all users who have a forwarding email, redirect rule and delegate permission on them mailboxes or Outlook folders

Exchange 2013 - How to monitor it with powershell command

Exchange - Microsoft Exchange Server User Monitor

Exchange 2010 - Poster dell'architettura

Exchange 2010 - How to monitor Exchange Health

Exchange 2010 - How export to pst single mailbox or all mailboxes with single command or powershell command

Exchange 2013 - How to monitor it with powershell command

Exchange 2010 - How to get info on Mobile devices connected via ActiveSync, quarantine any new device and remote Wipe them.

Exchange 2003/2010 - Add a photo to user contact