我创建了一个脚本,用于在新计算机上安装它后从 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
Run Code Online (Sandbox Code Playgroud)
我想知道一件事:我可以将其永久化吗?当一个新的更新带回了一半的应用程序时,我感到很惊讶。有没有办法只为操作系统而不是这些垃圾软件获取更新?
只是为了记录,这与如何卸载某些功能无关。这是关于如何永久删除它们。
你不必再做任何事情了。
自 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
| 归档时间: |
|
| 查看次数: |
6533 次 |
| 最近记录: |