use robocopy to migrate user redirected folders
Posted on 2009-04-29
I am trying to move all our users redirected folders over from our old SBS 2003 to our new SBS 2008 server. The migration has been fine but to complete it i need to get their folders and data across. The following folder redirects are set up:
- Application Data
- My Documents
I have tried to use robocopy with the settings shown in the migration guide but I have the following questions:
1. I am finding I cannot just specify the \\SERVER\RedirectedFolder location as the directory to copy from and too. Instead I have to specify another level down (i.e. \\SERVER\RedirectedFolder\user) is this correct or can I copy the entire directory and all users in 1 go.
2. I am getting constant access denied messages in the log files, the problem seems to be that explicate permissions are set on the users redirected application data and desktop folders. Is there an easy way for an administrator to get around this or what can I do?
At present I can set the administrators group as the owner and then give it permission to the folder and in turn any files or sub-folders below. However this is going to take a while for all users and it also seems to fall over on certain files and folders for a reason unknown to myself. It will start to replicate the permission changes to all subfolders and then decide it cannot change permission and ownership on the Microsoft file among others in the application data folder. So it seems to work for some but not all sub-folders. Then it will not apply changes to a file called desktop.ini which I cannot find in the place it specifies (show hidden files and folders is selected). These problems are therefore causing the robocopy process to fail as it cannot access the files or folders.
Any help getting the user data across with as much detail so as to cause as little headache as possible would be great.