TechBuzzPro

Windows 10 Error Applying Transforms – Fix Guide

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can fix the Windows 10 “Error applying transforms” by repairing the component store, clearing corrupted update files, and reinstalling the problematic update.

What You'll Need

  • Administrator access to the PC
  • Internet connection for downloading updates
  • Command Prompt (Admin) or PowerShell (Admin)
  • Windows installation media (optional, for offline repair)

Step-by-Step

  1. Run the built‑in Windows Update troubleshooter. Open Settings > Update & Security > Troubleshoot > Additional troubleshooters, select "Windows Update," and click "Run the troubleshooter." Follow any prompts. The tool automatically detects and fixes common issues such as missing services or corrupted registry keys.
  2. Stop the Windows Update services. Open an elevated Command Prompt and type:
    net stop wuauserv
    net stop cryptsvc
    net stop bits
    net stop msiserver
    Press Enter after each command. Stopping these services ensures that files in the SoftwareDistribution folder can be safely removed.
  3. Rename the SoftwareDistribution and Catroot2 folders. Still in the elevated command window, run: ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    Renaming, rather than deleting, preserves the original data in case you need to revert.
  4. Restart the services you stopped. Execute: net start wuauserv
    net start cryptsvc
    net start bits
    net start msiserver
    The services will recreate fresh, clean folders for future updates.
  5. Repair the component store with DISM. In the same admin window, type: DISM /Online /Cleanup-Image /RestoreHealth
    DISM (Deployment Image Servicing and Management) scans the Windows image for corruption and attempts to fix it using Windows Update files or local source files. This step directly addresses the “Error applying transforms” which often originates from a broken component store.
  6. Run System File Checker (SFC) after DISM completes. Type: sfc /scannow
    SFC verifies the integrity of all protected system files and replaces any that are corrupted. Running it after DISM ensures that any remaining file‑level issues are resolved.
  7. Check for the specific update that failed. Open Settings > Update & Security > Windows Update and click "View update history." Note the KB number that generated the error.
  8. Download the update manually. Go to the Microsoft Update Catalog (https://www.catalog.update.microsoft.com), search for the KB number, download the appropriate .msu file for your system architecture (x64 or x86), and save it to your desktop.
  9. Install the update manually. Double‑click the .msu file and follow the on‑screen instructions. If the installer still reports the same error, proceed to the next step.
  10. Reset the Windows Update components completely. Open an elevated PowerShell window and run the following script (copy‑paste as a block): Stop-Service -Name wuauserv -Force; Stop-Service -Name cryptsvc -Force; Stop-Service -Name bits -Force; Stop-Service -Name msiserver -Force; Rename-Item -Path "C:\Windows\SoftwareDistribution" -NewName "SoftwareDistribution.old" -Force; Rename-Item -Path "C:\Windows\System32\catroot2" -NewName "catroot2.old" -Force; Start-Service -Name wuauserv; Start-Service -Name cryptsvc; Start-Service -Name bits; Start-Service -Name msiserver;
    This one‑liner performs the same actions as the earlier manual steps but in a single, repeatable command.
  11. Trigger a fresh scan for updates. Return to Settings > Update & Security > Windows Update and click "Check for updates." The system will rebuild its update database and attempt to download the previously failing update again.

Common Mistakes

Many users skip the DISM step, assuming that clearing the SoftwareDistribution folder alone will fix the problem. However, the error often resides deeper in the component store, and DISM is specifically designed to repair that layer. Another frequent error is attempting to delete the SoftwareDistribution folder while the update services are still running, which can cause file‑system conflicts and lead to additional errors. Finally, some people try to install the .msu file without first resetting the update components; the lingering corrupted metadata can cause the installer to abort with the same transform error.

Tips

  • Run each command individually and wait for the “The operation completed successfully” message before proceeding. This confirms that the previous step finished without hidden failures.
  • If DISM reports it cannot find source files, you can point it to a Windows 10 ISO by adding the /Source:WIM:C:\mount\sources\install.wim:1 flag, where the ISO is mounted to drive C.
  • Always create a system restore point before modifying system folders, especially if you are uncomfortable with command‑line operations.
  • When using the Microsoft Update Catalog, double‑check that the architecture (x64 vs. x86) matches your OS. Installing the wrong package will fail silently.

Troubleshooting

If the steps above do not resolve the issue, follow this escalation path:

  1. Verify Windows Update service health. Open Services (services.msc) and ensure that "Windows Update," "Background Intelligent Transfer Service," "Cryptographic Services," and "Windows Installer" are set to "Automatic (Delayed Start)" and are running. Restart any that are stopped.
  2. Check the CBS log for detailed error codes. Open C:\Windows\Logs\CBS\CBS.log in Notepad and search for the KB number. Look for error codes such as 0x800f081f, which indicates a missing source file.
  3. Perform an in‑place upgrade. Download the latest Windows 10 Media Creation Tool from Microsoft, choose "Upgrade this PC now," and select the option to keep personal files and apps. This process refreshes the OS files without wiping data and often clears stubborn component‑store issues.
  4. Consider a clean install as a last resort. Back up all important data, create a bootable USB with the Media Creation Tool, and perform a fresh installation. This guarantees that no residual corruption remains, but it also erases installed programs and settings.

Frequently Asked Questions

What does the "Error applying transforms" message actually mean?

The message indicates that the Windows Installer (msiexec) could not apply a transformation file (.mst) that modifies the base MSI package. The failure usually stems from a corrupted component store or missing source files.

Can I fix the error without using the command line?

Some users succeed by running the Windows Update troubleshooter and resetting the SoftwareDistribution folder via the Settings UI, but the most reliable fix involves DISM and SFC, which are command‑line tools.

Will resetting the SoftwareDistribution folder delete my installed updates?

No. Renaming the folder only clears the temporary download cache. Installed updates remain registered in the system registry and will not be removed.

Is the error related to specific Windows 10 builds?

The problem can appear on any supported build when the component store becomes inconsistent. It is not limited to a particular version.

Do I need to reinstall all pending updates after fixing the error?

After repairing the component store, run "Check for updates" again. Windows will automatically re‑download any updates that were previously marked as failed.

Can third‑party antivirus software interfere with the fix?

Some security suites block the Windows Update services or prevent DISM from accessing system files. Temporarily disabling the antivirus during the repair process can prevent interference, but remember to re‑enable it afterward.