Board logo

标题: [软件] Windows 10预装应用太多?一个命令删除 [打印本页]

作者: bobwu    时间: 2015-8-11 00:01     标题: Windows 10预装应用太多?一个命令删除

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 -AllUsers | Remove-AppxPackage

但是如果你先建一个账户,以上应用就会再次全部出现,不想这样的话可以输入:

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

PS:删除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


作者: crazycui    时间: 2015-8-11 13:18

SF




欢迎光临 NBCLUB笔记本电脑俱乐部 合肥THINKPAD APPLE LENOVO DELL专卖店 (http://nbclub.net/DISCUZ/) Powered by Discuz! 7.2