Uninstall the Redistributables¶
To uninstall the Visual C++ Redistributables on the local machine, use
Uninstall-VcRedist. This function accepts the release and architecture of the Visual C++ Redistributables and will attempt to perform a silent uninstall of the targeted Visual C++ Redistributables.
Uninstall-VcRedist requires elevated access to be able to uninstall the Redistributables.
Uninstall-VcRedist is run without parameters, you will be prompted to confirm that you want to uninstall the Redistributable/s. Without additional parameters,
Uninstall-VcRedist will attempt to uninstall all currently installed Redistributables.
Uninstall-VcRedistwill not uninstall Redistributables by default.
-Confirm:$trueis required to enable
Uninstall-VcRedistto uninstall the Redistributables.
Release- Specifies the release (or version) of the redistributables to uninstall (e.g.,
Architecture- Specifies the processor architecture to of the redistributables to uninstall. Can be
The following command will uninstall all of the currently installed Visual C++ Redistributables on the local system.
This command will uninstall any
2008 release of the installed Visual C++ Redistributables.
Uninstall-VcRedist -Release 2008 -Confirm:$true