Answer the question
In order to leave comments, you need to log in
Moving user profiles to another location. AD?
There is a server on windows 2008 server.
On it AD + DNS is lifted.
Each domain user has a folder (via a network drive connection) (home folder), of the type
\\srv1\Users.
Moved this folder with all its contents to another server and shared it. The new folder is now available under
\\srv2\Users
Q. Can I just change the link to the folder in the profile of each user? I ask because when you try to change the folder in the profile. The user enters the domain, the network drive is connected, but Windows writes "sync error" and refers to the old path, which is no longer available.
The client computer was rebooted, removed and entered into the domain again.
Answer the question
In order to leave comments, you need to log in
Get-ADUser -Filter * | Set-ADUser -HomeDrive ("\\srv2\Users\" +$_.sAMAccountName)
According to competent, this mapping is initially done by group policies per user.
So look there.
Recently dealt with a similar issue.
Found a TechNet article on profile migration. She helped me a lot. I hope it will be useful to you as well.
Migrating roaming profiles and remote home folders
And for the future - use DFS, then if you need to move something, the access path will be unchanged for clients.
Do you have links in your profile drawn or policy?
If the policy - then look in the policy, if in the profile, then Powershell to help
the network drive is connected, but Windows writes "sync error"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question