sodcalculator

10 Tech How-To

Fix Windows Error 0x800f081f (Step-by-Step)

Guide 10-22523 · Updated · Step by step

Error 0x800f081f appears when Windows Update or DISM fails to find a required source file while installing a feature, language pack, or .NET Framework update. This guide walks you through the most reliable fixes, from checking your internet connection to repairing the Windows component store, so you can get the update installed without a clean reinstall.

What You’ll Need

  • Administrator access to the PC (you’ll need to open Command Prompt or PowerShell as admin).
  • A stable internet connection.
  • Your Windows installation media (USB or ISO) — only needed for the last resort fix.
  • About 30 minutes of time.

Step-by-Step

  1. Run Windows Update Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Update, and run it. This fixes common update issues automatically.
  2. Check your internet connection. Make sure you’re online and that Windows Update isn’t blocked by a VPN, proxy, or firewall. Temporarily disable any third-party firewall/antivirus to test (re-enable after).
  3. Restart Windows Update services. Press Win + R, type services.msc, and press Enter. Find these services and ensure they are set to Automatic and running: Windows Update, Cryptographic Services, Background Intelligent Transfer Service (BITS), and Windows Installer. If any are stopped, right-click and Start. If they’re not Automatic, right-click > Properties > Startup type > Automatic > Apply.
  4. Clear the SoftwareDistribution folder. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin) or Windows PowerShell (Admin)). Run these commands one by one, pressing Enter after each:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver

    Then in File Explorer, navigate to C:\Windows\SoftwareDistribution and delete all its contents (you can just select all and delete). Also delete C:\Windows\System32\catroot2 contents. Then restart the services with:

    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  5. Run DISM to repair system files. In the same admin Command Prompt, run:
    DISM /Online /Cleanup-Image /RestoreHealth

    Wait for it to complete (may take 10-20 minutes). If it fails with 0x800f081f, you need to specify a source. Insert your Windows installation media, note the drive letter (e.g., D:), then run:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess

    If that doesn’t work, try extracting the .wim to an ESD file first, or use the /Source with the correct index number (usually 1 for Home, 2 for Pro).

  6. Run SFC (System File Checker). After DISM succeeds, run sfc /scannow in the same Command Prompt. This repairs corrupted system files.
  7. Retry the update. Go back to Settings > Update & Security > Windows Update and click Check for updates. Try installing the feature or update again.
  8. Use the Media Creation Tool (as a last resort). If the above fails, download the Media Creation Tool from Microsoft’s website, run it, and choose “Upgrade this PC now.” This performs an in-place repair upgrade, keeping your files and apps while replacing system files.

Common Mistakes

  • Skipping the restart of services. After stopping services, you must restart them; otherwise Windows Update won’t work.
  • Deleting the entire SoftwareDistribution folder. That’s fine, but make sure you’ve stopped the services first. Deleting while services are running can cause errors.
  • Running DISM without admin privileges. It will fail with a permission error. Always right-click and run as administrator.
  • Using the wrong source path. The install.wim might be in a subfolder (e.g., D:\sources\install.wim). Also, if you have an ISO, you may need to mount it (right-click > Mount) to get a drive letter.
  • Not waiting long enough. DISM and SFC can take a long time; don’t interrupt them.

Tips

  • Always create a system restore point before making major changes (Control Panel > System > System Protection > Create).
  • If you’re on a metered connection, Windows Update might not download automatically. Go to Settings > Update & Security > Advanced options and ensure “Download over metered connections” is enabled temporarily.
  • Keep your system up to date with the latest cumulative updates before installing large features.
  • If you’re trying to install a language pack, make sure you have the correct one for your Windows version (Home vs Pro).

Troubleshooting

If the error persists after all steps:

  • Check the CBS log. After a failed DISM, look at C:\Windows\Logs\CBS\CBS.log for detailed error messages. Search for “0x800f081f” to see which component failed.
  • Check the DISM log. Located at C:\Windows\Logs\DISM\dism.log. It may indicate a missing source file.
  • Try the update in a clean boot state. Disable all non-Microsoft services and startups (msconfig > Services > Hide all Microsoft services > Disable all; Task Manager > Startup > Disable all). Restart and retry the update.
  • Use Windows Update Assistant. Download the standalone Windows Update Assistant from Microsoft’s official page (for feature updates) and run it. It often bypasses update issues.
  • Reset Windows Update components manually. If the automated steps failed, follow Microsoft’s guide to reset Windows Update components (search “reset Windows Update components” on support.microsoft.com).
  • If all else fails, perform a repair install. The Media Creation Tool’s “Upgrade this PC now” is the safest option. If that also fails, you may need to back up your data and do a clean install.

Frequently Asked Questions

What exactly causes error 0x800f081f?

It means Windows Update or DISM cannot locate a required source file, usually because the component store is corrupted or the update package is incomplete.

Do I need Windows installation media to fix this?

Not always. The built-in DISM with /RestoreHealth can sometimes use Windows Update as a source. But if that fails, you’ll need the media.

Can I fix this without losing my files?

Yes, all the steps above preserve your files. The in-place upgrade also keeps files and apps.

How long does DISM take?

It can take anywhere from 10 minutes to over an hour depending on your system and internet speed. Don’t interrupt it.

Will this fix also solve other Windows Update errors?

Often yes, because the steps repair the component store and system files, which are common root causes for many update errors.

What if I don’t have a Windows installation media?

You can create one using the Media Creation Tool from Microsoft’s website, or use the “Upgrade this PC now” option which doesn’t require a separate media.

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

The whole Tech How-To bed →