TechBuzzPro

How to Fix Bad Image Error on Windows

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you see a "Bad Image" error on Windows, it usually means a program or system component is trying to load a DLL (Dynamic Link Library) file that is corrupted, incompatible, or missing. This often happens after a failed update, a faulty installation, or malware. The quickest fix is to run the System File Checker (SFC) and DISM tools, then reinstall the affected app. Below is a step-by-step guide to resolve it.

What You'll Need

  • A Windows PC (the steps work for Windows 10 and Windows 11).
  • Administrator access to your PC (you'll need to run commands as admin).
  • Internet connection (for downloading official updates or reinstalling apps).
  • Patience—some steps take several minutes.

Step-by-Step

  1. Restart your PC. This clears temporary glitches. If the error only appears once, a restart may fix it.
  2. Run the System File Checker (SFC). This tool scans and repairs corrupted system files.
    1. Press Windows + X and select Terminal (Admin) or Command Prompt (Admin).
    2. Type sfc /scannow and press Enter.
    3. Wait for the scan to finish (it can take 10–20 minutes). If it finds issues, it will try to repair them automatically.
    4. Restart your PC after the scan completes.
  3. Run DISM to repair system image. If SFC doesn't fix it, use DISM (Deployment Imaging Service and Management Tool).
    1. Open the same admin terminal.
    2. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
    3. Wait for the process to complete (may take 15–30 minutes). It downloads healthy system files from Windows Update.
    4. Restart your PC.
  4. Identify which app triggers the error. The error message usually names a specific program (e.g., "Microsoft Word") and a DLL file (e.g., "xyz.dll"). Note down the program name.
  5. Reinstall the problematic application. This replaces any corrupted or missing DLL files that belong to that app.
    1. Go to Settings > Apps > Installed apps (Windows 11) or Settings > Apps > Apps & features (Windows 10).
    2. Find the app in the list, click the three dots (or the app name) and select Uninstall.
    3. Restart your PC.
    4. Download the latest version from the official website or Microsoft Store, then install it.
  6. Update Windows. Sometimes a pending Windows update fixes DLL issues.
    1. Go to Settings > Windows Update.
    2. Click Check for updates and install any available updates.
    3. Restart your PC.
  7. Run a malware scan. Malware can corrupt DLL files. Use Windows Security (built-in) or a trusted third-party scanner.
    1. Open Windows Security from the Start menu.
    2. Go to Virus & threat protection.
    3. Click Scan options and choose Full scan.
    4. Click Scan now and wait for it to finish.
  8. Use System Restore. If the error started recently, you can roll back your system to a point before the issue.
    1. Type rstrui in the Start menu and press Enter.
    2. Choose a restore point from before the error appeared (if available).
    3. Follow the on-screen instructions. This does not affect your personal files, but it may remove recently installed apps.
  9. Perform a Windows Repair Install (as a last resort). This reinstalls Windows while keeping your files and apps.
    1. Go to Settings > Windows Update > Advanced options > Recovery.
    2. Under Recovery options, click Reinstall Windows now (or "Fix problems using Windows Update").
    3. Follow the prompts. This may take an hour or two.

Common Mistakes

  • Skipping the restart after SFC/DISM. The repairs only take effect after a reboot.
  • Downloading DLL files from random websites. These are often malicious or incorrect. Never do this.
  • Running commands without admin rights. SFC and DISM require an elevated terminal; otherwise they fail.
  • Ignoring the app name in the error. If you don't know which app is causing it, you can't reinstall the right one.
  • Uninstalling the wrong app. Double-check the program name before uninstalling.

Tips

  • Always keep Windows updated to avoid DLL issues.
  • Use the official Microsoft Store or the developer's website to install apps.
  • Create a system restore point before making major changes (like installing new software).
  • If the error occurs only when opening a specific file, try opening the file with a different program to see if the issue is with the file itself.
  • Write down the exact error message—including the DLL name—before searching for help.

Troubleshooting

If the error persists after all steps:

  • Check if the error is related to a specific game or software that uses anti-cheat or DRM. Some anti-cheat systems (like Easy Anti-Cheat) can trigger "Bad Image" errors. Reinstall that anti-cheat software from the game's official launcher.
  • Try a clean boot to identify if a background service is interfering. Type msconfig in the Start menu, go to Services tab, check Hide all Microsoft services, then click Disable all. Restart and see if the error disappears. If it does, re-enable services one by one to find the culprit.
  • If the error mentions a specific DLL like msvcr120.dll or vcruntime140.dll, install the latest Microsoft Visual C++ Redistributable from Microsoft's official website.
  • If the error occurs when launching Windows itself (before you log in), try booting into Safe Mode (shift + restart > Troubleshoot > Advanced options > Startup Settings > Restart > press 4). If it doesn't appear in Safe Mode, a third-party driver or startup program is the cause. Use msconfig to disable startup items.
  • As a final step, consider a full reset of Windows: Settings > System > Recovery > Reset PC. Choose "Keep my files" to preserve personal data, but be aware that all installed apps will be removed.

Frequently Asked Questions

What does "Bad Image" mean exactly?

It means Windows tried to load a DLL file that is corrupted, incompatible with your system, or missing. The file may be part of an app or a system component.

Can I ignore the "Bad Image" error?

It's best not to. The error can cause the affected program to crash or not start. It may also indicate a deeper system issue that could worsen over time.

Will reinstalling Windows fix the error?

Yes, a clean install of Windows will definitely fix it, but it's a last resort because it removes all your files and apps. A repair install (keeping files) is less drastic and often works.

Why does the error appear after a Windows update?

Sometimes a Windows update can overwrite a DLL that an older program relies on, causing a compatibility issue. Reinstalling the affected program usually resolves it.

Is it safe to download DLL files from the internet?

No. Downloading DLLs from unofficial sources is risky—they can contain malware or be the wrong version. Always reinstall the program or use official Microsoft redistributables.

How long does SFC /scannow take?

It usually takes 10–20 minutes, but it can take longer on older or heavily used PCs. Let it run to completion without interrupting it.