Home > Common Problem > MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

王林
Release: 2023-04-14 14:19:08
forward
3172 people have browsed it

Microsoft introduced something new with the release of the Windows 11 operating system. One of them is the chat icon on the taskbar along with the start and search buttons. Clicking this chat icon opens a chat window for the Microsoft Teams application directly on your system.

Some Windows users have reported that when they click on the chat icon on the taskbar, it throws an error window that says -

C:\Programs Files \WindowsApps\MicrosoftTeams_21224.700.938.1333_x64_8weky3d8bbwe\zlib1.dll is not designed to run on Windows or it may contain an error. Try uninstalling the program again using the original installation media, or contact your system administrator or software vendor for support. Error status 0xc0000020.

This error may be caused by corrupted system files. The above issue can also occur if the installation process of Microsoft Teams is interrupted. Any issues with the current user account on the system can also cause this type of error.

If you are going through the same thing, don't worry! In this article, we have collected some solutions to resolve this error on Windows 11 systems.

Fix 1 – Repair or Reset the Microsoft Teams App

If there is an internal issue with the Microsoft Teams app, it can be resolved by repairing the Microsoft Teams app on your Windows system.

Follow the steps on how to repair/reset the Microsoft Teams app on your system.

Step 1: Press the Windows key on your keyboard and type Installed Applications.

Step 2: Select the installed applicationSystem Settings from the search results, as shown in the image below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 3: This will launch the installed applications page on your system.

Step 4: Next, type Microsoft Teams in the search bar.

Step 5: This will generate search results on the same page as shown below.

Step 6: Now select the Microsoft Teams app from the search results and click on the three horizontal dots to see more options.

Step 7: Then, select Advanced Options from the list as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 8: Scroll down the "Advanced Options" page to the "Reset" section and click the "Repair" button once to start repairing Microsoft Teams app.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 9: Now check if the problem still exists.

Step 9: If the issue is not resolved, click "Reset" and see if it is resolved.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

#If this does not resolve the error, try the other solutions given below in this article.

Fix 2 – Reinstall the Microsoft Teams app

If there is an issue while installing the Microsoft Teams app, this may also be the reason behind this error. Therefore, we recommend our users to uninstall the Microsoft Teams app and delete the Teams folder in the WindowsApps folder and then reinstall the Teams app.

Let’s see how to do this with the help of the steps explained below.

Step 1: Press the Windows key and type Installed Applications on your keyboard.

Step 2: Then select Installed ApplicationsSystem Settings from the search results as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

#Step 3: This will open the Installed Applications page on your system.

Step 4: Once opened, find Microsoft Teams from the list of programs.

Step 5: Click on the three horizontal dots and then click on Uninstall.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 6: This will start uninstalling the Microsoft Teams app. Follow any on-screen instructions to complete the uninstall process.

Step 7: After the uninstallation is complete, close the window.

Step 8: Now enter the File Explorer by pressing the Windows E keys simultaneously.

Step 9: Once File Explorer opens, go to View > Show > Hidden Items from the top menu bar as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 10: This will make all hidden items visible to the user.

Step 11: Now type C:\Program Files in the address bar of the File Explorer window and press Enter key.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 12: In the Programs Files folder, look for a folder named WindowsApps.

Step 13: You need to set ownership to Everyone first. To do this, right-click WindowsApps , and click Properties from the context menu.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 14: Go to the Security tab in the Properties window and click Advanced ".

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 15: In the Advanced Security Settings window, click Change to change the owner of the folder.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 16: Enter Everyone in the text box available in the window and click Check Names.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 17: This will start checking the names entered and return an output showing each person populated in the text box as shown in the image.

Step 18: You need to click "OK" to make changes.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 19: Now you can see Owner has changed to Everyone and click on Replace owner on subcontainers and objects checkbox.

Step 20: Then click Apply.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 21: This will start applying ownership to all subcontainers and objects under the WindowsApps folder, which may take a while.

Step 22: Once completed, it will pop up a Windows security window. Click OK to close it.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 23: Now click OK to close the Advanced Security Settings window.

click-ok-on-MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 24: Once closed, open the Advanced Security Settings window again by following the instructions in steps 13 and 14.

Step 25: Now click on Change Permissions as shown in the image below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 26: Click Add for permission entry.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 27: Next, click Select a principal.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 28: In the Select User or Group window, type Everyone, and then click Check Names.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 29: This will generate an object name called "Everyone" in the text box, then click "OK".

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 30: After adding the principal as owner, select Allow from the Type drop-down list and select Apply to the drop-down list to select this folder, subfolder and file options.

Step 31: Then, check all the checkboxes under Basic Permissions and click OK.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 32: Finally, you can see that the permission entry for “Everyone with Full Control” has been added and you can click “Apply".

This will take some time to apply. Please wait until then.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 33: Then click OK to close all open windows.

Step 34: Now Double click on the WindowsApps folder and search for all Microsoft Team folders similar to MicrosoftTeams_22196.1703.1462.9942_x64__8wekyb3d8bbwe and delete.

Step 35: Close all windows and restart the system.

Step 36: After the system starts, click here to enter the download page of the Microsoft Teams website.

Step 37: Download the application and install it by double-clicking its installation file.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 38: Follow the on-screen instructions to complete the installation process.

Step 39: Once the installation is complete, check if clicking the chat icon still triggers any error messages.

Fix 3 – Fix Microsoft Edge WebView2 Runtime

Some users claimed that they were able to resolve this error by repairing the Microsoft Edge WebView2 Runtime that was installed on their system. Therefore, we recommend our users to also try fixing the Microsoft Edge WebView2 runtime and see if this resolves the issue for you.

Please follow the steps below.

Step 1: Press the Windows key and type Installed Applications.

Step 2: Then press Enter key to open the Installed Applications page on your system.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 3: On the Installed page, search for Microsoft Edge WebView2 Runtime by typing in the search bar.

Step 4: Next, click on the three horizontal dots of the Microsoft Edge WebView2 Runtime and then click on Modify.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 5: This will open the repair window and start the repair after clicking on Repair as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 6: It will then start downloading and installing the Microsoft Edge WebView2 Runtime.

Fix 4 – Disable Microsoft Teams from Launch Application

If the Microsoft Teams app fails to launch on startup, you can fix this issue. Let’s see how to disable Microsoft Teams from startup apps.

Step 1: First, press the Windows D keys simultaneously to enter the desktop.

Step 2: Right-click somewhere in an empty space and click Personalize from its context menu as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 3: Next scroll down the Personalization page and click Start.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 4: On the Start page, click Start, Jump Lists, and File Explorer Show recently opened items"toggle button to turn it off as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 5: After that, close the Start page.

Step 6: To disable Microsoft Teams from startup, open the Task Manager window by pressing the Ctrl Shift Esc key simultaneously.

Step 7: Click the Launch Appstab and search for Microsoft Teams from the list.

Step 8: Right-click on it and click Disable from the context menu as shown below.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

#Step 9: This will disable Microsoft Teams from starting at system startup.

Step 10: You can now close the Task Manager window.

Fix 5 – Perform SFC scan and DISM to restore health

If there are any corrupted files in the system, this may create such issues in any application as mentioned in this article. Therefore, it is always a good practice to scan and fix these corrupted files using System File Checker and try to restore system health using DISM tool.

Here are the steps on how to run an SFC scan.

Step 1: Press the Win R keys simultaneously to open the Run command box.

Step 2: Enter cmd and press Ctrl Shift Enter keys simultaneously.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 3: Accept the on-screen UAC prompt to continue.

Step 4: This will open an elevated command prompt window.

Step 5: Enter sfc /scannow and press Enter.

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 6: This will start checking for all corrupted files on your system and then try to repair them.

Step 7: Once completed, type the following lines and press Enter.

DISM /在线 /Cleanup-Image /RestoreHealth
Copy after login

MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]

Step 8: This will restore the health of the system.

Step 9: Once completed, close the command prompt window.

Fix 6 – Use System Restore to Restore System

If none of these methods work for you, you can always restore your system to the last saved system and all applications running restore point, without any errors or issues. Click here to refer to the article that explains how to restore your system using System Restore on Windows systems.

The above is the detailed content of MSTeams.exe – Bad image error status code 0xc0000020 in Windows 11 [Fix]. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template