Access denied when copying over \home\%username% directories using Robocopy
I am trying to copy over redirect profile directories \home\%username% from a 2008 Server R2 to a CIFShare on a NAS using Robocopy while applying the /e switch. Everything copies ok except for folders that have the lock sign over the folder. When trying to copy these the program echoes "access denied wait 30 seconds" and just repeats indefinitely. I realize these are currently being used by other users.
My question is does Robocopy have a switch or function in it that will allow these type of files/folders to be copied regardless of being in use or locked?
thank you
Microsoft Legacy OSWindows Server 2008
Last Comment
Matt_Kennedy
8/22/2022 - Mon
pjam
I am not a Robocopy user, but in my humble opinion you definitely do not want to try and copy an open or locked file. Most like will cause corruption to the file.