Solved

Change the path to the home folder

Posted on 2009-07-07
6
624 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Read about the ways of improving workplace communication.
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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…

785 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