其实很简单,微软已经准备了强大的工具,这就是PowerShell命令行窗口。用PowerShell命令行可以完全删除一些预装应用,注意是完全的删除,而不是仅仅屏蔽掉。
![win10](/d/files/20230903/vt201zgndzg.webp)
首先在开始菜单中找到它,右键点击,选择“以管理员身份运行”,然后想要卸载什么,就输入相应的命令。
![win10](/d/files/20230903/e0pp3mswtn3.webp)
OneNote:
Get-AppxPackage *OneNote* | Remove-AppxPackage
3D:
Get-AppxPackage *3d* | Remove-AppxPackage
Camera相机:
Get-AppxPackage *camera* | Remove-AppxPackage
邮件和日历:
Get-AppxPackage *communi* | Remove-AppxPackage
新闻订阅:
Get-AppxPackage *bing* | Remove-AppxPackage
Groove音乐、电影与电视:
Get-AppxPackage *zune* | Remove-AppxPackage
人脉:
Get-AppxPackage *people* | Remove-AppxPackage
手机伴侣(Phone Companion):
Get-AppxPackage *phone* | Remove-AppxPackage
照片:
Get-AppxPackage *photo* | Remove-AppxPackage
纸牌游戏(还敢要钱的那货):
Get-AppxPackage *solit* | Remove-AppxPackage
录音机:
Get-AppxPackage *soundrec* | Remove-AppxPackage
Xbox:
Get-AppxPackage *xbox* | Remove-AppxPackage
注意,最后这个删除Xbox后会给出一大片错误提示信息,但其实已经删掉了,不必理会。
PS C:WINDOWSsystem32> Get-AppxPackage *xbox* | Remove-AppxPackage
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxGameCallableUI_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy from:
C:WindowsSystemAppsMicrosoft.XboxGameCallableUI_cw5n1h2txyewy failed. This app is part of Windows and cannot be
uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows
Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 1d60accb-cb8d-0003-d5b8-601d8dcbd001 in the Event Log or use
the command line Get-AppxLog -ActivityID 1d60accb-cb8d-0003-d5b8-601d8dcbd001
At line:1 char:26
+ Get-AppxPackage *xbox* | Remove-AppxPackage
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.XboxG...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxIdentityProvider_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy from:
C:WindowsSystemAppsMicrosoft.XboxIdentityProvider_cw5n1h2txyewy failed. This app is part of Windows and cannot be
uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows
Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 1d60accb-cb8d-0001-d9b9-601d8dcbd001 in the Event Log or use
the command line Get-AppxLog -ActivityID 1d60accb-cb8d-0001-d9b9-601d8dcbd001
At line:1 char:26
+ Get-AppxPackage *xbox* | Remove-AppxPackage
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.XboxI...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand