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
Windows Server 2003Active DirectoryVB Script
Last Comment
kieran_stoney
8/22/2022 - Mon
IT_SteveT
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.
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??
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.
Then you can get away with changing it only once.