Read this article in: English | Espanol | Francais | Deutsch | Italiano |
Learn How to Fix OneDrive.exe Bad Image Error status 0xc0000020 on our website. Expert tips and solutions available now

OneDrive is a popular cloud storage and file synchronization service provided by Microsoft. It allows users to store their files and access them from any device with an internet connection. However, like any other software, OneDrive can also encounter errors and issues that can disrupt its functionality. One such error is the OneDrive.exe bad image error with Error status 0xc0000020.

This error typically occurs when the OneDrive application is unable to locate or load a specific dll file that is required for its functioning. The error message might read 'OneDrive.exe - Bad Image' with a description stating 'C:\Windows\system32\MSVCP140.dll is either not designed to run on Windows or it contains an error.' This error can be frustrating as it prevents users from accessing their files and using the OneDrive service.

If you have encountered this error, do not worry. In this article, we have compiled a list of effective solutions that can help you fix the OneDrive.exe bad image error status 0xc0000020.

How to Fix OneDrive.exe Bad Image Error status 0xc0000020
1. Re-register the concerned dll file

The first and easiest solution to fix this error is to re-register the dll file mentioned in the error message. To do this, follow these steps:

1. Press the Windows key + R to open the Run dialog box.
2. Type 'cmd' and press Enter to open the Command Prompt.
3. In the Command Prompt, type 'regsvr32 MSVCP140.dll' and press Enter.
4. Wait for the process to complete and then restart your computer.

If the error was caused by a corrupt or missing dll file, this solution should fix it.

2. Install the latest Windows update


Read Also:

Now in How to Fix OneDrive.exe Bad Image Error status 0xc0000020, Microsoft regularly releases updates for Windows that include bug fixes and performance improvements. Installing the latest updates can also fix any issues with OneDrive. To install the latest updates, follow these steps:

1. Press the Windows key + I to open the Settings app.
2. Go to Update & Security and click on Check for updates.
3. If there are any updates available, click on Download and install.
4. Once the updates are installed, restart your computer and check if the error is resolved.

3. Run an SFC scan

System File Checker (SFC) is a built-in Windows utility that scans for and repairs corrupt system files. Running an SFC scan can also fix the OneDrive.exe bad image error. To run an SFC scan, follow these steps:

1. Open the Command Prompt as an administrator.
2. In the Command Prompt, type 'sfc /scannow' and press Enter.
3. Wait for the scan to complete and then restart your computer.

4. Uninstall the faulty Windows Update

Sometimes, a faulty Windows update can also cause the OneDrive.exe bad image error. In such cases, uninstalling the update can resolve the issue. To uninstall a Windows update, follow these steps:

1. Press the Windows key + I to open the Settings app.
2. Go to Update & Security and click on View update history.
3. Click on Uninstall updates.
4. Find the update that was recently installed before the error occurred and click on Uninstall.
5. Restart your computer and check if the error is fixed.

5. Install the latest version of Visual C++ Redistributable

The Visual C++ Redistributable is a set of libraries that are required for certain applications to run on Windows. If the OneDrive.exe bad image error is related to a missing or outdated Visual C++ Redistributable, installing the latest version can help fix the issue. You can download the latest version from the Microsoft website.

6. Troubleshoot in Clean Boot State

A Clean Boot State starts Windows with a minimal set of drivers and startup programs, which can help identify and isolate the cause of the error. To boot in Clean Boot State, follow these steps:

1. Press the Windows key + R to open the Run dialog box.
2. Type 'msconfig' and press Enter to open the System Configuration window.
3. Go to the Services tab and check the box next to 'Hide all Microsoft services.'
4. Click on Disable all and then click on Apply.
5. Go to the Startup tab and click on Open Task Manager.
6. Disable all the listed startup items and close Task Manager.
7. Click on Apply and then click on OK.
8. Restart your computer and check if the error is resolved.

7. Reset or Reinstall OneDrive

If none of the above solutions work, the last resort would be to reset or reinstall OneDrive. To reset OneDrive, follow these steps:

1. Press the Windows key + R to open the Run dialog box.
2. Type 'cmd' and press Enter to open the Command Prompt.
3. In the Command Prompt, type 'onedrive.exe /reset' and press Enter.
4. Wait for the process to complete and then restart your computer.

If resetting OneDrive does not fix the error, you can try reinstalling the application. To do this, follow these steps:

1. Press the Windows key + I to open the Settings app.
2. Go to Apps and find OneDrive from the list.
3. Click on OneDrive and then click on Uninstall.
4. Once the application is uninstalled, go to the Microsoft website and download the latest version of OneDrive.
5. Install the application and check if the error is resolved.

In conclusion about How to Fix OneDrive.exe Bad Image Error status 0xc0000020, the OneDrive.exe bad image error with Error status 0xc0000020 can be fixed by following the solutions mentioned above. If the error persists, it is recommended to seek help from a professional or contact Microsoft support for further assistance.
Other Articles