Win11Debloat is a simple, easy to use and lightweight PowerShell script that can remove pre-installed Windows bloatware apps, disable telemetry and declutter the experience by disabling or removing intrusive interface elements, ads and more. No need to painstakingly go through all the settings yourself, or remove apps one by one. Win11Debloat makes the process quick and easy!
Win11Debloat 是一个简单、易用且轻量级的 PowerShell 脚本,可以删除预安装的 Windows 英国媒体报道软件应用程序、禁用遥测并通过禁用或删除侵入性界面元素、广告等来整理体验。无需自己煞费苦心地完成所有设置,也无需一一删除应用程序。Win11Debloat 使该过程变得快速而简单!
You can pick and choose exactly which modifications you want the script to make, or use the default settings. If you are unhappy with any of the changes you can easily revert them by using the registry files that are included in the 'Regfiles' folder. All of the apps that are removed can be reinstalled from the Microsoft store.
您可以准确选择希望脚本进行哪些修改,或使用默认设置。如果您对任何更改不满意,则可以使用“Regfiles”文件夹中包含的注册表文件轻松还原它们。所有已删除的应用程序都可以从 Microsoft 商店重新安装。
Did this script help you? Please consider buying me a cup of coffee to support my work
这个脚本对你有帮助吗?请考虑给我买一杯咖啡来支持我的工作
Tip 提示
Select the custom mode to customize the script to your needs or select the default mode to apply the recommended changes.
选择自定义模式以根据您的需要自定义脚本,或选择默认模式以应用建议的更改。
- Remove a wide variety of bloatware apps.
删除各种英国媒体报道应用程序。 - Remove all pinned apps from start for the current user, or for all existing & new users. (Windows 11 only)
从“开始”开始删除当前用户或所有现有用户和新用户的所有固定应用。(仅限 Windows 11)
- Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads.
禁用遥测、诊断数据、活动历史记录、应用启动跟踪和定向广告。 - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen.
在开始、设置、通知、文件资源管理器和锁屏界面中禁用提示、技巧、建议和广告。
- Disable & remove Bing web search & Cortana from Windows search.
从 Windows 搜索中禁用和删除 Bing 网络搜索和 Cortana。 - Disable Windows Copilot. (Windows 11 only)
禁用 Windows Copilot。(仅限 Windows 11) - Disable Windows Recall snapshots. (Windows 11 only)
禁用 Windows Recall 快照。(仅限 Windows 11)
- Show hidden files, folders and drives.
显示隐藏的文件、文件夹和驱动器。 - Show file extensions for known file types.
显示已知文件类型的文件扩展名。 - Hide the gallery section from the File Explorer sidepanel. (Windows 11 only)
从文件资源管理器侧面板中隐藏库部分。(仅限 Windows 11) - Hide the 3D objects, music or onedrive folder from the File Explorer sidepanel. (Windows 10 only)
从文件资源管理器侧面板中隐藏 3D 对象、音乐或 onedrive 文件夹。(仅限 Windows 10) - Hide duplicate removable drive entries from the File Explorer sidepanel, so only the entry under 'This PC' remains.
从文件资源管理器侧面板中隐藏重复的可移动驱动器条目,因此仅保留“此电脑”下的条目。
- Align taskbar icons to the left. (Windows 11 only)
将任务栏图标向左对齐。(仅限 Windows 11) - Hide or change the search icon/box on the taskbar. (Windows 11 only)
隐藏或更改任务栏上的搜索图标/框。(仅限 Windows 11) - Hide the taskview button from the taskbar. (Windows 11 only)
从任务栏中隐藏 taskview 按钮。(仅限 Windows 11) - Disable the widgets service & hide icon from the taskbar.
禁用小部件服务并从任务栏中隐藏图标。 - Hide the chat (meet now) icon from the taskbar.
从任务栏中隐藏聊天(立即开会)图标。
- Restore the old Windows 10 style context menu. (Windows 11 only)
恢复旧的 Windows 10 样式上下文菜单。(仅限 Windows 11) - Hide the 'Include in library', 'Give access to' and 'Share' options from the context menu. (Windows 10 only)
从上下文菜单中隐藏“包含在库中”、“授予访问权限”和“共享”选项。(仅限 Windows 10)
- Disable Xbox game/screen recording (Also stops gaming overlay popups)
禁用 Xbox 游戏/屏幕录制(也会停止游戏覆盖弹出窗口)
- Sysprep mode to apply changes to the Windows Default user profile.
Sysprep 模式,用于将更改应用于 Windows 默认用户配置文件。
The default mode applies the changes that are recommended for most users, expand the section below for more info.
默认模式将应用建议大多数用户进行的更改,展开下面的部分以获取更多信息。
Click to expand 点击展开
Default mode applies the following changes: - Remove the default selection of bloatware apps. (See below for full list) - Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. - Disable tips, tricks, suggestions and ads in start, settings, notifications, File Explorer, and on the lockscreen. - Disable & remove Bing web search & Cortana from Windows search. - Disable Windows Copilot. (Windows 11 only) - Show file extensions for known file types. - Hide the 3D objects folder under 'This pc' from File Explorer. (Windows 10 only) - Disable the widget service & hide the icon from the taskbar. - Hide the Chat (meet now) icon from the taskbar.
Click to expand 点击展开
Microsoft bloat: - Clipchamp.Clipchamp - Microsoft.3DBuilder - Microsoft.549981C3F5F10 (Cortana app) - Microsoft.BingFinance - Microsoft.BingFoodAndDrink - Microsoft.BingHealthAndFitness - Microsoft.BingNews - Microsoft.BingSearch* (Bing web search in Windows) - Microsoft.BingSports - Microsoft.BingTranslator - Microsoft.BingTravel - Microsoft.BingWeather - Microsoft.Getstarted (Cannot be uninstalled in Windows 11) - Microsoft.Messaging - Microsoft.Microsoft3DViewer - Microsoft.MicrosoftJournal - Microsoft.MicrosoftOfficeHub - Microsoft.MicrosoftPowerBIForWindows - Microsoft.MicrosoftSolitaireCollection - Microsoft.MicrosoftStickyNotes - Microsoft.MixedReality.Portal - Microsoft.NetworkSpeedTest - Microsoft.News - Microsoft.Office.OneNote (Discontinued UWP version only, does not remove new MS365 versions) - Microsoft.Office.Sway - Microsoft.OneConnect - Microsoft.Print3D - Microsoft.SkypeApp - Microsoft.Todos - Microsoft.WindowsAlarms - Microsoft.WindowsFeedbackHub - Microsoft.WindowsMaps - Microsoft.WindowsSoundRecorder - Microsoft.XboxApp (Old Xbox Console Companion App, no longer supported) - Microsoft.ZuneVideo - MicrosoftCorporationII.MicrosoftFamily (Microsoft Family Safety) - MicrosoftTeams (Old personal version of MS Teams from the MS Store) - MSTeams (New MS Teams app) Third party bloat: - ACGMediaPlayer - ActiproSoftwareLLC - AdobeSystemsIncorporated.AdobePhotoshopExpress - Amazon.com.Amazon - AmazonVideo.PrimeVideo - Asphalt8Airborne - AutodeskSketchBook - CaesarsSlotsFreeCasino - COOKINGFEVER - CyberLinkMediaSuiteEssentials - DisneyMagicKingdoms - Disney - Dolby - DrawboardPDF - Duolingo-LearnLanguagesforFree - EclipseManager - Facebook - FarmVille2CountryEscape - fitbit - Flipboard - HiddenCity - HULULLC.HULUPLUS - iHeartRadio - Instagram - king.com.BubbleWitch3Saga - king.com.CandyCrushSaga - king.com.CandyCrushSodaSaga - LinkedInforWindows - MarchofEmpires - Netflix - NYTCrossword - OneCalendar - PandoraMediaInc - PhototasticCollage - PicsArt-PhotoStudio - Plex - PolarrPhotoEditorAcademicEdition - Royal Revolt - Shazam - Sidia.LiveWallpaper - SlingTV - Speed Test - Spotify - TikTok - TuneInRadio - Twitter - Viber - WinZipUniversal - Wunderlist - XING * App is removed when disabling Bing in Windows search.
Click to expand 点击展开
General apps that are not removed by default: - Microsoft.Edge (Edge browser, only removeable in the EEA) - Microsoft.GetHelp (Required for some Windows 11 Troubleshooters) - Microsoft.MSPaint (Paint 3D) - Microsoft.OutlookForWindows* (New mail app) - Microsoft.OneDrive (OneDrive consumer) - Microsoft.Paint (Classic Paint) - Microsoft.People* (Required for & included with Mail & Calendar) - Microsoft.ScreenSketch (Snipping Tool) - Microsoft.Whiteboard (Only preinstalled on devices with touchscreen and/or pen support) - Microsoft.Windows.Photos - Microsoft.WindowsCalculator - Microsoft.WindowsCamera - Microsoft.windowscommunicationsapps* (Mail & Calendar) - Microsoft.WindowsStore (Microsoft Store, NOTE: This app cannot be reinstalled!) - Microsoft.WindowsTerminal (New default terminal app in Windows 11) - Microsoft.YourPhone (Phone Link) - Microsoft.Xbox.TCUI (UI framework, removing this may break MS store, photos and certain games) - Microsoft.ZuneMusic (Modern Media Player) Gaming related apps that are not removed by default: - Microsoft.GamingApp* (Modern Xbox Gaming App, required for installing some games) - Microsoft.XboxGameOverlay* (Game overlay, required for some games) - Microsoft.XboxGamingOverlay* (Game overlay, required for some games) - Microsoft.XboxIdentityProvider (Xbox sign-in framework, required for some games) - Microsoft.XboxSpeechToTextOverlay (Might be required for some games, NOTE: This app cannot be reinstalled!) Developer related apps that are not removed by default: - Microsoft.PowerAutomateDesktop* - Microsoft.RemoteDesktop* - Windows.DevHome* * Can be removed by running the script with the relevant parameter. (See parameters section below)
Warning 警告
Great care went into making sure this script does not unintentionally break any OS functionality, but use at your own risk!
我们非常小心地确保此脚本不会无意中破坏任何操作系统功能,但使用风险自负!
Download & run the script automatically via PowerShell.
通过PowerShell自动下载并运行脚本。
- Open PowerShell as an administrator.
以管理员身份打开 PowerShell。 - Copy and paste the code below into PowerShell, press enter to run the script:
将以下代码复制并粘贴到 PowerShell 中,按回车键运行脚本:
& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/")))
- Wait for the script to automatically download Win11Debloat.
等待脚本自动下载 Win11Debloat。 - A new PowerShell window will open showing the Win11Debloat menu. Select either the default or custom mode to continue.
将打开一个新的 PowerShell 窗口,其中显示 Win11Debloat 菜单。选择默认模式或自定义模式以继续。 - Carefully read through and follow the on-screen instructions.
请仔细阅读并按照屏幕上的说明进行操作。
This method supports parameters. To use parameters simply run the script as explained above, but add the parameters at the end with spaces in between. Example:
此方法支持参数。要使用参数,只需如上所述运行脚本,但在末尾添加参数,中间要有空格。例:
& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) -RunDefaults -Silent
Manually download & run the script.
手动下载并运行脚本。
- Download the latest version of the script, and extract the .ZIP file to your desired location.
下载脚本的最新版本,并将.ZIP文件解压缩到所需位置。 - Navigate to the Win11Debloat folder
导航到 Win11Debloat 文件夹 - Double click the
Run.bat
file to start the script. NOTE: If the console window immediately closes and nothing happens, try the advanced method below.
双击Run.bat
文件以启动脚本。注意:如果控制台窗口立即关闭且没有任何反应,请尝试下面的高级方法。 - Accept the Windows UAC prompt to run the script as administrator, this is required for the script to function.
接受 Windows UAC 提示以管理员身份运行脚本,这是脚本运行所必需的。 - A new PowerShell window will now open showing the Win11Debloat menu. Select either the default or custom mode to continue.
现在将打开一个新的 PowerShell 窗口,显示 Win11Debloat 菜单。选择默认模式或自定义模式以继续。 - Carefully read through and follow the on-screen instructions.
请仔细阅读并按照屏幕上的说明进行操作。
Manually download the script & run the script via PowerShell. Only recommended for advanced users.
手动下载脚本并通过 PowerShell 运行脚本。仅推荐给高级用户。
- Download the latest version of the script, and extract the .ZIP file to your desired location.
下载脚本的最新版本,并将.ZIP文件解压缩到所需位置。 - Open PowerShell as an administrator.
以管理员身份打开 PowerShell。 - Enable PowerShell execution by entering the following command:
通过输入以下命令启用 PowerShell 执行:
Set-ExecutionPolicy Unrestricted -Scope Process
- In PowerShell, navigate to the directory where the files were extracted. Example:
cd c:\Win11Debloat
在 PowerShell 中,导航到提取文件的目录。示例:cd c:\Win11Debloat
- Now run the script by entering the following command:
现在,通过输入以下命令来运行脚本:
.\Win11Debloat.ps1
- The Win11Debloat menu will now open. Select either the default or custom setup to continue.
Win11Debloat 菜单现在将打开。选择默认设置或自定义设置以继续。 - Carefully read through and follow the on-screen instructions.
请仔细阅读并按照屏幕上的说明进行操作。
This method supports parameters. To use parameters simply run the script as explained above, but add the parameters at the end with spaces in between. Example:
此方法支持参数。要使用参数,只需如上所述运行脚本,但在末尾添加参数,中间要有空格。例:
.\Win11Debloat.ps1 -RemoveApps -DisableBing -Silent
The quick and advanced method support parameters to tailor the behaviour of the script to your needs. A list of all the supported parameters and what they do can be found below.
快速和高级方法支持参数,可根据您的需求定制脚本的行为。可以在下面找到所有受支持的参数及其作用的列表。
Parameter 参数 | Description 描述 |
---|---|
-Silent -沉默 | Suppresses all interactive prompts, so the script will run without requiring any user input. 禁止显示所有交互式提示,因此脚本将在不需要任何用户输入的情况下运行。 |
-Sysprep -系统准备 | Run the script in Sysprep mode. All changes will be applied to the Windows default user profile and will only affect new user accounts. 在 Sysprep 模式下运行脚本。所有更改都将应用于 Windows 默认用户配置文件,并且仅影响新用户帐户。 |
-RunDefaults | Run the script with the default settings. 使用默认设置运行脚本。 |
-RemoveApps -删除应用程序 | Remove the default selection of bloatware apps. 删除英国媒体报道软件应用的默认选择。 |
-RemoveAppsCustom -RemoveApps自定义 | Remove all apps from the 'CustomAppsList' file. IMPORTANT: Run the script with the -RunAppConfigurator parameter to create this file first. No apps will be removed if this file does not exist!从“CustomAppsList”文件中删除所有应用。重要说明:首先运行带有 -RunAppConfigurator 参数的脚本以创建此文件。如果此文件不存在,则不会删除任何应用程序! |
-RunAppConfigurator | Run the app configurator to create a 'CustomAppsList' file. Run the script with the -RemoveAppsCustom parameter to remove these apps.运行应用程序配置器以创建“CustomAppsList”文件。使用 -RemoveAppsCustom 参数运行脚本以删除这些应用。 |
-RemoveCommApps -删除通信应用程序 | Remove the Mail, Calendar, and People apps. 移除“邮件”、“日历”和“人脉”应用。 |
-RemoveW11Outlook -删除W11Outlook | Remove the new Outlook for Windows app. 删除新的 Outlook for Windows 应用。 |
-RemoveDevApps | Remove developer-related apps such as Remote Desktop, DevHome and Power Automate. 删除与开发人员相关的应用,例如远程桌面、DevHome 和 Power Automate。 |
-RemoveGamingApps | Remove the Xbox App and Xbox Gamebar. 删除 Xbox 应用和 Xbox Gamebar。 |
-ForceRemoveEdge | Forcefully remove Microsoft Edge, this option leaves Core, WebView and Update components installed for compatibility. NOT RECOMMENDED! 强制删除 Microsoft Edge,此选项会保留已安装 Core、WebView 和 Update 组件以实现兼容性。不推荐! |
-DisableDVR -禁用DVR | Disable Xbox game/screen recording feature & stop gaming overlay popups. 禁用Xbox游戏/屏幕录制功能并停止游戏覆盖弹出窗口。 |
-ClearStart -清除开始 | Remove all pinned apps from start for the current user (Windows 11 update 22H2 or later only) 从“开始”中删除当前用户的所有固定应用(仅限 Windows 11 更新 22H2 或更高版本) |
-ClearStartAllUsers | Remove all pinned apps from start for all existing and new users. (Windows 11 update 22H2 or later only) 从“开始”开始开始删除所有现有用户和新用户的所有固定应用。(仅限 Windows 11 更新 22H2 或更高版本) |
-DisableTelemetry | Disable telemetry, diagnostic data & targeted ads. 禁用遥测、诊断数据和定向广告。 |
-DisableBing -禁用Bing | Disable & remove Bing web search, Bing AI & Cortana in Windows search. 在Windows搜索中禁用和删除Bing网络搜索,Bing AI和Cortana。 |
-DisableSuggestions -DisableSuggestions(禁用建议) | Disable tips, tricks, suggestions and ads in start, settings, notifications and File Explorer. 在开始、设置、通知和文件资源管理器中禁用提示、技巧、建议和广告。 |
-DisableLockscreenTips |
Disable tips & tricks on the lockscreen. 禁用锁屏界面上的提示和技巧。 |
-RevertContextMenu | Restore the old Windows 10 style context menu. (Windows 11 only) 恢复旧的 Windows 10 样式上下文菜单。(仅限 Windows 11) |
-ShowHiddenFolders | Show hidden files, folders and drives. 显示隐藏的文件、文件夹和驱动器。 |
-ShowKnownFileExt | Show file extensions for known file types. 显示已知文件类型的文件扩展名。 |
-HideDupliDrive -HideDupli驱动器 | Hide duplicate removable drive entries from the File Explorer sidepanel, so only the entry under 'This PC' remains. 从文件资源管理器侧面板中隐藏重复的可移动驱动器条目,因此仅保留“此电脑”下的条目。 |
-TaskbarAlignLeft | Align taskbar icons to the left. (Windows 11 only) 将任务栏图标向左对齐。(仅限 Windows 11) |
-HideSearchTb -隐藏搜索Tb | Hide search icon from the taskbar. (Windows 11 only) 隐藏任务栏中的搜索图标。(仅限 Windows 11) |
-ShowSearchIconTb | Show search icon on the taskbar. (Windows 11 only) 在任务栏上显示搜索图标。(仅限 Windows 11) |
-ShowSearchLabelTb | Show search icon with label on the taskbar. (Windows 11 only) 在任务栏上显示带有标签的搜索图标。(仅限 Windows 11) |
-ShowSearchBoxTb | Show search box on the taskbar. (Windows 11 only) 在任务栏上显示搜索框。(仅限 Windows 11) |
-HideTaskview | Hide the taskview button from the taskbar. (Windows 11 only) 从任务栏中隐藏 taskview 按钮。(仅限 Windows 11) |
-HideChat -隐藏聊天 | Hide the chat (meet now) icon from the taskbar. 从任务栏中隐藏聊天(立即开会)图标。 |
-DisableWidgets | Disable the widget service & hide the widget (news and interests) icon from the taskbar. 禁用小部件服务并从任务栏中隐藏小部件(新闻和兴趣)图标。 |
-DisableCopilot | Disable Windows copilot. (Windows 11 only) 禁用 Windows copilot。(仅限 Windows 11) |
-DisableRecall -DisableRecall(禁用召回) | Disable Windows Recall snapshots. (Windows 11 only) 禁用 Windows Recall 快照。(仅限 Windows 11) |
-HideGallery -隐藏画廊 | Hide the gallery section from the File Explorer sidepanel. (Windows 11 only) 从文件资源管理器侧面板中隐藏库部分。(仅限 Windows 11) |
-HideOnedrive -HideOne驱动器 | Hide the onedrive folder from the File Explorer sidepanel. (Windows 10 only) 从文件资源管理器侧面板中隐藏 onedrive 文件夹。(仅限 Windows 10) |
-Hide3dObjects | Hide the 3D objects folder under 'This pc' in File Explorer. (Windows 10 only) 在文件资源管理器中的“这台电脑”下隐藏 3D 对象文件夹。(仅限 Windows 10) |
-HideMusic -隐藏音乐 | Hide the music folder under 'This pc' in File Explorer. (Windows 10 only) 在文件资源管理器中的“这台电脑”下隐藏音乐文件夹。(仅限 Windows 10) |
-HideIncludeInLibrary | Hide the 'Include in library' option in the context menu. (Windows 10 only) 隐藏上下文菜单中的“包含在库中”选项。(仅限 Windows 10) |
-HideGiveAccessTo | Hide the 'Give access to' option in the context menu. (Windows 10 only) 在上下文菜单中隐藏“授予访问权限”选项。(仅限 Windows 10) |
-HideShare -隐藏共享 | Hide the 'Share' option in the context menu. (Windows 10 only) 隐藏上下文菜单中的“分享”选项。(仅限 Windows 10) |