Windows error 0x80070422 typically appears when a .NET Framework or other framework installation fails because the Windows Update service (wuauserv) or the Background Intelligent Transfer Service (BITS) is disabled or not running. This guide walks you through the exact steps to re-enable those services, clear related caches, and complete your framework installation successfully.
What You’ll Need
- Administrator account on the Windows PC
- The framework installer file (e.g., .NET Framework setup) already downloaded
- Stable internet connection (for Windows Update checks)
Step-by-Step
- Run the installer once to confirm the error. If you already see 0x80070422, proceed. If not, try installing the framework now; you may get the error immediately or after a few minutes.
- Open Services. Press Win + R, type
services.msc, and press Enter. If prompted by User Account Control, click Yes. - Locate Windows Update. Scroll down to find Windows Update (service name: wuauserv). Right-click it and select Properties.
- Set startup type to Automatic. In the General tab, change Startup type to Automatic. Then click Start under Service status. If it starts, great. If you get an error, note it and continue.
- Do the same for BITS. Find Background Intelligent Transfer Service (BITS). Right-click → Properties → set Startup type to Automatic → click Start. Also check Cryptographic Services (CryptSvc) and set it to Automatic and start it.
- Restart the PC. After starting the services, restart your computer to ensure the changes take effect.
- Run the framework installer again. Right-click the installer and select Run as administrator. If the error is gone, installation should proceed.
- If the error persists, clear the Windows Update cache. Open Command Prompt as administrator (Win + R, type
cmd, press Ctrl+Shift+Enter). Type the following commands one by one, pressing Enter after each:net stop wuauserv net stop bits net stop cryptSvc ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start bits net start cryptSvc
This renames the update cache folders, forcing Windows to recreate them.
- Run Windows Update troubleshooter. Go to Settings → Update & Security → Troubleshoot → Additional troubleshooters → Windows Update → Run the troubleshooter. Follow the prompts.
- Reinstall the framework after the troubleshooter. Try the installer again. If it still fails, download a fresh copy of the framework installer from the official Microsoft website (for .NET) or the vendor’s site.
- Check for system file corruption. Open Command Prompt as administrator and run
sfc /scannow. Let it finish (may take 15 minutes). If it finds issues, runDISM /Online /Cleanup-Image /RestoreHealthand restart. - If all else fails, perform a clean boot. Press Win + R, type
msconfig, go to Services tab, check Hide all Microsoft services, then click Disable all. Go to Startup tab and click Open Task Manager. Disable all startup items. Restart and try the installer. Afterward, re-enable services via msconfig.
Common Mistakes
- Not running as administrator. The installer and service changes require admin rights. Right-click everything and choose “Run as administrator.”
- Setting services to Manual instead of Automatic. Some guides suggest Manual, but Windows Update and BITS need Automatic to work reliably.
- Skipping the restart. Service changes often require a reboot to take effect. Do not skip it.
- Renaming folders without stopping services. If you rename SoftwareDistribution while services are running, you may get access denied errors. Always stop the services first.
- Using a corrupted installer. If the downloaded file is incomplete, the error may appear even after fixing services. Re-download the installer.
Tips
- Check Windows Update status first. If Windows Update itself is broken, fixing it often resolves framework installs. Use the troubleshooter before diving into manual steps.
- Keep your system updated. Install all pending Windows updates before attempting a framework install. Outdated systems are more prone to this error.
- Use the official installer. For .NET Framework, always download from Microsoft’s download center. Third-party mirrors may bundle unwanted software or be corrupted.
- Consider offline installer. If online installation keeps failing, download the offline (full) installer instead of the web bootstrapper. It avoids network issues.
- Check for antivirus interference. Temporarily disable third-party antivirus (not Windows Defender) during installation. Some security suites block service starts.
Troubleshooting
If the steps above do not resolve the issue, try the following:
- Error when starting services: If you get “Access Denied” or “The service did not respond,” your system may have deeper permission issues. Try running
net start wuauservin an elevated command prompt. If that fails, check the registry: navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauservand ensure the Start value is set to2(Automatic). - Windows Update still broken: Use the Windows Update Reset script (from Microsoft’s support site) or manually reset the Windows Update components. This is a more aggressive step but often fixes persistent issues.
- Framework installer fails with a different error: Note the exact error code. Search for that code specifically, as it may point to a different cause (e.g., 0x800F081F for .NET 3.5).
- Clean boot does not help: If the error persists in a clean boot, the problem is likely with Windows system files or the installer itself, not a third-party conflict. Run
sfc /scannowagain, and if necessary, perform a repair install (in-place upgrade) using the Windows Media Creation Tool. - If you are installing .NET Framework 3.5: This feature is often disabled by default. Go to Control Panel → Programs → Turn Windows features on or off → check .NET Framework 3.5 (includes .NET 2.0 and 3.0) and click OK. This may require internet access to download the feature.
Frequently Asked Questions
Why does error 0x80070422 happen?
It occurs when the Windows Update service or BITS is disabled or stopped. Framework installers rely on these services to download and register components. If they are off, the installation cannot proceed.
Can I fix this without admin rights?
No. Starting services, modifying system folders, and installing frameworks all require administrator privileges. You need an account with admin rights.
Will this affect my personal files?
No. The steps only change service settings and system update caches. Your documents, photos, and other personal data are untouched.
How long does the whole fix take?
Typically 10–20 minutes, excluding the time for the framework installation itself. If you need to run sfc /scannow, add another 15–30 minutes.
What if I still get the error after all steps?
Try a system restore to a point before the error occurred. If that fails, consider a repair install of Windows (keep your files) using the Media Creation Tool. This often resolves deep system corruption.
Is it safe to rename the SoftwareDistribution folder?
Yes. Windows recreates it automatically. You are only renaming it, not deleting it. If anything goes wrong, you can rename it back.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- KB5012170 Fails to Install in Windows 11
- PC Temperature Monitor: Match Sensors & Setup
- Fix Laptop Plugged In Not Charging
- Install Printer Drivers Manually: Step-by-Step
- iPad Stuck on Apple Logo: How to Fix It
- Fix iPhone Stuck in Dark Mode: 8 Working Ways