Quarantine or remove any detected threats before proceeding. 2. Uninstall the Corrupted Application

To fix the "file corrupted" error, follow these steps to clear out the damaged data and secure your system. 1. Run a Virus Scan Malware often modifies program files, causing corruption. Open or your preferred antivirus. Select Virus & threat protection . Choose Full scan to check every file on your drive.

Type the following command to check deployment images and press Enter: DISM.exe /Online /Cleanup-image /Restorehealth Use code with caution.

Because the error message explicitly warns you to check for viruses, this must be your first step. Even if you believe your system is clean, malware could be actively compromising your applications. Quarantine or remove any detected threats before proceeding

Right-click the downloaded installer and choose Run as administrator . Troubleshooting Other Causes (If the Error Persists)

Click on Virus & threat protection in the left sidebar.

Now that you’ve verified your system is clean and hardware is healthy, it’s time to reinstall. But don’t just reinstall over the old installation—that might keep corrupted registry entries or leftover files. Select Virus & threat protection

If the error returns immediately after a fresh install, you likely have a deeper hardware issue (RAM or disk) or a persistent driver-level infection. In that case, consider a Windows Reset or consult a professional.

If a virus altered the app or the initial installation was faulty, a simple "over-the-top" reinstallation might not work. You need to purge all corrupted remnants first.

: Security software frequently misidentifies legitimate application files as threats, quarantining or modifying them. type Windows Security

Click the Start menu, type Windows Security , and press Enter.

Type DISM.exe /Online /Cleanup-image /Restorehealth and press . (This fetches healthy system files from Windows Update servers).

The error message is alarming, but it’s also a helpful diagnostic tool. It forces you to slow down and check your system’s health rather than blindly reinstalling and hoping for the best.