Windows 10预装了很多应用软件,虽然有些其实也不难用,但是使用率可能比较低,很多人也不喜欢预装的东西,而且还占空间,那么这些预装的如何彻底清除呢?
其实微软是自带了命令可以执行这样的操作,用它可以完全删除一些预装应用,注意是完全的删除,而不是仅仅屏蔽掉。
运行命令通过PowerShell来执行,相当于升级了的命令行窗口,如下图,我们在开始菜单中找到它,右键点击,选择“以管理员身份运行”,然后想要卸载什么,就输入相应的命令。
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
财经
get-appxpackage *bingfinance* | remove-appxpackage
资讯
get-appxpackage *bingnews* | remove-appxpackage
体育
get-appxpackage *bingsports* | remove-appxpackage
天气
get-appxpackage *bingweather* | remove-appxpackage
闹钟和时钟
get-appxpackage *alarms* | remove-appxpackage
计算器
get-appxpackage *calculator* | remove-appxpackage
地图
get-appxpackage *maps* | remove-appxpackage
接下来是绝招。如果想一次性把它们全都删掉,请输入:
Get-AppxPackage -AllUsers | Remove-AppxPackage
但是如果你先建一个账户,以上应用就会再次全部出现,不想这样的话可以输入:
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
注意:删除Xbox后会给出一大片错误提示信息,但其实已经删掉了,不必理会。
PS C:\WINDOWS\system32> 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:\Windows\SystemApps\Microsoft.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:\Windows\SystemApps\Microsoft.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
若需要恢复卸载的应用,可使用命令 Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)appxmanifest.xml” -DisableDevelopmentMode},它将重装所有内置的应用。