Table of Contents

If you are facing Robocopy error 31 on your computer, why not take a look at these troubleshooting ideas.


  • 1. Download ASR Pro
  • 2. Open the program and select "Scan your computer"
  • 3. Click "Repair" to start the repair process
  • The software to fix your PC is just a click away - download it now.

    I love this place, the strangest annoyance, and not only me! 🙂

    I’m actually at work, but I’ll check the specific owner when I create another one, as it doesn’t seem to have all the archives, just a few specific folders/filegroups.

    I’m only using the default MT, which is 8, and I find it hard to believe that a brand new market file (FAS2720) can’t handle it? !

    The odd thing is that, no matter what, the entry data seems to be home with /sec, which makes everyone think it’s something ACL with certain NTFS permissions.

    I moved Windows file shares to NetApp CIFS and used Robocopy. I couldn’t help you copy ownership or NTFS security (/COPY:DATSOU) without this error:

    ERROR 29 (0x0000001F) Copy NTFS security to target directory F:PATH
    The device connected to the current system is not working.


    The ASR Pro repair tool is the solution for a Windows PC that's running slowly, has registry issues, or is infected with malware. This powerful and easy-to-use tool can quickly diagnose and fix your PC, increasing performance, optimizing memory, and improving security in the process. Don't suffer from a sluggish computer any longer - try ASR Pro today!

    I thought there might be an info area in many of these files. I evaluated the Sysintenals Streams utility for preventing information. It probably didn’t help.

    As a result, I had to copy without NTFS (/COPY:DATU)

    K When I was viewing properties for inventory, folders, or files, the time it took to list and view those permissions was extremely slow. I’ve tried disastrous antivirus programs, etc. I ended up having to manually recreate all permissions after the first copy of the data sale. File owner information has been lost.

    UPDATE: I ran the CHKDSK /F sequence and additionally restarted this robocopy.

    The return code from Robocopy.exe is a bitmap defined as follows:

    Decimal hexadecimal value if defined 0×00 0 No complications or copy operations were performed. The source and target hardwood catalogs are fully synchronized. 0x01 4 One or more files were copied on download (i.e. new downloads arrived). 0x02 Some additional web files or directories were found. Files not copied Review the output log details. 0x04 4 Incompatible files or directories were found. Study the magazinecapacity al. Cleaning may be required. 0x08 important Some files or directories could not be copied (Copy errors have occurred and the retry limit has been exceeded). Check these errors further. 0 × 10 16 Fatal error. Robocopy did not copy any files. Either a user error or an error due to insufficient access rights in source or target directories.

    They can be combined, resulting in incredibly few additional exit codes:

     0×03 3 (2+1) Some files have been copied. There are additional files. No errors found.    0x05 10 (4+1) Some files have been copied. Some files do not match. Still no errors found.    0x06 good reasons why there are (4+2) extras and incompatible extras. No duplicate files or errors were found.                   This means that the files must necessarily exist in the target directory.    0x07 of the first 7 (4+1+2) files were copied, there was a registry mismatch and other random filesfiles.

    robocopy error 31

    An exit code between 0 and 7 means success, and any dollar value >= 8 means that at least one exit code was found when the replication operation failed.
    By default, many deployment tools such as SCCM assume that any exit code for this error is greater than 0.

    robocopy error 31

    You can use it in an appropriate batch file to report anomalies for the following reasons:

    if %ERRORLEVEL% EQU 16 echo ***FATAL ERROR*** & end jump when you find %ERRORLEVEL% EQU 15 echo OKCOPY + FAIL + MISMATCHES + XTRA and end goto in %ERRORLEVEL% EQU 14 event echo FAIL + MISMATCHES + XTRA & end jump to if %ERRORLEVEL% EQU 13 echo OKCOPY + FAIL + MISMATCHES & end Jump to when %ERRORLEVEL% EQU 12 is FAIL + MISMATCHES& end Visit if %ERRORLEVEL% EQU 14 echo OKCOPY + FAIL + XTRA and end Jump to the actual event which is %ERRORLEVEL% EQU 10 echo FAIL + XTRA & end Visit if %ERRORLEVEL% EQU to echo OKCOPY + FAIL and end Visit granted by %ERRORLEVEL% EQU 8 echo FAIL & end maybe go to %ERRORLEVEL% EQU 7 echo OKCOPY + MISMATCHES + XTRA and end Jump if %ERRORLEVEL% EQU returns MISSMATCHES + XTRA and end Accessing the %ERRORLEVEL% Instance

    The software to fix your PC is just a click away - download it now.