Computing.Net > Forums > Windows Server 2003 > Renaming users Home Directories

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Renaming users Home Directories

Reply to Message Icon

Name: quinla01
Date: February 7, 2006 at 01:25:16 Pacific
OS: server 2003
CPU/Ram: NA
Comment:

K, here’s a tricky one,

For some reason, the previous member of staff set up the home directory’s for users in strange format:

\\filestore101\users$\SiteName\UsersInitials

Eg. \\filestore101\users$\Site1\AQ1

In some cases there's even a site sub directory

EG. \\filestore101\users$\site1\HR\Aq1


Now this is causing a bit of a problem since i plan on migrating the data to a new file server. Now ideally, what I'd like to do is flatten the structure (i.e. no more subdirectories in the users$ share).
This would be simple enough if the users home directory was named after their username since i could simply flatten the structure and run a batch file to rename the home directory path to \\filestoreNew\users$\%username% however the user's folders are named in a completely random manner eg \AQ1 or \AQ01

So I’ve got a few options, non of which are ideal when you consider i have 800 users.

option 1) Recreate new users folders using the %username% command, then copy the contents manually from the old users folder to the new folder.

option 2) flatten the structure and keep the old folder names and then rename the path to the users home directory

I was wondering if anyone has a script or knows a programs that will rename a user home directory based on their username or if anyone has any other solutions to my problem.

Thanks

Andy




Sponsored Link
Ads by Google

Response Number 1
Name: heropsycho2177
Date: February 7, 2006 at 01:29:20 Pacific
Reply:

http://support.microsoft.com/kb/232692

Please help survivors of Hurricane Katrina!

www.redcross.org


0

Response Number 2
Name: quinla01
Date: February 7, 2006 at 02:20:31 Pacific
Reply:

I a aware of folder redirection, however this does not solve the problem. How would i move the contents from the old folders?

Thanks
Andy


0

Response Number 3
Name: Curt R
Date: February 7, 2006 at 06:37:23 Pacific
Reply:

Have you checked the Resource Kit for migration tools to help you?


0

Response Number 4
Name: heropsycho2177
Date: February 7, 2006 at 09:14:27 Pacific
Reply:

It helps in that you can flatten the structure, and then use folder redirection to complete the migration.

Please help survivors of Hurricane Katrina.

www.redcross.org


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Renaming users Home Directories

User Home Directory Permission www.computing.net/answers/windows-2003/user-home-directory-permission/8139.html

user home directories mapping wron www.computing.net/answers/windows-2003/user-home-directories-mapping-wron/9136.html

Home Directory Delays www.computing.net/answers/windows-2003/home-directory-delays/1744.html