FixWU

1.1.1

Safely resets a stuck Windows Update download queue. It checks for problems
a reset can't fix, backs up the update caches instead of deleting them, and
tells you what actually worked.

1. Checks for causes a cache reset can't fix (pending reboot, disabled
  service, WSUS / blocking policy, paused updates) and reports them.
2. Clears the BITS and Delivery Optimization
Safely resets a stuck Windows Update download queue. It checks for problems
a reset can't fix, backs up the update caches instead of deleting them, and
tells you what actually worked.

1. Checks for causes a cache reset can't fix (pending reboot, disabled
  service, WSUS / blocking policy, paused updates) and reports them.
2. Clears the BITS and Delivery Optimization download queues.
3. Stops the update services, then renames SoftwareDistribution and
  catroot2 to *.old. Windows rebuilds both; the .old copies are your undo.
  A backup left by an earlier run is replaced, so there's only ever one.
4. (Optional) Resets the WinHTTP proxy and Winsock catalog.
5. Restarts only the services that were running before.

Once updates work again, run it with -Cleanup to delete the .old backups.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name FixWU

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 papahuge. Released under the MIT License.

Package Details

Author(s)

  • papahuge

Tags

WindowsUpdate Windows Update Reset Repair Troubleshooting BITS SoftwareDistribution

Functions

Write-Step Close-Log Stop-UpdateService Move-Aside Get-FolderSize Format-Size Get-OldBackup Invoke-Cleanup

PSEditions

Desktop Core

Dependencies

This script has no dependencies.

Release Notes

1.1.1: First PowerShell Gallery release (adds Gallery metadata).
Full history: https://github.com/papahuge/FixWU/releases

FileList

Version History

Version Downloads Last updated
1.1.1 (current version) 10 11/11/2026