C盘空间清理脚本 C Drive Cleanup Script

无需安装 · 代码透明 · 自主掌控 · 释放10-50GB No Install · Open Source · You Control · Free 10-50GB >

中文版

简体中文
无需安装
纯脚本 无捆绑
代码可见
公开透明
自主掌控
随时可停
可释放空间
10GB - 50GB
⚠️ 必须以管理员身份运行 ⚠️ Must Run as Administrator
1. 右键点击「开始菜单」→ 选择「命令提示符 (管理员)」或「Windows 终端 (管理员)」
2. 复制下方脚本,粘贴到 CMD 窗口中按回车执行
1. Right-click Start Menu → Select "Command Prompt (Admin)" or "Windows Terminal (Admin)"
2. Copy the script below, paste into CMD window and press Enter
net stop wuauserv
del /q /f /s "%windir%\SoftwareDistribution\Download\*"
del /q /f /s "%temp%\*"
del /q /f /s "%windir%\temp\*"
del /q /f /s "%windir%\WinSxS\Temp\*.*" >nul 2>&1
rd /s /q C:\Windows.old
for /d /r "%localappdata%" %d in (cache) do @if exist "%d" del /q /f /s "%d" >nul 2>&1
powercfg -h off
cleanmgr /sageset:1
cleanmgr /sagerun:1
exit /b
>

English Version

English
No Install
Pure Script
Open Source
You Can Verify
You Control
Stop Anytime
Space to Free
10GB - 50GB
⚠️ 必须以管理员身份运行 ⚠️ Must Run as Administrator
1. 右键点击「开始菜单」→ 选择「命令提示符 (管理员)」或「Windows 终端 (管理员)」
2. 复制下方脚本,粘贴到 CMD 窗口中按回车执行
1. Right-click Start Menu → Select "Command Prompt (Admin)" or "Windows Terminal (Admin)"
2. Copy the script below, paste into CMD window and press Enter
net stop wuauserv
del /q /f /s "%windir%\SoftwareDistribution\Download\*"
del /q /f /s "%temp%\*"
del /q /f /s "%windir%\temp\*"
del /q /f /s "%windir%\WinSxS\Temp\*.*" >nul 2>&1
rd /s /q C:\Windows.old
for /d /r "%localappdata%" %d in (cache) do @if exist "%d" del /q /f /s "%d" >nul 2>&1
powercfg -h off
cleanmgr /sageset:1
cleanmgr /sagerun:1
exit /b
>