Solved

Change the path to the home folder

Posted on 2009-07-07
6
623 Views
Last Modified: 2013-11-25
I need to change the path to the home folder on all the user profile on the domain about 600  is there a way to do a batch or some kind of scrip without having to do one at a time.
0
Comment
Question by:leod1
6 Comments
 
LVL 57

Expert Comment

by:Mike Kline
ID: 24797370
How are your users setup on their home folder.
Is it something like \\servername\sharen\%username%
and now it is chaning to \\Newserver\share\%username%  
Admodify is a good tool for this (easy to undo changes if you need to)
http://www.codeplex.com/admodify
Thanks
Mike
0
 

Author Comment

by:leod1
ID: 24798040
Now it something like \\servername\home\%username%
i need to change it to  \\servername\homedir\%username%
0
 
LVL 9

Expert Comment

by:djpazza
ID: 24798591
if you just need to change the path you can do this in a login script.  Did you need to move the old home directory to the new location?
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 24799139
If you do end up going with admodify you would use the following in your profile path
\\servername\homedir\'%samaccountname%'
...see screenshot from my test server where the share is changed to new
test on a few accounts first to get a feel for it.
Thanks
Mike
 
 

adfind-new-home-drive.gif
0
 

Author Comment

by:leod1
ID: 24806902
I  need to change syntax only in AD based on existing home folders
I have two  file servers and users got split between two of them based on login name ex:
\\server1\home\%username% need to be changed to \\server1\homedir\%username%
and
\\server2\home\%username% need to be changed to  \\sever2\homedir\%username%
0
 

Expert Comment

by:RichCrooks
ID: 25024162
mkline71 ...

Is the syntax '%samaccountname%' as in your text
or %'samaccountname'% as in your graphic?
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Documentation is a big contentious issue in Agile. There is a reason for this. When you start your presentation on Agile you start by going through the 4 statements of agile manifesto (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now