Skip to content

WinClean v2.2 - First Stable Release

Choose a tag to compare

@bivlked bivlked released this 15 Jan 20:32

WinClean v2.2

First Stable Release

Ultimate Windows 11 maintenance script - automated updates, cleanup, and optimization in one command


Highlights

This is the first stable release of WinClean after extensive testing and bug fixes. The script is now production-ready for Windows 11 systems.

What WinClean Does

  • Updates: Windows Update, Microsoft Store, Winget packages
  • Cleanup: Temp files, browser caches, Windows caches, Recycle Bin
  • Developer: npm, pip, NuGet, Gradle, Cargo, Go, Composer caches
  • Docker & WSL: Unused images, stopped containers, VHDX compaction
  • IDEs: Visual Studio, VS Code, JetBrains caches
  • Privacy: DNS cache, Run history, Explorer history, Event logs

Average Result: 5-20 GB freed


Installation

One-Line Install & Run

```powershell
irm https://raw.githubusercontent.com/bivlked/WinClean/main/WinClean.ps1 -OutFile "$env:TEMP\WinClean.ps1"; Start-Process pwsh -Verb RunAs -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$env:TEMP\WinClean.ps1`""
```

Requirements

Requirement Version
Windows 11 (23H2/24H2/25H2)
PowerShell 7.1+
Rights Administrator

What's New in v2.2

Fixed

  • TcpClient resource leak: Now properly closed in finally block to prevent socket exhaustion
  • Code region markers: Fixed 8 misplaced #region tags for proper IDE folding
  • Banner ASCII art: Changed from "DREAM" to "CLEAN" to match script name

Documentation

  • Added new SVG logo
  • Added Recycle Bin and Event logs to Features section
  • Full sync between English and Russian README

Version History

See CHANGELOG.md for complete version history.


Safety Features

Feature Description
Restore Point Created before any changes
Protected Paths System folders never touched
Preview Mode -ReportOnly shows changes first
Confirmation Windows.old asks before deletion

Quick Usage

Command Description
.\WinClean.ps1 Full maintenance
.\WinClean.ps1 -SkipUpdates Cleanup only
.\WinClean.ps1 -ReportOnly Preview mode

Thank you for using WinClean!

Documentation · Report Bug · Request Feature

Made with love for Windows users