Updated: September 4, 2026
What changed in this update
Someone here noticed the offline ZIP still unpacked to a folder stamped 02.22.2025, which made it look like you had grabbed the old download. Good catch. It is fixed, and I refreshed the packages while I was in there.
Drops .NET 6. Microsoft stopped supporting it, so it was shipping unpatched.
.NET SDKs are now 8.0.424, 9.0.317, and 10.0.400.
Visual C++ 2015-2022 moved from 14.31.31103.0 to 14.51.36247.0.
Visual C++ 2005, 2008, and 2010 did not match the builds Microsoft publishes today, so they were replaced.
Visual C++ 2012 and 2013 were already current. DirectX June 2010 is the final release and is untouched.
It now unpacks to microsoft-runtime-installer-offline. No date in the name, so it cannot go stale on you again.
Two ways to use it
GitHub (recommended). A source-only PowerShell installer. Nothing is bundled, so you can read every line before you run it.
The repository contains no Microsoft EXE, MSI, CAB, DLL, or ZIP files and stores no installer URLs. It finds your selected packages on official Microsoft HTTPS sources, verifies them before they run, installs them unattended, and deletes the temporary downloads when it is done.
It picks the right x86, x64, or ARM64 packages on its own. On 64-bit Windows it installs both x86 and x64 Visual C++, because applications of both kinds need their own.
Offline ZIP. The original method, for machines with no internet or when you want one file you can keep. It bundles x64 .NET SDKs plus x86 and x64 Visual C++ and DirectX. Links are at the bottom.
Quick start (GitHub version)
Search the Start menu for Command Prompt (cmd.exe).
Pick Run as administrator and approve the UAC prompt.
Paste this in and press Enter:
start "Microsoft Runtime Installer" /max powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "$msriSource=@(& curl.exe -fsS 'https://raw.githubusercontent.com/slyfox1186/msft-visual-c-and-directx-offline-installer/main/Start.ps1');if($LASTEXITCODE -ne 0 -or $msriSource.Count -eq 0){exit 1};try{$msriScript=[ScriptBlock]::Create($msriSource -join [Environment]::NewLine)}catch{exit 1};& $msriScript" && exit
A maximized Administrator PowerShell window opens and the Command Prompt closes.
Everything is enabled by default. Type 1, 2, or 3 to toggle a package group, or 4 or 5 to pick specific .NET channels or Visual C++ families. When you are happy with it, leave the Selection prompt blank and press Enter.
After that it runs on its own. Microsoft progress windows show up but need no clicks, and nothing reboots your machine without telling you. At the end you get a result screen, and R saves a technical report if you want one.
It uses PowerShell 7 if you have it, otherwise Windows PowerShell 5.1, which ships with Windows.
Safety checks
Downloads only from approved Microsoft HTTPS hosts.
.NET installers must match Microsoft's published SHA-512 hashes.
Fixed Visual C++ and DirectX packages must match reviewed SHA-256 hashes.
Everything must carry a valid Microsoft digital signature.
The rolling Visual C++ v14 package also has to pass version checks.
Anything that fails verification gets deleted before it can run.
Full details, switches, and exit codes are in the GitHub README.
Offline ZIP download
One more thing worth repeating from the last update: the older archive had a script that force-killed DISM and TiWorker if they were running, which could interrupt Windows Update or a repair. That is gone and has been for a while.
Problems
If something fails, save the technical report and open a GitHub issue with the package name and exit code.
Thanks to everyone who has tested this and sent feedback, it is genuinely useful.
If you need help with automation, websites, or workflows, this is what I do for a living: https://coastaltech.group/