Home  >  Article  >  How to Fix Bad Image Error 0xc0000020 in Windows 11/10

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

王林
王林forward
2023-04-16 18:07:067143browse

Many users have reported seeing the error Image error with error status 0xc0000020 while trying to open any application on their Windows PC. Depending on the application that is causing the error, the error message indicates that the specific DLL file associated with the application may not be designed to run on Windows or may be experiencing any issues. Basically, this error is the result of corruption of system files that are necessary for the application to run.

Possible causes of this error status 0xc0000020 are

  • Application installation/uninstallation issues
  • Malware infection
  • Problematic Windows updates

If you are facing this error image error on your PC while launching any program, then you are viewing the right article. Here we detail some of the methods that other users facing this issue have tried and successfully overcome them.

Fix 1 – Run SFC Scan

1. Press the Windows key and type Command Prompt in the search box.

2.Right-click Command Prompt in the search results and select Run as administrator.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

3. Enter the following command and Enter to execute.

sfc /scannow

4. The scan starts checking system files and replacing corrupted files. Wait for the scan to complete.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#5. After the scan is completed, try to open the application that threw the error to check if it has been fixed.

Fix 2 – Perform a DISM Scan

1. Press the Windows and R keys simultaneously on your keyboard to open Run.

2. Type cmd and press Ctrl Shift Enter to open the command prompt as administrator.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

3. When User Account Control prompts for permission, click Yes.

4. Enter the command and execute it.

DISM /Online /Cleanup-Image /RestoreHealth

5. The scan may take some time to complete the repair process.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

6. After the scan is completeRestart your PC. After starting, check whether the problem has been solved.

Fix 3 – Re-register the DLL file

As indicated in the error message, the DLL file is the culprit of this issue. Therefore, you can try re-registering the DLL file shown in the error message to check if it resolves the issue.

1. Follow steps 1 and 2 above Open the Command Prompt as an administrator.

2. Type the following command and press Enter.

regsvr32 "path and filename of dll"

Note: Replace "path and file name of dll" with the path and file name of the DLL file shown in the error message.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#3. You will see a message stating that the DLL file was successfully registered.

4.Restart the system and check if the error is resolved when launching a specific application.

Fix 4 – Reinstall the offending application

1. Simply open Run using the Windows and Rkey combination.

2.Enter ms-settings:appsfeaturesOpen Apps and features in settings.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#3. Find the offending application in the list of installed applications.

4. Click the three vertical dots associated with the application and select Uninstall.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

5. At the confirmation prompt, click Uninstall again.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

6. Wait for the uninstallation to complete. Restart your computer.

7. Go to the download page of a specific application to get the installer. Complete the reinstallation of the application.

8. Once the installation is complete launch the application and check if it solves the problem at hand.

Fix 5 – Uninstall recent Windows updates

Users have noticed that sometimes Windows updates cause errors on the system. If you see this error after a recent update to Windows, check to see if uninstalling the update helps resolve the issue.

1. Open Run (Windows R) .

2.Enter ms-settings:windowsupdate to open the Windows Update settings page.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

3. Scroll down and click Update History below More Options.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

4. In the Related Settings section, select the Uninstall updates option.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

5.Right-click on the latest Windows Update in the list and select Uninstall.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

6.Restart the computer and check if the Bad Image error is resolved.

Fix 6 – Perform a System Restore

1. To open Run, simply use Windows and ## at the same time #R key.

2. Enter

rstrui and press Enter key to open system restore.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

3. Select the option

Choose a different restore point and click Next.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#4. In the next window,

check the box next to Show more restore points frame.

5. Then select a restore point from the list. Click

Next.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#6. View the system restore details in the window that appears.

7. Click

Finish to confirm and start the recovery process.

How to Fix Bad Image Error 0xc0000020 in Windows 11/10

#8. Your system will reboot to restore it to its previously selected working state.

9. When you reboot, you will see a message indicating that the recovery process completed successfully.

10. Check whether the error has been resolved.

Fix 7 – Reset Windows

If none of the above methods work for you, try performing a Windows reset to check if it resolves the issue. Follow the methods mentioned in this article to reset your Windows 11 PC.

The above is the detailed content of How to Fix Bad Image Error 0xc0000020 in Windows 11/10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete