By David Wiseman (Administrator)published 11 May 2010
My Rating:
Vote
Rating:
Not Rated
Views:12115

Bulk AD Users - How to Update Photos

Planning

You should consider the pros and cons of storing photos in Active Directory as well as the implecations of bulk loading photos in Active Directory. 

Lets say that you have 20,000 user accounts in your Active Directory and you are planning to load a 100Kb (on average) photo of each user into Active Directory.  You would expect to need an additional 1953Mb of storage ([20000*100]/1024) on each of your domain controllers.  You also need to consider the affect on replication - especially if you have some sites with slow or saturated links.

You also need to consider the affect of applications downloading photos from Active Directory - these might add some additional load on your domain controllers so you will need to size them accordingly.

The impact of storing photos in Active Directory is likely to be quite minimal for an organisation with a few hundred user accounts, small image sizes and a handfull or of domain controllers in a single site.  The impact on a larger organization with thousands of user accounts accross multiple sites with slow links and larger image sizes could be quite severe.

You will need to decide which attribute to use to store your photos or you might be planning to extend the schema with your own attributes.  A number of attributes exist that are designed to allow you to store user photos in Active Directory.  Assuming you are using "Windows 2003 Server" you can use any of the following attributes:

Attribute Name Multi-Valued? Max File Size Description
photo Yes - An object encoded in G3 fax as explained in recommendation T.4, with an ASN.1 wrapper to make it compatible with an X.400 BodyPart as defined in X.420.
thumbnaillogo No 32Kb Logo
thumbnailphoto No 100Kb Picture
jpegphoto Yes - Used to store one or more images of a person using the JPEG File Interchange Format [JFIF].

Tips

  • Plan carefully - make sure you understand the impact of storing photos in Active Directory.
  • Keep file sizes as small as possible.
  • Run bulk updates at "quiet" times.
  • You might want to run tests in a QA environment before making changes to your live system.  Also ensure that you have recent backups of your Active Directory.

Updating

You can use Bulk Modify to bulk load user photos into Active Directory.  Click the "Other" tab and select the attribute you want to use to store your employee photos.  Select the "Replace" option if appropriate.

Bulk AD Users - Modify Photos 

The Octet string editor should be displayed.  You will need to change the "Edit value as" option to "Path to file".  This will allow you to load a different photo for each user. 

If you click the "Sample user photo path" link, the following filename format will be used "\\server1\photoshare\username.jpg".  You can edit the path as required using either a UNC or a local path.  The XML PlaceHolder "sAMAccountName" is replaced with the username (Pre Windows 2000 Logon name).

XML Log File

Photos are handled slightly differently in the XML log file.  If old and new files were encoded inside the XML log file, the size of the log file would grow quite large.  Any file over 1Kb is stored in an external file and a pointer is inserted into the XML log file. 

The photos will be stored in a file called "_data".  The file does not have a file extension but it is possible to open the file by using a zip application.




  Post Comment
Order By:  
User Comments
      
lcklck16
Posted On: 9/7/2017 6:49:04 PM

the north face outlet
rolex oyster perpetual
coach factory outlet
ugg outlet online
tory burch outlet
canada goose canada
cheap oakley sunglasses
louis vuitton handbags
louis vuitton uk
ugg boots
polo ralph lauren outlet
salvatore ferragamo belt
coach purses
hermes belt outlet
michael kors bags
adidas stan smith shoes
moncler jacket outlet
yeezy 350 v2
michael kors handbags
michael kors outlet
giuseppe zanotti sneakers
north face outlet
supreme outlet
uggs uk
ferragamo shoes
north face outlet
uggs outlet online
moncler outlet
ray ban online
ray ban sunglasses
burberry handbags
mk väska
canada goose for sale
ugg boots
christian louboutin outlet
mbt outlet
ralph lauren outlet
ugg sale
red bottom heels
ugg boots
christian louboutin pas cher
coach outlet
rolex daytona
uggs classic boots
ugg boots
polo ralph lauren pas cher
prada outlet
versace glasses
birkenstock sandals
coach outlet online
adidas stan smith
ugg boots
oakley sunglasses cheap
coach factory outlet
fitflops shoes
coach outlet
michael kors outlet online
ugg outlet
cheap snapbacks
ugg australia
louis vuitton handbags
manolo blahnik outlet
christian louboutin outlet
canada goose outlet
ugg australia boots
coach outlet
burberry sale
ralph lauren uk
mlb jerseys
true religion sale
polo ralph lauren
nike store
ugg outlet
ugg outlet online
michael kors outlet
polo ralph lauren
ugg outlet
adidas trainers
ugg outlet
michael kors outlet
cheap jordans
nike huarache
thibaut courtois jersey
ugg slippers
ralph lauren outlet
coach outlet
ugg boots clearance
ray ban sunglasses outlet
nike outlet store
ugg outlet store
north face outlet
uggs australia
ralph lauren polo
kate spade outlet online
nike factory store
michael kors handbags
superdry uk
louis vuitton outlet
carrera sunglasses
mulberry sale
cheap jordan shoes
cartier glasses
nike huarache shoes
uggs outlet
ray ban sunglasses
adidas yeezy
ralph lauren uk
michael kors outlet
true religion jeans
cheap jordan shoes
coach factory outlet
kate spade outlet store
mk väska
fitflops shoes
mk taschen
ugg boots
ugg boots outlet
cheap ugg boots
air jordan retro
louis vuitton
christian louboutin shoes
christian louboutin outlet
michael kors outlet
coach outlet online
north face clearance
polo outlet
north face jackets
uggs outlet
ugg boots on sale 65% off
michael kors handbags
polo ralph lauren
coach factory outlet
burberry outlet store
north face outlet
polo ralph lauren outlet
coach factory outlet
nike factory store
yeezy boost 350
hermes birkin bag
louis vuitton outlet
ugg australia
supreme shirts
michael kors handtaschen
christian louboutin sale
louis vuitton outlet
prada outlet online
new balance shoes
discount nike
ugg australia
pandora jewelry outlet
coach outlet 70% off
ugg boots
cheap jordans
hermes birkin bag
canada goose outlet
uggs outlet
ray ban sunglasses
christian louboutin uk
chaussure yeezy
coach factory outlet
pandora charms
moncler outlet
ray ban aviators
uggs canada
air jordan shoes
canada goose outlet
ugg sale
michael kors outlet
cheap michael kors handbags
ugg boots
adidas yeezy boost 350
nfl jerseys from china
ugg boots
ugg boots
longchamp bags
longchamp handbags
adidas outlet
moncler jacket
fitflops sale
kate spade outlet
michael kors outlet
mcm handbags
burberry sale
true religion outlet
michael kors handtaschen
ugg boots
ray ban sunglasses
mlb jerseys
prada glasses
louis vuitton outlet
uggs outlet
ralph lauren outlet
the north face outlet
nike roshe run
pandora jewelry
ugg boots
uggs clearance
cheap nfl jerseys
montblanc pens
occhiali da sole ray ban
hermes handbags
burberry sale
coach factory outlet online
paul pogba jersey
uggs outlet
pandora bracelet
michael kors outlet online
ralph lauren
michael kors outlet
coach outlet online
fitflop outlet
air max uk
salvatore ferragamo outlet
adidas nmd runner
north face outlet
michael kors outlet clearance
cheap mlb jerseys
mulberry uk
coach outlet
adidas trainers uk
vans outlet
ugg boots uk
oakley sunglasses wholesale
ralph lauren outlet online
fitflops sandals
polo ralph lauren
louis vuitton outlet
louis vuitton outlet
burberry canada
nike trainers uk
ugg sale
tory burch outlet
pandora charms
coach outlet online
polo ralph lauren sale
retro jordans
prada outlet
birkenstock sandals
ugg boots outlet
nike air max 95
moncler jacket
ugg outlet
north face jackets
yeezy boost 350
gafas de sol ray ban 2017
ray ban sunglasses
coach factory outlet online
michael kors outlet clearance
oakley vault
michael kors handbags
nike running
fitflops sale clearance
cheap ugg boots
polo ralph lauren outlet
michael kors outlet
coach factory outlet
mont blanc ballpoint pens
ray ban sunglasses outlet
oakley sunglasses outlet
ugg sale
coach factory outlet
tommy hilfiger canada
cheap nhl jerseys
true religion jeans
nike blazer
nike nfl jerseys
north face jackets
rolex online store
montre rolex homme
longchamp outlet store
cheap ugg boots
nike air max
oakley sunglasses outlet
armani sunglasses
michael kors canada
coach outlet
canada goose sale
polo ralph lauren outlet
burberry outlet online
ralph lauren t shirt
superdry clothing
christian louboutin shoes
louboutin outlet
ralph lauren outlet
ugg boots on sale
michael kors handtaschen
oakley sunglasses
ugg factory outlet
ugg boots
true religion outlet
air jordans
cheap oakley sunglasses
adidas originals
kate spade sale
rolex datejust 2
fitflops clearance
coach outlet
cheap uggs outlet
michael kors outlet clearance
coach factory outlet
true religion jeans
polo ralph lauren outlet
hermes birkin handbags
ugg boots on sale
supreme clothing
louis vuitton handbags
nike shoes
cheap jordan shoes
polo ralph lauren uk
jordan shoes
cheap nba jerseys
true religion jeans
christian louboutin outlet
fitflops shoes
michael kors outlet
ray ban sunglasses
kate spade sale
coach outlet online
nfl jerseys wholesale
nike outlet 30% off
michael kors handbags
adidas shoes
ugg boots
yeezy 350 v2
ugg boots outlet
the north face
canada goose canada
ugg outlet
adidas outlet clearance
polo ralph lauren shirts
cheap jordan shoes
michael kors uk
ray ban sunglasses
cheap nfl jerseys
ralph lauren italia
coach outlet
longchamp outlet online
adidas outlet store
uggs slippers
yeezy boost 350 v2
pandora charms
columbia outlet
adidas wings
michael kors uk
burberry outlet
ugg clearance
ray ban sunglasses
canada goose outlet
birkenstock outlet
ugg australia
true religion uk
oakley sunglasses
cheap ray ban sunglasses
canada goose clearance
nike nfl jerseys
fitflops sale
moncler uk
nhl jerseys wholesale
prada outlet
uggs outlet online
cheap jerseys
coach outlet
cheap jordans
cheap oakley sunglasses
uggs outlet
swarovski crystal
oakley sunglasses
michael kors
ugg boots
ugg boots outlet
michael kors handbags
prada handbags
mac cosmetics makeup
ugg boots
coach outlet
ugg boots
authentic nfl jerseys
coach outlet
ray ban sunglasses
red bottoms
ralph lauren polo
oakley sunglasses
ray ban sunglasses
oakley sunglasses
christian louboutin shoes
salvatore ferragamo
north face jackets
jordan shoes
kate spade outlet
uggs clearance
ugg boots clearance
dior sunglasses
michael kors canada
ugg boots clearance
pandora jewelry
ray ban uk
coach bags
the north face outlet
uggs outlet
tory burch outlet online
oakley sunglasses wholesale
michael kors outlet
ugg canada
ralph lauren españa
true religion jeans
cheap nfl jerseys
nike factory outlet
ray ban sunglasses
michael kors outlet 75% off
coach outlet online 70% off
pandora canada
d&g sunglasses
tory burch outlet online
ugg slippers
michael kors damenuhr
ugg factory outlet
nike air max online
under armour clearance
adidas jeremy scott
coach factory outlet
ugg outlet
ralph lauren shirts
cheap oakley sunglasses
converse shoes
adidas soccer cleats
ugg outlet
montblanc pen
tory burch
coach factory online
oakley sunglasses cheap
ray ban zonnebril sale
nfl jerseys
coach outlet store online
coach handbags
coach wallets
mulberry bags
coach outlet online
chenyingying20170908