Saturday, September 20, 2008

Adding Pictures to an Active Directory Account

I was hoping someone could explain the use of User Account pictures in 2008, is this feature expected to be integrated into AD at some point?
We are setting up 2008 Terminal Services and what I would like to do is automate the user account pictures for my users and link them to a central store of pictures. So if User "Alan Other" logs in he gets "AlanOther.bmp" pulled into his profile and set as his Picture.
I can script the fie moves etc, but what I can't seem to find is where to set the picture in the Reigistry.
The only thing currently open to us is to standarise the picture using Group Policy. 
Anyone any ideas?
This question was posted on Technet and had piqued my interest. The ability to add a picture to an Active Directory account is a stroke of genius, if only this doesn't bloat the AD database. I copied this code from Arricc. Included in the page is a snippet of a Sharepoint webpart. Another possible way of implementing this was described in Oddvar HÃ¥land Moe’s Blog. A third-party tool, Exclaimer's AD Pictures, is able to add pictures in AD with  an intuitive GUI.  

The problem with integrating this feature with an enterprise's Active Directory lies not just in a rather inflated AD database but in the aspect of replication as well. Replication becomes an concern once the AD database grows tremendously. It is going to be a tossup for AD administrators to pick  between this nifty feature versus AD size and replication concerns.

1 comment:

Andy King said...

AD Pictures has now been replaced by a new FREE product called Outlook Photos.