Windows10Debloater README

The project's README from github.com/Sycnex/Windows10Debloater. As one markdown file: README.md.

Windows10Debloater

made-with-powershell License: MIT

Script/Utility/Application to debloat Windows 10, to remove Windows pre-installed unnecessary applications, stop some telemetry functions, stop Cortana from being used as your Search Index, disable unnecessary scheduled tasks, and more...

Donate a cup of coffee

Buy Me A Coffee

Be sure to look at the Contributors' GitHubs to see if they have GitHub sponsorships as well since they have contributed to this open-source project. (https://github.com/Sycnex/Windows10Debloater/graphs/contributors)

Disclaimer

WARNING: I do NOT take responsibility for what may happen to your system! Run scripts at your own risk! Also, other variants of this repo are not technically "new" versions of this, but they are different in their own respective ways. There are some sites saying that other projects are "new" versions of this, but that is inaccurate.

How To Run the Windows10Debloater.ps1 and the Windows10DebloaterGUI.ps1 files

There are different methods of running the PowerShell script. The methods are as follows:

First Method

  1. Download the .zip file on the main page of the GitHub and extract the .zip file to your desired location
  2. Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
  3. Enable PowerShell execution

Set-ExecutionPolicy Unrestricted -Force 4) On the prompt, change to the directory where you extracted the files:   e.g. - cd c:\temp 5) Next, to run either script, enter in the following:   e.g. - .\Windows10DebloaterGUI.ps1

Second Method

  1. Download the .zip file on the main page of the GitHub and extract the .zip file to your desired location
  2. Right-click the PowerShell file that you'd like to run and click on "Run With PowerShell"
  3. This will allow the script to run without having to do the above steps but Powershell will ask if you're sure you want to run this script.

Remember this script NEEDS to be run as admin in order to function properly.

How To Run the Windows10SysPrepDebloater.ps1 file

For the WindowsSysPrepDebloater.ps1 file, there are a couple of parameters that you can run so that you can specify which functions are used. The parameters are: -SysPrep, -Debloat and -Privacy.

To run this with parameters, do the following:

  1. Download the .zip file on the main page of the GitHub and extract the .zip file to your desired location
  2. Once extracted, open PowerShell (or PowerShell ISE) as an Administrator
  3. On the prompt, change to the directory where you extracted the files:   e.g. - cd c:\temp
  4. Next, to run either script, enter in the following:

e.g. - .\Windows10SysPrepDebloater.ps1 -Sysprep -Debloat -Privacy

Sysprep, Interactive, and GUI Application

There are now 3 versions of Windows10Debloater - There is an interactive version, a GUI app version, and a pure silent version.

Switch Parameters

There are 3 switch parameters in the Windows10SysPrepDebloater.ps1 script.

This script will remove the bloatware from Windows 10 when using Remove-AppXPackage/Remove-AppXProvisionedPackage, and then delete specific registry keys that are were not removed beforehand. For best results, this script should be run before a user profile is configured, otherwise, you will likely see that apps that should have been removed will remain, and if they are removed you will find broken tiles on the start menu.

These registry keys are

EclipseManager, ActiproSoftwareLLC, Microsoft.PPIProjection, Microsoft.XboxGameCallableUI

You can choose to either 'Debloat' or 'Revert'. Depending on your choice, either one will run specific code to either debloat your Windows 10 machine.

The Debloat switch choice runs the following functions

Debloat, Remove-Keys, Protect-Privacy, Stop-EdgePDF (If chosen)

The Revert switch choice runs the following functions

Revert-Changes, Enable-EdgePDF

The Revert option reinstalls the bloatware and changes your registry keys back to default.

The scheduled tasks that are disabled are

XblGameSaveTaskLogon, XblGameSaveTask, Consolidator, UsbCeip, DmClient

These scheduled tasks that are disabled have absolutely no impact on the function of the OS.

Bloatware that is removed

3DBuilder, ActiproSoftware, Alarms, Appconnector, Asphalt8, Autodesk SketchBook, MSN Money, Food And Drink, Health And Fitness, Microsoft News, MSN Sports, MSN Travel, MSN Weather, BioEnrollment, Windows Camera, CandyCrush, CandyCrushSoda, Caesars Slots Free Casino, ContactSupport, CyberLink MediaSuite Essentials, DrawboardPDF, Duolingo, EclipseManager, Facebook, FarmVille 2 Country Escape, Flipboard, Fresh Paint, Get started, iHeartRadio, King apps, Maps, March of Empires, Messaging, Microsoft Office Hub, Microsoft Solitaire Collection, Microsoft Sticky Notes, Minecraft, Netflix, Network Speed Test, NYT Crossword, Office Sway, OneNote, OneConnect, Pandora, People, Phone, Phototastic Collage, PicsArt-PhotoStudio, PowerBI, Royal Revolt 2, Shazam, Skype for Desktop, SoundRecorder, TuneInRadio, Twitter, Windows communications apps, Windows Feedback, Windows Feedback Hub, Windows Reading List, XboxApp, Xbox Game CallableUI, Xbox Identity Provider, Zune Music, Zune Video.

iwr -useb https://git.io/debloat|iex

Allowlist and Blocklist

There may be some confusion, but when using the Allowlist/Blocklist, the checkmark means it is on the blocklist, and that it will be removed.

Credits

Thank you to a60wattfish, abulgatz, xsisbest, Damian, Vikingat-RAGE, Reddit user /u/GavinEke, and all of the contributors (https://github.com/Sycnex/Windows10Debloater/graphs/contributors) for the suggestions, code, changes, and fixes that you have all graciously worked hard on and shared! You all have done a fantastic job!

Windows10Debloater (Sycnex/Windows10Debloater)

Searching Database…

18.8K ·GitHub
archived
这是什么?一个 PowerShell 脚本/工具,用于精简 Windows 10:删除预装应用、停止部分遥测功能、阻止 Cortana 被用作搜索索引,并禁用不必要的计划任务。
这是单个脚本,还是也包含图形界面应用?它提供三个版本:带提示的交互式 PowerShell 脚本、带按钮的图形界面应用(Windows10DebloaterGUI.ps1),以及带开关参数、适用于部署场景的静默 sysprep 版本。
我该如何在电脑上运行它?从仓库下载并解压 .zip 文件,以管理员身份打开 PowerShell,运行 'Set-ExecutionPolicy Unrestricted -Force',cd 到解压后的文件夹,然后执行例如 .\Windows10DebloaterGUI.ps1。
我需要以管理员身份运行吗?需要。脚本必须在 PowerShell 中以管理员身份运行,否则无法正常工作。
运行它安全吗?有没有需要注意的地方?作者不提供任何保证,并提醒您需自行承担风险运行。为获得最佳效果,应在配置用户配置文件之前运行,否则被删除的应用可能会在开始菜单中留下失效的磁贴。该仓库现已归档,意味着不再积极维护。
它也能停止 Windows 遥测和 Cortana 搜索跟踪吗?可以。-Privacy 开关(以及 Protect-Privacy 函数)会添加或修改注册表项,以停止遥测、阻止 Cortana 充当搜索索引,并禁用某些计划任务。
它会删除哪些预装应用?列表很长,包括 Candy Crush、Netflix、Skype、3D Builder、Facebook、Minecraft、OneNote、Xbox 应用、Microsoft Solitaire Collection(微软纸牌合集),以及其他数十款预装的 Microsoft Store 应用。
之后我可以撤销这些更改吗?可以。有一个还原选项,可以重新安装被删除的预装应用,并将修改过的注册表项恢复为默认值。
SysPrep 版本是做什么用的?Windows10SysPrepDebloater.ps1 是一个静默的、通过参数驱动的版本(使用 -SysPrep、-Debloat、-Privacy 开关),用于部署 MDT 镜像或对计算机执行 sysprep,无需任何交互式提示。
哪些计划任务会被禁用?XblGameSaveTaskLogon、XblGameSaveTask、Consolidator、UsbCeip 和 DmClient 等任务会被禁用,作者称这不会影响操作系统的正常功能。
Creator
Sycnex
Size
0.5 MB
Stars
18.8K
Updated
CommitJun 27
Age
8y
Commits · 90 Days