Solved

Change the path to the home folder

Posted on 2009-07-07
6
622 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It was Monday morning and while heading to work those familiar feelings of frustration began to rise: How was I ever going to get my yard work done?! At the end of every weekend I discovered that I spent more time trying to decide what to work on th…
In Agile (http://en.wikipedia.org/wiki/Agile_software_development), time and again people ask this question "How would you estimate a release for a product?". When it comes from management they want to know the following: Calculate the man hours wh…
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 …

758 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

21 Experts available now in Live!

Get 1:1 Help Now