If option two doesn't do it, this might be a good starting point (Deji's option 2) http://tinyurl.com/5jne3
The code here assumes you already have the userdn. That's easy enough to get if they're all in the same ou. If not, modify Deji's script -- it'll be faster. Once you bind to the user object, read the homedrive attribute, parse it (split is a pretty good function for this) and then read it back into the variable you want and update the user object with the vars you want. Cool scripts Deji!! I'm going to have to start crawling that site a bit more :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 21, 2004 5:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [ActiveDir] home directory modifications Depending on how brave you are, one of these MAY help you. http://www.akomolafe.com/DesktopModules/ViewDocument.aspx?DocumentID=35 http://www.akomolafe.com/DesktopModules/ViewDocument.aspx?DocumentID=26 Sincerely, Dèjì Akómöláfé, MCSE MCSA MCP+I Microsoft MVP - Directory Services www.readymaids.com - we know IT www.akomolafe.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: [EMAIL PROTECTED] on behalf of James Payne Sent: Wed 7/21/2004 12:30 PM To: [EMAIL PROTECTED] Subject: [ActiveDir] home directory modifications I have about 200 users setup to connect h: to \\goofy\home\username. I am moving the data on \\goofy\home\ to \\mickey\home\. Is there a script laying around somewhere that would allow me to change this path in everyone's profile at once? It should would beat doing this manually for every user. Thanks again for any help you guys can provide. James List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/