Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Unable to change thumbnail photo: Set-ADUser: cannot bind parameter 'Replace to the target.

$
0
0

Hi

Yesterday, I thought I would recreate a client's SharePoint web app in my (private) hyper-v setup.  since I wanted to import my test users profile / thumbnail photos into win2008R2 AD, I thought I would quickly search  Google images and select from the motley collection of Goths, Ghouls, Orcs, Trolls and Punk icons in jpe format. I know that we need to keep the image in jpeg format under 10K and around 200x200 px so I imported some of them into Gimp, resized and exported. They can all be previewed.

Next, I quickly wrote some PS to run on my AD that enumerates all my users in my AD (OU) and if it finds a corresponding thumbnail photo it replaces the the one currently in AD.So what can possibly go wrong.........

Note AD properties stores images in hex format. I have tried to set Binary but this setting does not seem to persist.

I am able to set the company property for my user but not apparently the thumbnail img .Any ideas .. do I need to run some wizzy importing program ? do I need to service pack my AD?

Regards

Daniel

                                 




Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>