Hi Christopher, Do you want to run it on x86 or x64 ?
Thank you, Best Regards, Valter Anjos Systems Engineer Front End Services Vodafone Portugal Mobile: +351912104234 Phone: +351210914725 Email: [email protected] [Description: Vodafone]<http://www.vodafone.pt/> Sede: Av. D. João II, Lote 1.04.01, Parque das Nações, 1998-017 Lisboa, Portugal vodafone.pt <http://www.vodafone.pt/> This message and any files or documents attached are strictly confidential or otherwise legally protected. It is intended only for the individual or entity named. If you are not the named addressee or have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Please also note that transmission cannot be guaranteed to be secure or error-free. From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, October 24, 2013 15:03 To: [email protected] Subject: [MDT-OSD] RE: Windows 8 (8.1) set user profile image from AD image. That would be awesome. I saw some new api's mentioned for the picture. But I am not, and will never be a programmer. Christopher Catlett Consultant | Detroit [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/> From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of Anjos, Valter Ângelo Brites, Vodafone Portugal EXT Sent: Thursday, October 24, 2013 4:41 AM To: [email protected]<mailto:[email protected]> Subject: [MDT-OSD] RE: Windows 8 (8.1) set user profile image from AD image. Hi Christopher, Actually I had to implement that in my Golden Image. So basically my solution is composed by two .net applications: one to pull the image out of AD and save it and the other one to apply it as account picture. I'm using two scheduled tasks to run the executable files. The first scheduled task is used to execute the executable which pull the picture out of AD, so this one is running with the user account, and the other one is running with the system account to apply/set it as account picture. If you want I can send you the C# applications code and the scheduled tasks exported and ready to import. Thank you, Best Regards, Valter Anjos Systems Engineer Front End Services Vodafone Portugal Mobile: +351912104234 Phone: +351210914725 Email: [email protected]<mailto:[email protected]> [Description: Vodafone]<http://www.vodafone.pt/> Sede: Av. D. João II, Lote 1.04.01, Parque das Nações, 1998-017 Lisboa, Portugal vodafone.pt <http://www.vodafone.pt/> This message and any files or documents attached are strictly confidential or otherwise legally protected. It is intended only for the individual or entity named. If you are not the named addressee or have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Please also note that transmission cannot be guaranteed to be secure or error-free. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of [email protected]<mailto:[email protected]> Sent: Wednesday, October 23, 2013 19:24 To: [email protected]<mailto:[email protected]> Subject: [MDT-OSD] Windows 8 (8.1) set user profile image from AD image. So my customer has profile images for all users in AD (used for Lync and Outlook) and wants to leverage them for User Profile Images on machines with win8 (8.1). Has anyone come across an automated way of setting profile images on a per user basis? I have been able to pull the image out of AD and save it to a file on the client, but have not been able to find a method to set it as the active image. My preferred method would be to run this as a user PowerShell login script, since I don't want users to be able to change the image to something whacky. The code below searches AD for the user object, and saves the image blob to a file (if it exists). $username=$env:username $domain=$env:userdomain $pictures=[Environment]::GetFolderPath("MyPictures") $path="$pictures\$domain+$username.jpg" $photo = ([ADSISEARCHER]"samaccountname=$($username)").findone().properties.thumbnailphoto if($photo -eq $null) { exit } else { $photo | set-content $path -Encoding byte Christopher Catlett Consultant | Detroit [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/>
<<inline: image002.gif>>
<<inline: image003.jpg>>
