Windows 11 has a built-in Chat app powered by Microsoft Teams. It lets you text and call your friends, relatives, or colleagues using a shortcut on the taskbar. Microsoft Teams and its Chat app launch by default in the background every time you turn on your computer. Therefore, you might encounter a weird msteams.exe Bad Image error. It could also appear when you launch Microsoft Teams using its shortcut or the All Apps list.
The msteams.exe Bad Image error contains the following text:
“C:\Program Files\WindowsApps\MicrosoftTeams_21224.700.938.1333_x64__8wekyb3d8bbwe\zlib1.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 0xc00000020.”
Besides zlib1.dll, the error sometimes refers to other files, such as VCRUNTIME140_1.dll, WebView2Loader.dll, and VCRUNTIME140.dll.
We should point out that the msteams.exe Bad Image error is often a result of messing around with WindowsApps’ security permissions. That is the folder where Windows 11 stores apps downloaded from the Microsoft Store. Users sometimes want to dig into it to mod apps and games, pirate them, or perform other types of tinkering. We do not recommend changing the ownership and security settings of the WindowsApps folders. Experimenting with that area often results in apps crashing and showing various errors, including msteams.exe Bad Image.
If you have already changed security settings and do not know how to get everything back to its original state, the only way to fix the problem is to use a system restore point or reinstall Windows.
Fixing Msteams.exe Bad Image Error 0xc00000020
Microsoft has two types of the Teams app: the first is for enterprise customers, and the second is for regular home users. The msteams.exe Bad Image error plagues mostly the second app, which is not as popular as its business counterpart. Therefore, if you do not use the Chat app in Windows 11 and the error happens when you power on your computer, the best option to fix the msteams.exe Bad Image error is to delete Microsoft Teams. We have a dedicated article describing how to delete Microsoft Teams in Windows 11.
Alternatively, you can prevent the Chat app (Microsoft Teams) from running when your computer powers on.
- Right-click the Start menu button and select Task Manager.
- Click a button with three lines in the upper-left corner of the window, then select Startup apps.
- Find Microsoft Teams and click it.
- Click Disable.
You can also take an alternative route:
- Press Win + I to launch the Settings app.
- Go to the Apps section and click Startup.
- Find Microsoft Teams and toggle it off.
If you use Microsoft Teams and its Chat app, then you need to proceed with troubleshooting and fixing the msteams.exe Bad Image error. You can start by updating the app to the latest version.
- Launch Microsoft Store and click the Library button.
- Click Get Updates. Wait for Windows 11 to scan for available updates, then click Update all.
If updating to a newer version of the Chat app did not help you fix the msteams.exe Bad Image error, then you need to try resetting the app.
- Launch the Settings app by pressing Win + I or from the Start menu.
- Go to Apps > Installed Apps.
- Find Microsoft Teams in the list and click a button with three dots.
- Click Repair. Wait for Windows 11 to repair the app, then launch it. If it still does not work and displays the Bad Image error, return to the Settings app and click Reset.
- Try launching Microsoft Teams again.
If the error refuses to go, uninstall Microsoft Teams from your computer, then install it again.