Link to home
Start Free TrialLog in
Avatar of teodor76
teodor76

asked on

to change profile and home path

I have to change the user profile path and home folder path.There are about 600 users on the Active Directory.how can I change these paths with script or other tool?
I want to change the server2 as server1 like this attached..
profile-home.JPG
Avatar of IT_SteveT
IT_SteveT
Flag of United States of America image

The easiest way to do this is to create a group policy object and apply it to the appropriate people by placing them in an OU or by limiing "apply gpo" permissions to a specific group. Then add the users to the group or OU.

Then you can get away with changing it only once.
Avatar of MarTeeNez
MarTeeNez

I think you want to reset what %HOMESHARE% and %HOMEPATH% are set to.  There used to be a way in Group Policy, but that was during an NT to 2000 migration (you could revert).  Have you played with Group Policy settings for User config, Admin Templates, System, User Profiles??  
SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of teodor76

ASKER

I added only these user name John and Martin to list in domain list and I changed their user and home folder paths in this way
profile path=\\server2\profiles\%username%                      
home path=\\server2\home\%username%
but results is in this way
profile path=\\server2\profiles\username                    
home path=\\server2\home\username
unfortunately I dont see usernames
 
Simply open the organsiational unit where the accounts are located and press control A to select all the objects, right click and click properties click profile, set the path on this page and it will be applied to all of the selected objects.