Skip to content

Releases

FixWU 1.1.1 - now on the PowerShell Gallery

Choose a tag to compare

@papahuge papahuge released this 11 Nov 06:48

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.1

Changed

  • 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)

  1. Download FixWU.ps1 from the assets below.
  2. Unblock it: Unblock-File .\FixWU.ps1
  3. 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

Choose a tag to compare

@papahuge papahuge released this 11 Nov 06:18

Changed

  • -IgnorePendingReboot is now -Force. Same behavior (run even if Windows is waiting on a reboot), much shorter name. The old name has been removed, so use -Force from 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

  1. Download FixWU.ps1 from the assets below.
  2. Unblock it (Windows blocks scripts downloaded from the internet):
    Unblock-File .\FixWU.ps1
  3. 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

Choose a tag to compare

@papahuge papahuge released this 11 Nov 05:51

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 SoftwareDistribution and catroot2 to .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.
  • -Cleanup deletes the .old backups once updates work again (add -WhatIf to preview).
  • Optional -Repair (DISM + SFC) and -ResetNetwork (WinHTTP proxy + Winsock).
  • Works in Windows PowerShell 5.1 and PowerShell 7+.

Quick start

  1. Download FixWU.ps1 from the assets below.
  2. Unblock it (Windows blocks scripts downloaded from the internet):
    Unblock-File .\FixWU.ps1
  3. 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.