Where Are The Microsoft Visual C++ 2015-2022 Redistributable (x64) Packages Installed?

- 1 answer

I know visual C++ 2015-2022 is installed because:

A. I see it in Apps & Features (Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.31103 B. I see it in registry HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64

but %VCINSTALLDIR% is not set on my path, and I cant find the dll's anywhere.

I need to be really specific with my IT dept to get this fixed. I want to add the dll to the system path but I have to find them first!

I managed to find VC_redist.x64.exe in C:\ProgramData\Package Cache\{2aaf1df0-eb13-4099-9992-962bb4e596d1} but I think that is pretty strange... it may be unrelated to the install.

Any help appreciated!



For me they are at

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC

Do note that %VCINSTALLDIR% only works in the Visual Studio Developer Command Prompt. That should be located under the Visual Studio XXXX folder in your start menu or it can be launched directly from inside visual studio. You can then enter


in the terminal to get where the directory is located on your machine.