Repository navigation
Releases
Releases · papahuge/FixWU
FixWU 1.1.1 - now on the PowerShell Gallery
Now on the PowerShell Gallery 🎉
FixWU is published at https://www.powershellgallery.com/packages/FixWU, so you can install it without downloading or unblocking anything:
Install-PSResource FixWU -Scope CurrentUser # PowerShell 7.4 or newer
Install-Script FixWU -Scope CurrentUser # Windows PowerShell 5.1Changed
- Added PowerShell Gallery metadata (version, ID, tags, project and license links) to the top of the script.
- Tidy-ups from PSScriptAnalyzer: now 0 errors and 0 warnings. No behavior changes.
Quick start (download instead)
- Download
FixWU.ps1from the assets below. - Unblock it:
Unblock-File .\FixWU.ps1 - From an admin terminal:
powershell -ExecutionPolicy Bypass -File .\FixWU.ps1
See the README for all options and troubleshooting tips.
Full changes: v1.1.0...v1.1.1
FixWU 1.1.0
Changed
-IgnorePendingRebootis now-Force. Same behavior (run even if Windows is waiting on a reboot), much shorter name. The old name has been removed, so use-Forcefrom now on.
Added
- Issue forms for bug reports and feature requests. The bug form asks for your Windows and PowerShell versions and the FixWU log.
- README: a Reporting a problem section, and the download link now always points at the newest release.
Quick start
- Download
FixWU.ps1from the assets below. - Unblock it (Windows blocks scripts downloaded from the internet):
Unblock-File .\FixWU.ps1 - From an admin terminal:
powershell -ExecutionPolicy Bypass -File .\FixWU.ps1
See the README for all options, the optional FixWU shortcut, and troubleshooting tips.
Full changes: v1.0.0...v1.1.0
FixWU 1.0.0
First public release of FixWU: a PowerShell script that safely resets a stuck Windows Update queue.
Highlights
- Checks first for problems a reset can't fix: a pending reboot, a disabled update service, WSUS/Group Policy blocks, or paused updates.
- Clears the download queues: BITS jobs and the Delivery Optimization cache.
- Backs up instead of deleting: renames
SoftwareDistributionandcatroot2to.old, and retries if Windows grabs a file mid-reset. - Puts services back the way they were, then prints an honest summary of what worked and what didn't, plus a log.
-Cleanupdeletes the.oldbackups once updates work again (add-WhatIfto preview).- Optional
-Repair(DISM + SFC) and-ResetNetwork(WinHTTP proxy + Winsock). - Works in Windows PowerShell 5.1 and PowerShell 7+.
Quick start
- Download
FixWU.ps1from the assets below. - Unblock it (Windows blocks scripts downloaded from the internet):
Unblock-File .\FixWU.ps1 - From an admin terminal:
powershell -ExecutionPolicy Bypass -File .\FixWU.ps1
See the README for all options, the optional FixWU shortcut for your profile, and troubleshooting tips.