How to Download All the Visual C++ Runtimes

Windows Articles

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...

If you’re running Windows, you already know the importance of various runtimes that allow apps to perform properly. Among all the runtimes, the Visual C++ runtimes are the most troublesome as they come up in a large number. They’re more than enough to confuse any Windows users. The most horrible part is, without them, you may not be able to even run your favorite music player or play the game! Even drivers may depend on them in cases.

Today, let’s take a look how to get all the Visual C++ runtimes in a single swoop.

PowerShell module

PowerShell is one of the most powerful components of Windows that can perform a number of tasks. In general, PowerShell is the “shell” of Windows, like “bash” or “fish” on Linux. Today, we’ll be using a nice PowerShell module that will download and install all the latest Visual C++ runtimes.

Note that the tool only downloads & installs runtimes that Microsoft supports currently. If you’re in need of unsupported Visual C++ redistributable packages, you have to use them at your own risk. As they’re unsupported, less and less programs use them. So, you should be good to go.

Preparing PowerShell

Let’s start PowerShell with administrative privilege. Press “Win + X” and select “Windows PowerShell (Admin)”.

Run the following command –

Get-ExecutionPolicy

In general, the result should be “Restricted”. We have to switch it to “Unrestricted” so that PowerShell runs the module. Run the following command –

Set-ExecutionPolicy Unrestricted

Verify the result –

Get-ExecutionPolicy

Downloading VcRedist

The name of the module is “VcRedist”. You can find out the detailed guide of the tool here. In most case, the following procedure of downloading and installing the redistributable packages are enough. For further deployment tutorial like importing into MDT, follow the VcRedist guide.

It’s time to install the module. Run the following commands –

Install-Module -Name VcRedist

# Update the module
Install-Module -Name VcRedist -Force

If you prefer to install the module manually, then follow this guide.

Import the module –

Import-Module -Name VcRedist

Using VcRedist

You can find out all the available Visual C++ redistributable packages by running the following command –

Get-VcList -Export All

Time to download the Visual C++ runtime packages. Run the following commands –

New-Item C:\Temp\VcRedist -ItemType Directory
Get-VcList | Get-VcRedist -Path C:\Temp\VcRedist

This will create a folder “C:\ Temp\VcRedist” where all the packages the module will download and save. Depending on your internet speed and other factors, this may take a while. Be patient.

Download complete? Install them right away! Run the following command –

Get-VcList | Install-VcRedist -Path C:\Temp\VcRedist

Check out the result of installation –

Voila! Your apps should now run perfectly.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
x