如果您尝试启动Outlook等应用程序时失败并显示错误消息Bad Image, Error status 0xc0000020,那么这篇文章将对您有所帮助。在这篇文章中,我们将确定潜在原因,然后提供可能的解决方案来帮助您解决此问题。它可能在启动Outlook或任何其他程序时发生。
通常,根据您尝试启动的软件或应用程序,错误消息的实例会这样读取;
Software.exe – Bad Image
C:\Windows\System32\XXXX.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 00xc0000020.
当您启动应用程序时会发生此错误,并且由于完美运行应用程序所需的某些系统文件损坏而失败。由于系统文件是程序文件(program files),任何修改它们的东西都可能导致损坏。由于以下一种或多种(但不限于)以下已知原因,您可能会遇到 Bad Image, Error Status 0xc0000020错误消息;(Bad Image, Error Status 0xc0000020)
- 软件安装或卸载不完整。
- 安装有缺陷的Windows更新。
- 恶意软件攻击。
- 系统关闭不当。
无论有问题的软件是什么,该修复程序都适用于所有软件。
错误图像,错误状态 0xc0000020
如果您遇到此 错误图像、错误状态 0xc0000020(Bad Image, Error Status 0xc0000020)问题,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 重新注册DLL文件
- 运行 SFC/DISM 扫描
- 卸载(Uninstall)并重新安装特定程序
- 运行系统还原
- 运行Windows 全新启动(Windows Fresh Start)或重置此 PC 进程
让我们看一下与列出的每个解决方案相关的过程的描述。
1]重新注册DLL文件
如您所见,引发此错误的软件的文件扩展名是动态链接库(Dynamic Link Library)(dll) 文件。动态链接库(dynamic-link library)( DLL ) 是一个 模块,其中包含可由另一个模块(应用程序或DLL)使用的函数和数据。DLL(DLLs)提供了一种模块化应用程序的方法,以便可以更轻松地更新和重用它们的功能。当多个应用程序同时使用相同的功能时, DLL(DLLs)还有助于减少内存开销,因为虽然每个应用程序都接收自己的DLL数据副本,但应用程序共享DLL代码。
因此,如果可以识别 olmapi21.dll、wininet.dll 等DLL文件,您可以尝试(DLL)重新注册 DLL 文件,看看问题是否已解决。
相关(Related):修复MSTeams.exe 错误图像 0xc0000020错误。
2]运行SFC/DISM扫描
如果错误消息是由损坏或损坏的系统文件触发的,则运行SFC/DISM 扫描可以帮助解决问题。
为方便起见,您可以使用以下过程运行扫描。
打开记事本——(Notepad –)将下面的命令复制并粘贴到文本编辑器中。
@echo off
date /t & time /t
echo Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup
echo ...
date /t & time /t
echo Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth
echo ...
date /t & time /t
echo SFC /scannow
SFC /scannow
date /t & time /t
pause
使用名称保存文件并附加.bat文件扩展名 - 例如;SFC_DISM_scan.bat。
以管理员权限重复运行批处理文件(run the batch file with admin privilege)(右键单击保存的文件并从上下文菜单中选择以管理员身份运行(Run as Administrator)),直到它没有报告错误 - 此时您现在可以重新启动 PC 并查看问题是否已解决。如果仍未解决,请继续下一个解决方案。
3 ]卸载(] Uninstall)并重新安装特定程序
在此解决方案中,如果在安装任何软件后开始出现此错误,您可以卸载该程序(uninstall the program)并查看是否有帮助。
完成卸载软件后,重新启动系统并重新安装程序,看看此问题是否已解决。
4]运行系统还原
您可以将计算机恢复到一个好的状态,看看它是否有助于为您解决问题。
5]运行(Run)Windows全新启动(Windows Fresh Start)或重置此PC进程
在外部备份您的数据,然后运行Fresh Start。在Windows 安全(Windows Security)应用中可用, (Available)Fresh Start执行以下操作:
- 保留您的所有数据,
- 删除所有第三方应用程序,
- 强制(Force)将 Windows 10 更新到最新版本。
这意味着您的所有产品密钥、与应用程序相关的内容、任何第三方防病毒软件都将被删除。
从Windows 10 v2004开始, Fresh Start 已被移动。对于 2004 版。全新启动功能已移至 重置此 PC(Reset this PC)(Reset this PC)。
Hopefully, one of these solutions will fix the issue for you!
Fix Bad Image, Error Status 0xc0000020 on Windows 11/10
If when you try launching an application like Outlook, etc. it fails with the error message Bad Image, Error status 0xc0000020, then this post will help you. In this post, we will identify the potential causes and then provide the possible solutions to help you redress this issue. It could occur while launching Outlook or any other program.
Typically, depending on the software or application you’re trying to launch, an instance of the error message reads thus;
Software.exe – Bad Image
C:\Windows\System32\XXXX.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 00xc0000020.
This error occurs when you launch an application and it fails due to the corruption of some system files required to run the application flawlessly. As system files are program files, anything that modifies them may cause corruption. You might encounter the Bad Image, Error Status 0xc0000020 error message due to one or more (but not limited to) of the following known causes;
- Incomplete installation or uninstallation of software.
- Installation of defective Windows updates.
- Malware attack.
- Improper shutdown of the system.
Regardless of the software in question, the fix applies to all.
Bad Image, Error Status 0xc0000020
If you’re faced with this Bad Image, Error Status 0xc0000020 issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Re-register the DLL file
- Run SFC/DISM scan
- Uninstall & reinstall the particular program
- Run System Restore
- Run the Windows Fresh Start or Reset This PC process
Let’s take a look at the description of the process involved in relation to each of the listed solutions.
1] Re-register the DLL file
As you can see, the file extension of the software that’s throwing up this error is a Dynamic Link Library (dll) file. A dynamic-link library (DLL) is a module that contains functions and data that can be used by another module (application or DLL). DLLs provide a way to modularize applications so that their functionality can be updated and reused more easily. DLLs also help reduce memory overhead when several applications use the same functionality at the same time because although each application receives its own copy of the DLL data, the applications share the DLL code.
So if a DLL file like say, olmapi21.dll, wininet.dll, etc, file can be identified, you can try re-registering the DLL file and see if the issue is resolved.
Related: Fix MSTeams.exe Bad Image 0xc0000020 Error.
2] Run SFC/DISM scan
If the error message is been triggered by corrupt or damaged system files, running the SFC/DISM scan can help resolve the issue.
For the purposes of ease and convenience, you can run the scan using the procedure below.
Open Notepad – copy and paste the command below into the text editor.
@echo off
date /t & time /t
echo Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup
echo ...
date /t & time /t
echo Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth
echo ...
date /t & time /t
echo SFC /scannow
SFC /scannow
date /t & time /t
pause
Save the file with a name and append the .bat file extension – eg; SFC_DISM_scan.bat.
Repeatedly run the batch file with admin privilege (right-click the saved file and select Run as Administrator from the context menu) until it reports no errors – at which point you can now restart your PC and see if the issue has been resolved. If still unresolved, proceed with the next solution.
3] Uninstall & reinstall the particular program
In this solution, if this error started appearing after installing any software, you can uninstall the program and see if that helps.
Once you finish uninstalling the software, restart your system and reinstall the program and see if this issue is resolved.
4] Run System Restore
You could restore your computer to a good point and see if it helps fix the problem for you.
5] Run the Windows Fresh Start or Reset This PC process
Bacup your data externally and then run Fresh Start. Available in Windows Security app, Fresh Start does the following:
- Keeps all your data,
- Removes all third-party apps,
- Force Updates Windows 10 to the latest version.
This means all your product keys, app-related content, any third-party antivirus will be removed.
Fresh Start has been moved starting from Windows 10 v2004. For version 2004. Fresh start functionality has been moved to Reset this PC.
Hopefully, one of these solutions will fix the issue for you!