Skip to content

matbanik/rwu

Rover — RWU mascot

RWU — Reset & Repair Utility for Windows Update

Open-source Windows Update reset tool featuring comprehensive diagnostics, safe cache cleanup, DLL re-registration, and AI friendly log for analysis in a single script.

License: GPL-3.0 Windows 11 Windows 10

Quick Start

  1. Click the Start Menu, type PowerShell, and open it.
  2. Copy and paste the code below and press Enter.
irm https://matbanik.info/rwu | iex

Or download from Releases → right-click → Run as administrator.

Note

irm downloads a tiny launcher; it fetches the tool from GitHub and runs it elevated (UAC prompt). Run irm https://matbanik.info/rwu alone to inspect the launcher first.

Features

Feature Details
🔍 14-step reset Stop services → clear caches → re-register DLLs → restart → verify
📋 Interactive menu Full-screen TUI with color-coded toggles and step selection
CLI mode /diag, /reset, /step N — exit codes 0/1/2
🤖 AI-ready diagnostics Paste the log into ChatGPT, Copilot, or Claude for instant analysis
🛡️ Safe by default Dangerous steps disabled; require explicit opt-in with confirmation
🔄 Reversible Cache folders timestamped, registry keys exported before deletion
📦 Zero dependencies Single .cmd file — no installers, no telemetry, no admin tools

Usage

# Interactive menu
Reset_WindowsUpdate.cmd

# CLI: diagnostics only
Reset_WindowsUpdate.cmd /diag

# CLI: full reset with all optional steps
Reset_WindowsUpdate.cmd /reset /policy /sddl

# CLI: run a specific step
Reset_WindowsUpdate.cmd /step 3

# Full help
Reset_WindowsUpdate.cmd /help
What each step does
Step Action Risk
0 System diagnostics (OS, hardware, disk, events, network) None
1–2 Record config & stop WU services Low
3 Delete BITS queue data Low
4 Rename SoftwareDistribution & catroot2 (timestamped) Low
5 Reset BITS transfer queue Low
6 Export & delete WU registry policies (opt-in) Medium
7 Reset BITS/WU service permissions (opt-in) Medium
8 Re-register 30+ WU DLLs Low
9–10 Reset Winsock, proxy & flush DNS Medium
11–14 Restart services, verify connectivity, capture history None

When to Use This

  • ❌ Windows Update stuck at 0% or failing with error codes
  • ❌ Updates downloading but not installing
  • ❌ "Something went wrong" or "Undoing changes" after update
  • ❌ Windows Update missing from Settings

Not for activation issues. This tool only resets update components — no licensing or product key changes.

Requirements

OS Windows 10 / 11
Privileges Administrator
Dependencies None

Security

  • 100% open source — read every line before running
  • The tool (Reset_WindowsUpdate.cmd) makes no outbound calls except the WU connectivity test (Step 13)
  • The launcher (rwu.ps1) downloads the tool from GitHub Releases and verifies its SHA256 hash before execution
  • No telemetry, no bundled software, no activation changes
  • Logs may contain system identifiers — review before sharing

See SECURITY.md for vulnerability reporting.

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

License

GPL-3.0Mat Banik · matbanik.info/reset-windows-update-guide


This is an independent open-source project and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation. "Windows" and "Windows Update" are trademarks of Microsoft Corporation, used here for descriptive purposes only under nominative fair use.

If this helped you, ⭐ the repo — it helps others find it.

About

Open-source Reset & Repair for Windows Update Tool — 14-step fix, AI-ready diagnostics, interactive TUI + CLI automation. Single .cmd, zero dependencies.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors