Can I Uninstall Microsoft Visual C++?
In this article
Yes, you can uninstall Microsoft Visual C++ Redistributable packages, but you should only remove the ones you are certain no installed program needs. These packages are shared runtime libraries that many Windows applications depend on; removing one that a program requires will cause that program to fail with errors like "VCRUNTIME140.dll is missing" or "MSVCP140.dll not found."
What Microsoft Visual C++ Redistributable Actually Is
The Microsoft Visual C++ Redistributable is a collection of DLL (Dynamic Link Library) files that provide the standard C and C++ runtime functions. When a developer writes a program in C++ using Microsoft's Visual Studio, that program often relies on these runtime libraries. Instead of bundling the libraries into every single program, Microsoft distributes them as a separate installer—the Redistributable—so that many programs can share the same files.
You will often see multiple versions installed (2015, 2017, 2019, 2022, etc.) because each version corresponds to a different generation of Visual Studio. Some programs are compiled against a specific version, and they will look for that exact version's runtime. That is why you may have several entries in your "Apps & features" list—they are not duplicates; they are distinct versions that different programs might need.
How to Check Which Programs Need a Specific Version
Before uninstalling any redistributable, it is wise to identify which of your installed programs depend on it. Here is a practical way to do that:
- Open Settings > Apps > Installed apps (Windows 11) or Control Panel > Programs and Features (Windows 10).
- Look for entries named "Microsoft Visual C++ 2015-2022 Redistributable (x64)" or similar. The label usually includes the year range and architecture (x86 or x64).
- For each version you are considering removing, note the exact name and version number.
- Use a web search on that exact name and version to see which common applications require it. You will often find forum posts and official documentation listing dependencies.
- Alternatively, you can use a tool like Dependency Walker (for advanced users) to inspect a specific program's DLL imports, but that is overkill for most people.
If you are unsure, the safest approach is to leave all redistributables installed. They take up very little disk space (typically 20–50 MB each) and rarely cause problems.
How to Uninstall a Visual C++ Redistributable
If you have decided to remove a specific version, the process is straightforward:
- Open Settings > Apps > Installed apps (or Control Panel > Programs and Features).
- Scroll to find the exact redistributable entry you want to remove. Be sure to note whether it is x86 or x64—some programs need both.
- Select it and click Uninstall.
- Follow the on-screen prompts. Windows may ask for administrator permission; allow it.
- Restart your computer to ensure any locked files are released.
After uninstalling, if a program fails to launch, you can reinstall the redistributable from Microsoft's official download page. The page offers combined packages that cover multiple years (e.g., 2015-2022), so you can get the needed version back easily.
Common Problems Caused by Uninstalling
The most common symptom is a program that used to work suddenly throwing an error at startup, such as:
- The code execution cannot proceed because VCRUNTIME140.dll was not found.
- MSVCP140.dll is missing.
- 0xc000007b error (often due to a mismatch between 32-bit and 64-bit versions).
If you see any of these after uninstalling, you have removed a redistributable that a program needs. The fix is to download and install the correct version from Microsoft's official website. You can also use the Windows Event Viewer to see which application failed and which DLL it was looking for.
Should You Uninstall Older Versions?
Older versions (like 2005, 2008, 2010, 2012, 2013) are sometimes considered obsolete, but they are still required by legacy software. For example, older games or business applications might still rely on the 2010 runtime. Even if you have not used such software in years, it is safer to keep them unless you are absolutely certain nothing needs them.
If you are running low on disk space, removing a few redistributables might free up a few hundred megabytes, but that is rarely worth the risk of breaking applications. A better approach is to use Windows' built-in Disk Cleanup or Storage Sense to free space.
How to Reinstall or Repair
If you have already uninstalled something and now face errors, you have two options:
- Reinstall the specific version from Microsoft's official download page. Look for the "Visual C++ Redistributable for Visual Studio 2015-2022" link, which is a single installer that includes all versions from 2015 onward.
- Use the built-in repair feature if you still have the redistributable installed but suspect it is corrupted. Go to Settings > Apps > Installed apps, select the redistributable, click Modify, and then choose Repair.
Note that the repair option is not available for all versions; if you do not see it, simply uninstall and reinstall.
Frequently Asked Questions
Is it safe to uninstall all Visual C++ redistributables?
No. Many Windows applications, including games, office suites, and even some Windows system components, depend on these runtime libraries. Removing all of them will almost certainly break multiple programs. Only remove the ones you have verified are not needed.
Why are there so many versions installed?
Each version corresponds to a different generation of Visual Studio. Programs are compiled against a specific version, and they expect that version's runtime to be present. Microsoft does not automatically replace older versions with newer ones because some programs require the exact older version.
Do Visual C++ redistributables update automatically?
They can be updated through Windows Update, but not always automatically. Microsoft periodically releases security updates for these runtimes. You can also download the latest combined package from Microsoft's website to get all updates in one go.
Can I move them to another drive to save space?
No. These are system-level components that must be installed in the Windows system folders. You cannot relocate them without breaking the programs that depend on them.
What is the difference between x86 and x64 versions?
x86 is for 32-bit applications, and x64 is for 64-bit applications. Many systems have both installed because some programs are 32-bit even on 64-bit Windows. You need both if you run a mix of 32-bit and 64-bit software.
If That Did Not Work
If you have uninstalled a redistributable and are now facing errors, the quickest fix is to download the latest combined package from Microsoft's official Visual C++ download page and install it. This will install all versions from 2015 onward, covering most modern applications. If the error persists, check whether the specific program requires an older version (like 2013 or 2010) and install that one separately.
If you are still unsure which program is causing the issue, use the Windows Event Viewer (under Windows Logs > Application) to see the exact error and the affected executable. That will tell you the name of the DLL it was looking for, and you can search for which redistributable provides that DLL.