How to Reinstall All Microsoft Visual C++ Redistributables Automatically on Windows 11

If you use Windows regularly — especially for gaming, programming, or running applications like Adobe, Blender, or Visual Studio — you’ve probably seen errors like: “The program can’t start because MSVCP140.dll is missing.” “Microsoft Visual C++ Runtime Error.”

These errors usually mean that one or more Microsoft Visual C++ Redistributable packages are either missing or corrupted.

While you can manually reinstall them one by one, the process is tedious. Fortunately, there’s a faster and automatic way to reinstall all Visual C++ Redistributables at once on your Windows 11 PC.

What Are Microsoft Visual C++ Redistributables?

Microsoft Visual C++ Redistributables are runtime libraries required by many programs built using Microsoft’s C and C++ programming languages.

Different apps depend on different versions — for example, one may need the 2015 package, while another may require the 2019 or 2022 version.

Over time, these redistributables can:

  • Get corrupted or deleted accidentally.
  • Become outdated due to Windows updates.
  • Conflict when multiple versions are installed incorrectly.

That’s why reinstalling them all at once can fix a wide range of system and app-related issues.

Method 1: Automatically Reinstall All Visual C++ Redistributables Using an All-in-One Installer

The easiest and most reliable way to reinstall all Visual C++ Redistributables is by using a pre-built All-in-One (AIO) installer that includes every version from 2005 to 2022.

  1. Visit a trusted source like TechPowerUp (a well-known site for safe redistributable packs): https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
  2. Scroll down and click Download.
    You’ll get a ZIP file named something like: Visual-C-Runtimes-All-in-One-Mar2024.zip
  3. Extract the ZIP file to a folder on your desktop.
  4. Right-click the install_all.bat file and select Run as Administrator.
  5. Wait for the batch script to automatically install all Microsoft Visual C++ Redistributable packages (both x86 and x64).
  6. Once the installation is complete, restart your PC.

Pro Tip: This method ensures every required runtime library — from Visual C++ 2005 through Visual C++ 2022 — is reinstalled cleanly, fixing missing DLL and runtime errors instantly.

Method 2: Reinstall via PowerShell Script (Manual Automation)

If you prefer to automate the installation yourself using PowerShell, you can run a script that downloads and installs each redistributable version from official Microsoft sources.

  1. Open Notepad and paste the following PowerShell script:
$urls = @(
    "https://aka.ms/vs/17/release/vc_redist.x86.exe",
    "https://aka.ms/vs/17/release/vc_redist.x64.exe"
)

$downloadPath = "$env:TEMP\VCRedistributables"
New-Item -ItemType Directory -Force -Path $downloadPath | Out-Null

foreach ($url in $urls) {
    $file = Join-Path $downloadPath (Split-Path $url -Leaf)
    Invoke-WebRequest -Uri $url -OutFile $file
    Start-Process -FilePath $file -ArgumentList "/install", "/quiet", "/norestart" -Wait
}

Write-Host "All Visual C++ Redistributables have been reinstalled successfully."
  1. Save the file as Reinstall-VCRedistributables.ps1.
  2. Right-click it and select Run with PowerShell (as Administrator).

This script automatically downloads and silently installs the latest Visual C++ 2015–2022 redistributables directly from Microsoft’s servers.

Note: Older versions (2005–2013) must still be installed manually or using the AIO pack.

Method 3: Manually Download from Microsoft’s Official Site

If you want only the latest supported versions, Microsoft offers them directly.

  1. Go to: Microsoft Visual C++ Redistributable Downloads
  2. Scroll down and download both:
    • vc_redist.x64.exe
    • vc_redist.x86.exe
  3. Run both installers and follow the on-screen instructions.
  4. Restart your computer after installation.

Pro Tip: Even if you’re on a 64-bit system, installing both 32-bit and 64-bit versions ensures compatibility with all applications.

Method 4: Clean Up Corrupted Redistributables Before Reinstalling

If your runtime libraries are corrupted, you should remove them before reinstalling to avoid version conflicts.

  1. Press Windows + R, type: appwiz.cpl and hit Enter.
  2. Uninstall every entry starting with:
    • Microsoft Visual C++
  3. After uninstalling, restart your PC.
  4. Then use either Method 1 (AIO Installer) or Method 3 (Manual Microsoft) to reinstall all redistributables.

Note: Reinstalling fresh packages ensures no overlapping or broken versions remain in your system registry.

Method 5: Use Winget (Windows Package Manager)

For advanced users, Windows 11’s built-in package manager, Winget, allows you to install Visual C++ Redistributables with a single command.

  1. Open Command Prompt or PowerShell as Administrator.
  2. Type the following command and press Enter: winget install Microsoft.VCRedist.2015+.x64 winget install Microsoft.VCRedist.2015+.x86
  3. Wait for the installations to complete, then restart your system.

Tip: Winget is ideal for developers who frequently need to reinstall or update redistributables automatically.

Wrapping Up

If you’re seeing runtime or missing DLL errors like MSVCP140.dll or VCRUNTIME140.dll, reinstalling all Microsoft Visual C++ Redistributables is one of the best ways to fix them.

The All-in-One installer is the fastest and most convenient solution — it ensures your PC has every version from 2005 to 2022.

Alternatively, if you prefer automation, use the PowerShell or Winget methods for a clean, scriptable setup.

Once reinstalled, restart your computer — and enjoy a smooth, error-free experience with all your apps and games running perfectly again.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.