CLR Error 80004005: How to Fix it

First, run the Microsoft .NET Framework Repair tool

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • To fix the CLR Error 80004005, reinstall the affected app, restart the Windows installer service, or perform a system restore.
  • Keep reading to know the detailed steps for each method.
CLR Error 80004005: How to Fix it

If you are getting the CLR error 80004005, The program will now terminate prompt when trying to launch a program; this guide will explore the probable causes and offer WR-tested solutions with step-by-step instructions to help you fix the issue in no time.

What is CLR error 80004005?

The CLR error 80004005 is an error code associated with Microsoft’s .NET Framework, specifically the Common Language Runtime (CLR), which indicates the .Net application has encountered an issue that prevents it from running. The main causes are:

  • Missing or corrupted .Net Framework file or components.
  • Outdated or corrupted software using .Net.
  • Windows OS is outdated.

How do I fix CLR error 80004005?

Before proceeding with any steps to get rid of CLR error 80004005, go through the following preliminary checks:

  • Restart your computer and try launching the affected app.
  • Ensure your Windows OS and drivers are up to date.
  • Right-click the app, and select Run as administrator.

1. Run the .Net Framework Repair tool

  1. Go to the .Net Framework Repair tool website and download it.clr error 80004005 - Download the repair tool
  2. Double-click the downloaded file, then click Next.Step 1
  3. Click Next again.Step 2 repair tool
  4. Follow the on-screen instructions to complete the process. Once done, click Finish and restart your computer.Finish - repair tool

2. Repair/reinstall the affected app

  1. Press Windows + I to open the Settings app.
  2. Go to Apps, then select Installed apps.Apps, installed apps -clr error 80004005
  3. Locate the app, click the three dots, and select Advanced options.Advanced options
  4. Go to the Reset section and click the Repair button.Repair the app -clr error 80004005

If you are still getting the fatal error, then you need to reinstall the app; follow these steps to do so:

  1. Locate the app under the Installed apps, click the three dots, and select Uninstall.Uninstall the app -clr error 80004005
  2. Click Uninstall again to confirm the action.Uninstall 1
  3. Go to the official website and download the app again.

Follow the same steps to reinstall the latest version of .Net Framework from the official website; this can also help you fix other issues like Docker CLR error 8000405.

3. Re-register and restart the Windows installer service

Note icon NOTE
If running the .Net Framework Repair tool didn’t help, try registering and restarting the Windows installer service manually.
  1. Press the Windows key, type cmd, and click Run as administrator.CMD elevated -clr error 80004005
  2. Type the following commands one by one to unregister, then re-register the Windows installer service and hit Enter after every command:
    • msiexec /unreg
      msiexec /regserver
  3. Close the command prompt window, then reboot your PC

Re-registering a service can fix this installation issue and could also fix the clr.dll file missing error; read this guide to know more. Next, you need to restart the service, for that, follow these steps:

  1. Press Windows + R to open the Run box.Services RUn command -clr error 80004005
  2. Type services.msc and click OK to open the Services app.
  3. Locate the Windows Installer service and double-click it.Windows INstaller
  4. Make sure the Startup Type, is set to Automatic.
  5. Under Service status, click Stop, let the service stop, then click Start.Stop the service
  6. Restart your computer.

4. Restore your PC to the last known configuration

  1. Press Windows + R to open the Run box.rstrui command Restore point -clr error 80004005
  2. Type rstrui and click OK to open the System Restore window.
  3. Select Choose a different restore point and click Next.Next Choose a different restore point
  4. Choose a restore point and click Next.System restore Show more restore points
  5. Click Finish.Finish

Windows will restart and restore your computer to the chosen point. If the restore point did not successfully complete, then check out this guide.

5. Perform an in-place upgrade

  1. Go to the Windows 11 official website.
  2. Click Download Now under the Create Windows 11 Installation Media option.
  3. Double-click the downloaded file and click Accept on the Windows 11 Setup page.Accept - clr error 80004005
  4. Choose the language and edition of Windows and click Next.Next
  5. For the Choose which media to use option, select ISO file and click Next.Select ISO file
  6. Choose a location and click Save. The process will take some time; once done, click Finish.Save the file
  7. Next, right-click the ISO file and select Mount.Mount the file
  8. Double-click the setup.exe file and follow the on-screen instructions.Setup file - clr error 80004005
  9. Before clicking Install, make sure the Keep personal files and apps option is selected, then wait for the process to complete.

Remember always to have an updated .NET Framework version installed on your computer to avoid CLR errors and other installation issues.

Did we miss a step that helped you fix the error message? Feel free to mention it in the comments section below. We will happily add to the list.

More about the topics: Windows 11