Microsoft Teams is the built-in messaging app included with Windows 11. It even has a Chat taskbar icon users can click to open that app. However, some users see a "Bad Image Error status 0xc0000020" message whenever they try to launch Microsoft Teams with its taskbar button.

That error means users can’t open and utilize Microsoft Teams within Windows 11. When error 0xc0000020 occurs, you can either start using Slack or Skype as alternatives or try to get that issue fixed. You can try fixing Microsoft Teams’ 0xc0000020 error with these potential resolutions.

1. Reset the Microsoft Teams App

Firstly, try resolving Microsoft Teams’ 0xc0000020 error with Windows 11’s built-in Reset option. That’s a troubleshooting button you can press to clear data for apps that aren’t working right. This is how you can select to reset Microsoft Teams within Windows 11:

  1. Press Start on the taskbar, and select to open the menu’s pinned Settings app.
  2. Select the Settings Apps tab.
  3. Click Apps & features, and scroll down to Microsoft Teams from there.
  4. Then press Microsoft Teams’ three-dot menu button and select Advanced options.
    The Advanced options menu option
  5. To ensure there aren’t any MS Teams background processes running, press the Terminate button.
  6. Then select the Reset option there.
    The Reset button
  7. Click Reset a second time to clear app data for Microsoft Teams.
  8. You can select a Repair option for Microsoft Teams as well. Click Repair if resetting MS Teams isn’t enough to resolve the 0xc0000020 error.

2. Rename the Microsoft Teams Data Folder

This possible resolution involves renaming a MicrosoftTeams data folder within the WindowsApp directory. As that’s a protected directory, you’ll need to take ownership of WindowsApp to open it. Then you can rename the MicrosoftTeams as follows:

  1. Bring up Windows 11’s File Explorer drive navigation app (pressing Windows key + E does the job).
  2. Type C:\Program Files\WindowsApps into Explorer’s address bar, and hit the Return key. WindowsApps will then open if you’ve taken ownership of it.
    The WindowsApps subfolder
  3. Right-click the MicrosoftTeams_21239.300.960.1678_x64__8wekyb3d8bbwe to select Rename.
    The Rename option
  4. Add .old to the end of the MicrosoftTeams folder title, and press the Enter keyboard button.
  5. Repeat the above two steps for a second MicrosoftTeams_21239.300.960.1678_x64__8wekyb3d8bbwe folder there.
  6. Then close out of Explorer, and click the Start menu's Restart option.

Some users have also fixed error 0xc0000020 by deleting the specified MicrosoftTeams data folders instead of renaming them. Deleting or renaming those folders by adding .old will reset them. So, deleting the folders is the same method.

3. Disable Microsoft Teams and Other Items From the Windows Startup

Some Microsoft Teams users have said in forum posts they’ve fixed error 0xc0000020 by disabling that app from the Windows startup. Try disabling the Microsoft Teams startup item like this:

  1. Click Start with the right button on your mouse and select the Task Manager option.
    The Task Manager option
  2. Select Startup in the Task Manager window.
    The Startup tab
  3. Then select Microsoft Teams, and click the Disable option.
  4. Disable all other non-essential startup items listed there.
  5. Restart your Windows 11 laptop or desktop.

4. Repair the Microsoft Edge WebView2 Runtime App

Microsoft Edge Webview2 is a backend web app for Microsoft Teams. Some users might need to repair issues with that backend app to resolve the 0xc0000020 error. This is how you can repair the Microsoft Edge WebView2 app:

  1. Open Apps & features as outlined in steps one to three of this guide’s first method.
  2. Type Microsoft edge WebView2 in the search box there, and click the three-dot button for that app.
  3. Click Modify on the menu.
    The Modify option
  4. Select the blue Repair option in the window that opens.
    The Repair button for Edge WebView

5. Set Up a Different User Account

Microsoft Teams’ 0xc0000020 error might be due to a user account corruption issue. In which case, you might be able to utilize that app fine in a different user account. Try setting up a different local user account with a method in our guide for creating new user accounts in Windows 11. Then sign in to that different account to see if you can open MS Teams there.

The new account won’t include all your user files and software. If Microsoft Teams works ok in that Windows account, however, you will at least be able to utilize the app from there. You can migrate your user profile data to the new account if essential.

6. Reinstall the Microsoft Teams App

The Bad Image 0xc0000020 error message suggests that users try reinstalling the app. Doing so will likely fix corrupted Microsoft Teams files, and it won’t take long to reinstall the software. This is how you can reinstall Microsoft Teams:

  1. Open Settings to bring up Apps & features as covered within the first method.
  2. Find Microsoft Teams within Apps & features, and click that app’s three-dot menu button.
  3. Select Uninstall on the menu.
  4. Click Uninstall again.
    The Uninstall option
  5. Open Run, and input %appdata% in that accessory’s text box.
  6. Click OK to open a Roaming folder.
  7. Select the Teams subfolder there, and click Delete on Explorer’s command bar.
  8. Open Microsoft Store by clicking that app’s pinned Start menu shortcut.
  9. Input Microsoft Teams in MS Store’s search box, and select to open that app’s page from there.
    The Microsoft Teams search
  10. Select Get on the Microsoft Teams page to reinstall the app.

7. Restore Windows 11 to a Previous Date

The System Restoration utility is one with which you can roll Windows 11 back a previous time. If you can select a restore point that predates the 0xc0000020 error on your PC, System Restore can "go back in time" to a point where the error wasn't around. For instance, rolling back Windows might fix a user account issue causing the error.

However, note that restore points remove software installed after it was set up. As such, be aware that there might be some data loss.

Here are the steps for restoring Windows 11:

  1. To open System Restore, bring up the Run dialog. Then type in the restrui Run command, and click the OK option.
  2. System Restore might include a Choose a different restore point radio button. Select that option if it does, and click Next to continue.
  3. Click the Show more restore points box if System Restore doesn't list all available restoration dates.
    The System Restore window
  4. Choose a restore point that will likely restore Windows to a time when you could open Microsoft Teams without issue. Alternatively, select the oldest restoration data available.
  5. Press Next > Finish to start the Windows 11 system restoration.
    The Finish button

8. Reset Windows 11

Resetting Windows 11 is the most drastic way to fix error 0xc0000020. Reinstalling Windows 11 with the Reset this PC utility will remove user-installed apps and restore the platform to its default setting configuration. However, you can select to keep user files.

You may not need to reset Windows 11 to get the 0xc0000020 error fixed. If other fixes don’t work, however, then this resolution could be your best bet. You can perform a reset as covered within the first method of our guide to factory resetting Windows PCs.

Get Chatting on Microsoft Teams Again

So, don’t abandon Microsoft Teams for alternative apps too soon when you need to fix error 0xc0000020. Those user-confirmed resolutions will probably get that app’s error 0xc0000020 fixed on most Windows 11 PCs. With that issue resolved, you can start chatting on MS Teams again.