0X000000C0

Fix EXE Marked Invalid (0x000000C0) on Windows

Windows Errors Beginner 👁 8 views 📅 May 28, 2026

That .exe file isn't corrupt—Windows thinks it's been tampered with. Usually a download or copy that got flagged. Quick fix: right-click and unblock.

The 30-Second Fix: Unblock the File

You downloaded the file from the internet, right? Windows added a security marker to it. That's what's causing the 0x000000C0 error. Had a client last week who spent an hour on this—one right-click fixed it.

  1. Right-click the .exe file and choose Properties.
  2. On the General tab, look at the bottom. See a checkbox that says Unblock? Check it.
  3. Click Apply, then OK.
  4. Run the file again.

If you don't see that checkbox, skip to the next section. This fix works for maybe 70% of cases.

The 5-Minute Fix: Remove the Zone Identifier via Command Line

Sometimes the Unblock box doesn't show—especially on older files or network drives. The quickest way to strip that marker is with PowerShell. I've done this on dozens of machines that had locked-up installers.

  1. Open PowerShell as administrator. Hit Start, type PowerShell, right-click and choose Run as administrator.
  2. Type this command, replacing C:\path\to\file.exe with your actual file path:
Unblock-File -Path "C:\path\to\file.exe"

Hit Enter. No confirmation message usually means it worked. Try running the EXE again.

Still broken? The file could be genuinely corrupt. Let's check the hash next.

The 15-Minute Fix: Verify File Integrity and Re-download

If unblocking didn't help, the file itself is damaged—downloaded wrong, copied over a bad network, or caught a corruption on disk. I've seen this with large installers from third-party sites that cut the download short.

Step 1: Check the file hash

If the installer page shows a SHA-1 or SHA-256 hash, you can verify it. Open PowerShell and run:

Get-FileHash -Path "C:\path\to\file.exe" -Algorithm SHA256

Compare the output to the hash on the download page. If they don't match, the file is corrupt. Trash it.

Step 2: Re-download cleanly

  • Use a different browser (Chrome vs Edge) to avoid cached bad copies.
  • Clear your browser's download history first.
  • If you have an antivirus, temporarily pause real-time scanning during download—sometimes it snips a few bytes.
  • Download to a different folder (not the default Downloads folder—some security policies lock that).

Step 3: Check disk health

Recurring 0x000000C0 across multiple EXEs? Your drive might be failing. Run chkdsk from an admin Command Prompt:

chkdsk C: /f

You'll be asked to schedule a scan on next reboot. Do it, reboot, and let it finish. I had a client whose entire print queue died because of a failing hard drive—this error was just a symptom.

Step 4: Scan for malware

Some malware intentionally marks executables as invalid to hide from removal tools. Run a full scan with Malwarebytes or Windows Defender offline scan. If you find anything, clean it, then re-download the EXE from a known-good source.

One more thing: If you're running the EXE from a network share or USB drive, copy it to the local desktop first. Windows sometimes blocks execution from non-local drives even after unblocking.

By now, you should have that program running. If not, the issue is likely the original file itself—find an alternative version or contact the software vendor.

Was this solution helpful?