I am migrating our file server from 2008 to 2012R2. Currently i am trying to copy all folders and files to our new server but the command isnt working correctly.

Here is what i am using:

robocopy G: D:\ /e /zb /COPY:DATSOU /r:3 /w:1 /v/ /eta /log+:C:\robocopy\copyreport.txt /tee /sec /tbd

But for some reason its NOT working.. it cant find the specific path. I checked and double checked and im 100% sure the paths are working and are correct.. i had an error before with the log file but resolved that.

Anyone knows whats wrong?

Actual error: 2015/04/22 11:24:56 ERROR 3 (0X00000003) Accessing Source Directory G:\ The system cannot find the path specified.

  • 1
    Does dir G: actually shows G drive content ? is G drive a local drive or a remote mapped shared directory ? – krisFR Apr 22 '15 at 11:27
  • I mapped our network drive to G: and i double checked it, it shows me content. – SenorWaffels Apr 22 '15 at 11:33
  • 2
    Try replacing G: with \\server\path_to\directory within your Robocopy command line – krisFR Apr 22 '15 at 11:34
  • Also tried that, thats the reason we mapped the drive because that method isnt working. – SenorWaffels Apr 22 '15 at 11:37
  • Could be permissions, can you try and run your CMD window as administrator. – Ankh2054 Apr 22 '15 at 11:45

I had the same problem with a mapped drive. I found the answer on the technet forums.

This is caused by running with highest privileges(on the local system). Please run as the user not as administrator. Normally the administrator only has local access, no access to the server.

This problem is caused by running the command as administrator (on the old server). Running the command as a non-administrator user will resolve the problem.

  • 2
    Almost 2 years late, but thanks a bunch! This is still very useful! – SenorWaffels Mar 13 '17 at 8:57
  • 1
    Awesome, this worked for me perfectly, thanks so much! – Steve Bauman Jan 23 '19 at 21:00
  • 1
    Would you mind showing how to run it as user and not administrator? I simply double click my batch file to run it, and I don't click "Run as administrator". My robocopy is very simple: robocopy "C:\Users\user\Documents" "F:\Backup Full" I get error 2 instead of error 3 compared to op though: "ERROR 2 (0x00000002) Accessing Destination Directory C:\Users\user\Documents\ The system cannot find the file specified." The script was working a few days ago, and I made no changes but suddenly it didn't work today. – CreativiTimothy Jul 5 '20 at 2:04

changing the registry key for short files names as part of the cleanup suggested in the Best Practice Analyzer. The key it told me to modify was this one.


It was defaulted to 2 and I had changed it to 1 as per the BPA. I went back and changed it back to 2 and reran the robocopy script without errors.

Just wanted to let people know what worked for me:

reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v NtfsDisable8dot3NameCreation ^
 /t REG_DWORD /d 2 /f

My windows 10 1909 (18363.778) was defaulted 0. I just set 2 and now it works like a charm.

Thank you

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.