首页 > 系统 > Win10 > 正文

祭出PowerShell命令行:秒卸载Win10预装应用那些货

2024-06-28 14:50:57
字体:
来源:转载
供稿:网友

微软全新的Windows 10系统中预装了很多应用软件,其中不少都非常好用,但和手机上一样,很多人更喜欢更强大的第三方工具,那么这些预装的如何彻底清除呢?

其实很简单,微软已经准备了强大的工具,这就是PowerShell命令行窗口。用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

注意,最后这个删除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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表