Download a fresh updated copy of Microsoft Teams desktop setup from the Official Microsoft Teams Download Webpage and then install it.Now you have finally uninstalled Microsoft Teams completely from your computer. This will take you to a hidden folder named ProgramData where program related settings or data is stored. Close all windows and again press Windows + R keys on your keyboard to start Run.Open Microsoft folder, right-click on Teams folder and select Delete.This will take you to a hidden folder named AppData where user data is stored for different applications installed on your PC. Press Windows + R keys on your keyboard to open Run dialog box.The procedure may take time so wait until it gets finished. Select Microsoft Teams from the list of installed programs and click Uninstall.This will take you to the list of all installed programs on your PC. Select Uninstall a program under the Programs section.Right-click on Start and select Control Panel to open it.This will end all the background ongoing processes related to MS Teams. Close MS Teams by right-clicking the MS Teams icon in the taskbar and select Quit.The easy fix would be to completely uninstall MS Teams and reinstall the latest fresh copy. If installing the latest versions of Microsoft Visual C++ Runtime Libraries didn’t fix your problem then there is a strong possibility that some of the MS Teams system files are corrupted. Solution 2: Clean Uninstall & Reinstall MS Teams Download a fresh updated copy of Microsoft Visual C++ Runtime Libraries from the Official Microsoft Support Webpage and then install them.Uninstalling Microsoft Visual C++ Runtime Libraries
This will start a series of uninstallation wizards running back to back.
The MS Teams JavaScript Exception issue can be solved by reinstalling Microsoft Visual C++ to the latest version, as per feedback available online.
Solution 1: Update Microsoft Visual C++ Runtime Libraries
It might sound odd but all these Microsoft applications have some interlinked architecture and support one another.