Skip to content
Fix your issues with Windows Update using a simple script.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Fix Windows Updates

This is a little script that can fix most issues that users face with Windows Updates being stuck. Most of the time, this kinda issues occur due the files, required for the update, being corrupted. This prevents Windows Update from updating.


Close Settings app or Windows Update Control Panel window.

Right-Click here and click Save Link As... and save it as FixWindowsUpdate.ps1.

Open a Command Prompt (CMD) window as Administrator and run the following commands:

# Assuming you saved the aforementioned file in the Downloads directory
cd %USERPROFILE%\Downloads

# Now, run the fix script
PowerShell -ExecutionPolicy Unrestricted .\FixWindowsUpdate.ps1

Run Windows Update again.

You can’t perform that action at this time.