With a little creative scripting, any mass changes to AD properties are
possible...

The home directory is stored in the 'homeDirectory' attribute...  Here's
just a snippet...

'-- Modify user home directory
Set objUser = GetObject _
    ("LDAP://cn=jdoe,ou=SomeOU,dc=mydomain,dc=com";)
objUser.Put "homeDirectory", "\\ServerA\HomeDirs\jdoe"
objUser.Put "homeDrive", "H:"
objUser.SetInfo 

Using ADO, you can read in all the accounts and then parse through the
recordset and set all the accounts to the new home directories.....  

Somebody may have already written a script to do this...  Visit Google
and see what turns up...  :)

Joe Pochedley
Weiler's Law - Nothing is impossible for the man who doesn't have to do
it himself.


-----Original Message-----
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 04, 2004 8:42 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Change home profile path for entire AD

We are moving to a new server for everyone's home folder this weekend.
Is
there a way to change in AD for everyone the server location?  Right now
we
have it to set each users home folder to their P drive with
\\server1\share
.  The new server will be \\server2\share

Any way of making this change without having to change each user?

Thanks in advance

Rob

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/

Reply via email to