Question Locked

Robocopy all permissions & Robocopy open files

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to copy a home directory from Windows server 2012 to Windows server 2016 using robocopy. Now, my issue is, would robocopy be able to bring over all the permissions as well? because it is not!!
Not all the permissions copied.
Also, is there is a way to copy open files using robocopy automatically?
and if there is another better solution, I am all ears, please!

Note : why this discussion closed ?

7 replies

by rproffitt

Basic file permissions might make it over such as read only and others but since it's between systems, ACL (access control lists) which are not part of a file's "permissions" will not.

I see nothing broken about that. File system permissions (ACL) are server/host specific and would have to be worked out per job.

As to open files, such can be corrupt as you know so it's a good idea to skip those.

-> IF you must copy such then do so in an OFFLINE mode. Here's how I do that. I boot up another OS and copy the files out since any OS restrictions or apps that have a lock on said file are now inactive.

by kjonathanjo1982

yes ,I am trying to robocopy the user profiles and I saw most of these links on the provided link , most of the permissions still not applied .

Also I didn't find any way to copy the in use files

by Wizard57M-TR

Microsoft has published tools and procedures to migrate from 2012 to 2016, then subsequently to later 2019 versions. Attempting to just copy a user folder from one server to another will not work.

by rproffitt

That you might be new to this area. I also can't guess if you are actually migrating profiles (which has been addressed in this discussion.)

But copying an open file is easy. I do this all the time. I boot some Linux from an USB stick and copy the files over. No locks to contend with as the Windows OS is not running.

by rproffitt

You migrate user profiles. You copy files.

See Wizard's reply about Microsoft procedures and such. Once in a while you have IT staff that doesn't want to follow the documented procedures.

This discussion is closed to new replies.