← ClaudeAtlas

win-c-cleanerlisted

Windows 10/11 通用 C 盘清理 skill。按 8 阶段(风险低→收益大)分批释放系统盘空间:临时文件、休眠/虚拟内存、DISM WinSxS、UWP 应用、移动大应用、重复驱动、OEM 软件、出厂预装包。预计释放 25-35 GB。在用户提到「C 盘清理 / 清理 C 盘 / 系统盘满了 / free up C drive / Windows 磁盘清理 / WinSxS / Windows.old / 删除休眠文件 / 缩虚拟内存」时使用。
Gutiz/win-c-cleaner · ★ 0 · Data & Documents · score 72
Install: claude install-skill Gutiz/win-c-cleaner
# Windows C 盘通用清理 Skill(Win10/11) 按官方手册 8 阶段顺序操作,**风险低 → 收益大**,每阶段独立,做完确认无误再进下一个。整套做完通常可释放 **25-35 GB**。 ## 触发条件 - 用户当前在 Windows 10 或 Windows 11 系统 - 用户希望释放 C 盘空间、降低系统盘占用、清理临时文件/缓存/驱动 - 不要在 Linux / macOS 会话中调用此 skill ## 运行前必查(assistant 必须确认) 1. **管理员 PowerShell**:所有阶段都要求管理员权限。脚本会自检,未提权直接退出。 2. **当前可用空间**:先跑 `scripts/Get-DiskReport.ps1`,记录 C 盘 before 数值。 3. **系统版本**:`Get-CimInstance Win32_OperatingSystem` 必须是 Win10(10.0.19041+)或 Win11。 4. **D 盘可选**:阶段 5/8 需要其他卷做迁移/备份;如无,跳过或改用外接盘。 ## 阶段总览 | 阶段 | 操作 | 耗时 | 收益 | 风险 | 脚本 | |------|------|------|------|------|------| | 1 | 系统临时文件/缓存 | 5 min | 3-8 GB | 极低 | `Invoke-Stage1-TempClean.ps1` | | 2 | 关休眠 + 缩虚拟内存 | 2 min | 8-10 GB | 极低 | `Invoke-Stage2-HiberPagefile.ps1` | | 3 | DISM 清理 WinSxS | 10-20 min | 2-3 GB | 极低 | `Invoke-Stage3-DismCleanup.ps1` | | 4 | 卸载 UWP 垃圾应用 | 5 min | 1-1.5 GB | 低 | `Invoke-Stage4-UwpBloat.ps1` | | 5 | 移动大型应用到其他盘 | 5 min | 1+ GB | 极低 | `Invoke-Stage5-MoveApps.ps1` | | 6 | 删除重复驱动 | 20-30 min | 3-5 GB | 中 | `Invoke-Stage6-DriverCleanup.ps1` | | 7 | 卸载 OEM 预装软件 | 5 min | 0.5-1 GB | 中 | `Invoke-Stage7-OemBloat.ps1` | | 8 | 删除 OEM 出厂预装包 | 2 min | 1-6 GB | 中(需备份) | `Invoke-Stage8-RemovePpkg.ps1` | 入口编排:`scripts/Clean-All.ps1`(按顺序提示,每阶段确认)。 --- ## 阶段 1:临时文件 / 缓存(极低风险) 清理目标: - `C:\Windows\Temp\*` - `%TEMP%\*`、`%LOCALAPPDATA%\Temp\*` - `C:\Windows\SoftwareDistribution\Download\*`(Windows Update 缓存,会停 `wuauserv` 再删再启) - 回收站 - `thumbcache_*.db` 缩略图缓存 - `C:\Windows\Prefetch\*` - `C:\ProgramData\Microsoft\Windo