PowerShell script streamlines Windows 11 debloating for new PCs
A community-developed PowerShell script called Win11Debloat lets users remove preinstalled apps and disable unwanted features on Windows 11 with a single command.
A PowerShell script named Win11Debloat provides a one-command way to remove preinstalled applications and disable optional Windows 11 features. The script downloads from a public URL, prompts for administrator permission, and then offers a graphical interface that guides users through creating a registry backup, a Start menu layout backup, and a system restore point before making changes.
Users can choose a default mode that removes a range of OEM utilities and Microsoft apps, such as HP Easy Clean, Lenovo Vantage, Microsoft News, Office Hub, and Teams, or opt for a custom setup to select specific components. The tool categorises apps as recommended, optional or not recommended, warning that removal of the latter may affect core system functionality.
In addition to app removal, Win11Debloat includes options to disable telemetry, targeted ads, lock-screen tips, and suggestions in Microsoft Edge. It also allows users to turn off AI features like Microsoft Copilot and Windows Recall, as well as to modify multitasking settings, enable Windows Sandbox, and activate the Windows Subsystem for Linux.
The script can restore Windows 10-style behaviors, such as the classic right-click context menu, and adjust Start menu, Search and File Explorer settings, including showing file extensions and hiding unwanted navigation pane entries. Configurations can be exported and imported to apply the same setup on additional machines.
While the utility simplifies many adjustments, the author notes that disabling certain features—such as BitLocker encryption or Storage Sense—may have unintended consequences and should be approached with caution.