如何从 Windows 10 PRO 中永久删除不需要的应用程序?

如何从 Windows 10 PRO 中永久删除不需要的应用程序?

我创建了一个脚本,可以在新计算机上安装 Windows 后从中删除不需要的应用程序。

Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *skypeapp* | Remove-AppxPackage
Get-AppxPackage *getstarted* | Remove-AppxPackage
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *onenote* | Remove-AppxPackage
Get-AppxPackage *people* | Remove-AppxPackage
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *windowsstore* | Remove-AppxPackage
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
Get-AppxPackage *bingweather* | Remove-AppxPackage
Get-AppxPackage *xboxapp* | Remove-AppxPackage

cleanmgr /SAGERUN:1221 

我想知道一件事:我可以让这个永久生效吗?当新的更新恢复了一半的应用程序时,我感到很惊讶。有没有办法只获取操作系统的更新而不获取这些垃圾软件的更新?

仅供参考,本文不是关于如何卸载某些功能。本文是关于如何永久删除它们。

答案1

您不需要再做任何事了。

自 1703 版发布以来,Windows 功能更新尚未重新安装您选择删除的应用程序。我使用 powershell 以相同的方式删除应用程序,并可以确认它们没有被重新添加,并且从 1703 版到当前的 1809 版,这种方法一直有效。

已卸载的内置应用不再自动重新安装

从 Windows 10 版本 1703 开始​​,用户卸载的内置应用将不会作为功能更新安装过程的一部分自动重新安装。

此外,管理员在 Windows 10 版本 1703 计算机上取消配置的应用程序在未来的功能更新安装后将保持取消配置状态。这不适用于从 Windows 10 版本 1607(或更早版本)到版本 1703 的更新。

https://docs.microsoft.com/en-us/windows/whats-new/whats-new-windows-10-version-1703

答案2

再次删除应用程序后电源外壳, 你可以试试禁用“消费者功能”为防止重新安装:

  • 按下Windows,输入regedit,然后按下Enter
  • 转到HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\(或将其复制/粘贴到注册表编辑器位置栏)
  • 在以下位置创建一个子键Windows:右键单击 Windows 键并选择New > Key;将其命名为CloudContent
  • 创建一个值:右键单击CloudContent并选择New > DWORD (32-bit) Value;命名它DisableWindowsConsumerFeatures
  • 双击要设置的新值1并单击OK

禁用消费者“功能”

您可能还想创建一个新值,DisableWindowsSpotlightFeatures并将其设置为1 尽量减少你的电脑和微软服务器之间的网络流量

注意:请谨慎对待这个答案:微软已忽略更新设置在过去。

相关内容