?
Solved

Change the path to the home folder

Posted on 2009-07-07
6
Medium Priority
?
628 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 57

Accepted Solution

by:
Mike Kline earned 1500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Introduction to Processes
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

801 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