跳到正文
DEV Community· Bytecut·· 3 小時前AI 評分56

如何用 Win11Debloat 開源 PowerShell 腳本清理 Windows 11 預載應用及設定

How to Remove Windows 11 Bloatware with One Open-Source Script

AI 導讀

Win11Debloat 是一款開源 PowerShell 腳本,可在無需安裝的情況下清理及自訂 Windows 10 和 Windows 11,專案採用 MIT 授權並在 GitHub 獲得 60.4k 顆星。

正文

Bytecut

This article was drafted with AI assistance and fact-checked against the project's README.

Windows 11 ships with apps and settings you never asked for. Win11Debloat is a lightweight PowerShell script that lets you declutter and customize Windows, with no installation required. It is open source under the MIT license and has 60.4k stars on GitHub.

Before you start

The README is direct about it: "use at your own risk!" Make a restore point first.

Step 1: Open PowerShell as administrator

Open PowerShell or Terminal as an administrator. Accept the Windows UAC prompt; the README says admin rights are required for the script to function.

Step 2: Paste the one-line command from the README

& ([scriptblock]::Create((irm "https://debloat.raphi.re/")))

Wait for the script to download and launch Win11Debloat automatically. Want to read it first? The full script is public on GitHub.

Step 3: Read every on-screen instruction

The README asks you to carefully read through and follow the on-screen instructions. Among the options it lists:

  • Disable and remove Microsoft Copilot, Windows Recall and Click to Do
  • Disable telemetry, diagnostic data, activity history, app-launch tracking and targeted ads
  • Disable tips, tricks, suggestions and ads across Windows, the lock screen and Microsoft Edge
  • Disable Xbox Game Bar integration and game/screen recording

It works on both Windows 10 and Windows 11.

How to undo it

Per the README, all of the changes can easily be reverted, and almost all of the apps can be reinstalled through the Microsoft Store.

Source

來源:DEV Community · dev.to