Skip to content

Error 12: ERROR_INVALID_ACCESS

Windows Error Code Lookup: Decode Windows error codes: Win32, HRESULT (0x80070005), NTSTATUS, Windows Update, msiexec and blue-screen stop codes, with what to check next.

Paste the number from an error dialog, event log, script or setup log: 0x80070005, 80070005, -2147024891, 1603, 0xC0000005, a stop code like 0x7E, a name like E_ACCESSDENIED, or a few words. You get every way Windows could mean that number (an HRESULT often wraps a Win32 error, so 0x80070005 is "Access is denied" too), its parts decoded, and what to check for the common ones. Names and messages come from the Windows SDK headers and Windows' own message tables; see Microsoft's System Error Codes and [MS-ERREF] for the full references.

Try: 0x80070005, 1603, 0xC0000005, 0x800F081F, 0x8024402C, 0x7E, access denied

0x0000000C = 12

Win32 error 12 (0xC)

ERROR_INVALID_ACCESS

The access code is invalid.

As an HRESULT (HRESULT_FROM_WIN32): 0x8007000C

If it's a robocopy exit code

Failure: some files or folders couldn't be copied.

  • 4 Mismatches: Some files or folders didn't match their counterpart (for example a file in one place and a folder of the same name in the other).
  • 8 Failures: Some files or folders couldn't be copied, even after the retries (/R).

Robocopy's exit codes are bit flags, not Windows errors: 0-7 mean it worked. Robocopy Command Builder.