I am in the process of migrating few NAS shares from one storage to other. I am using robocopy to do the migration. Let me try to explain the issue. Sorry in case if its lengthy.

I have cifs share created in my source share\nas-strg1\data. Once we create this share we provide this to the team and they create multiple folders underneath and setup Security and Special permissions as required. All I have access is to \nas-strg1\data and I cannot open \nas-strg1\data\proj1 since they have restriced the access for example. I have my destination \nas-strg1\data with full write access to me. (Everyone Full Control). My expectation is to copy the whole bunch of fodlers to the destination with same permissions. I tried using robocopy with below command and it gives access denied error 5. Can you please suggest best way to do this migration smooth.

I tried /B as well, but my user (domainname\myuser) doesnt seems to be having backup rights.

robocopy "\xx.xx.xx.xx\mytest\testing" "C:\myproj\testing" /E /SECFIX /Copy:DATSO /MIR /IS /IT /log:project.txt /TEE

Do we need to have full traverse permissions? Are there any work around?

I have about 800 folders with various permission under each folder. Any help is much appreciated


Please use a account that can access all files. How do you do the backup if even an admin can't look the file ?

If you use a service account for the backup, use the robocopy under that account.

If anything fail, please take ownership of the drive to be able to copy the data, but be aware you might have to redo from stratch the security on the new drive.

|improve this answer|||||
  • Thanks for quicker response. I am thinking to have a AD level account and try. If not I need to take ownership. But the issue is they have restricted taking ownership in special permissions. That being said, can you please advice any other solution. Also taking ownership on 800 folders which has data of about 50TB will take weeks. Are there any other solution to do the same – Mig_sat Feb 18 '16 at 18:38
  • Also can you please point me to taking ownership steps or Microsoft link. Sorry I am new to Windows. – Mig_sat Feb 18 '16 at 18:42
  • This makes no sense to me. Why don't hey just give you the permissions you need to copy the files and folders? – joeqwerty Feb 18 '16 at 18:43
  • Also taking ownership on 800 folders which has data of about 50TB will take weeks. That's one reason they wanted to explore. Infact the total data to be migrated is about few hundreds to TB. – Mig_sat Feb 18 '16 at 18:45
  • @Mig_sat If any admin account cant read the data, you have no backup. You need an access. Like joeqwerty told, ask them access in worst case. (technet.microsoft.com/en-ca/library/cc753659.aspx) – yagmoth555 Feb 18 '16 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.