返回目录:win10问题
卸载Win10系统自带程序的方法:
提示:卸载Win10系统自带程序需要使用Win10的内置工具PowerShell。
步骤:
1、点击任务栏中的搜索,输入PowerShell,然后在搜索结果中右键单击PowerShell,选择以管理员身份运行。
2、在PowerShell中输入下面636f70797a686964616f339的命令回车稍等片刻就可以将当前账户中的所有预装应用都删除。注意,过程中可能会出现错误提示,不过这并不影响最终效果。
Get-AppXPackage | Remove-AppxPackage
3.1、不仅当前账户,我们还可以卸载其他账户中的所有应用,只需输入下面的命令,将其中的《username》替换为账户名称即可。
Get-AppXPackage -User 《username》 | Remove-AppxPackage
3.2、如果要卸载所有账户中的应用,可输入下面的命令。
Get-AppxPackage -AllUsers | Remove-AppxPackage
3.3、遇到有多个账户情况,但是又不想让每个账户中都包含全套相同的应用,在创建账户之前,可以从系统账户中删除这些应用,这样新创建的账户中就不会包含全套应用了。从系统账户中卸载应用,只需输入下面的命令。
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage–online
备注:
需要注意的是,执行以后上操作后会将应用商店也一并删除,目前也没有找回的方法,系统推送的某些更新会重新在系统中安装应用商店。另外,部分内置应用,比如Cortana、联系支持人员、Edge浏览器、Windows反馈,设置和搜索无法从系统中删除。
方法/步骤
1
要卸载这些所有内置应用,就要用到Windows PowerShell,它是win10系统自带的一个应用,要打开它,就单击开始菜单中的“所有应用”,然后找到Windows Power Shell的文件夹,右键单击Windows PowerShell(注意不是Windows PowerShell ISE),然后单击以管理员身份运行,就打开了。
2
打开了Windows PowerShell,就开始输入命令了
3
要卸载OneNote,在里面输入
Get-AppxPackage *OneNote* | Remove-AppxPackage
可以复制,回车执行
4
要卸载3D,输入
Get-AppxPackage *3d* | Remove-AppxPackage
5
要卸载Camera(相机),输入
Get-AppxPackage *camera* | Remove-AppxPackage
6
要卸载邮件和日历,输入
Get-AppxPackage *communi* | Remove-AppxPackage
7
要卸载新闻订阅,输入
Get-AppxPackage *bing* | Remove-AppxPackage
8
要卸载Groove音乐、电影与电视:
Get-AppxPackage *zune* | Remove-AppxPackage
9
要卸载人e799bee5baa6e59b9ee7ad94364脉,输入
Get-AppxPackage *people* | Remove-AppxPackage
10
要卸载手机伴侣(Phone Companion),输入
Get-AppxPackage *phone* | Remove-AppxPackage
11
要卸载照片,输入
Get-AppxPackage *photo* | Remove-AppxPackage
12
要卸载纸牌游戏,输入
Get-AppxPackage *solit* | Remove-AppxPackage
13
要卸载录音机,输入
Get-AppxPackage *soundrec* | Remove-AppxPackage
14
要卸载Xbox,输入
Get-AppxPackage *xbox* | Remove-AppxPackage
15
在卸载Xbox的时候,会提示有很多错误,其实它已经被卸载了,可以不用担心!
16
所有卸载完成后,就只剩下应用商店了,这个留着吧,有用!卸载完效果如图:
END
其他信息
卸载Windows 10的命令:
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后出现的提示:(正常现象,出现此现象说明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
中文提示:
PS C:\windows\system32> Get-AppxPackage *xbox* | Remove-AppxPackage
Remove-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CFA, 无法卸载。请联系你的软件供应商。 (异常来自 HRESULT:0x80073CF
A)
错误 0x80070032: C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2txyewy 中的程序包 Microsoft.XboxGameCallable
UI_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy 上的 AppX 部署 删除 操作失败。此应用是 Windows 的一部分,无法针对每
个用户卸载该应用。管理员可以尝试使用“启用或关闭 Windows 功能”从计算机中删除该应用。不过,该应用可能无法被卸载。
注: 有关其他信息,请在事件日志中查找 [ActivityId] 84d12a44-dbe5-0000-0557-d184e5dbd001,或使用命令行 Get-AppxLog -Activ
ityID 84d12a44-dbe5-0000-0557-d184e5dbd001
所在位置 行:1 字符: 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 : 部署失败,原因是 HRESULT: 0x80073CFA, 无法卸载。请联系你的软件供应商。 (异常来自 HRESULT:0x80073CF
A)
错误 0x80070032: C:\Windows\SystemApps\Microsoft.XboxIdentityProvider_cw5n1h2txyewy 中的程序包 Microsoft.XboxIdentityPr
ovider_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy 上的 AppX 部署 删除 操作失败。此应用是 Windows 的一部分,无法针
对每个用户卸载该应用。管理员可以尝试使用“启用或关闭 Windows 功能”从计算机中删除该应用。不过,该应用可能无法被卸载。
注: 有关其他信息,请在事件日志中查找 [ActivityId] 84d12a44-dbe5-0000-0f57-d184e5dbd001,或使用命令行 Get-AppxLog -Activ
ityID 84d12a44-dbe5-0000-0f57-d184e5dbd001
所在位置 行:1 字符: 26
+ Get-AppxPackage *xbox* | Remove-AppxPackage
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.XboxI...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand
至于这些提示,大家如果有兴趣就去研究研究原因吧,总之应用是被成功卸载了!
END
注意事项
打开的是Windows PowerShell,而不是Windows PowerShell ISE
Windows PowerShell 一定要以管理员身份运行!
Windows PowerShell 支持快捷键复制粘贴,为了避免输入错误,可以通过Ctrl+C(复制)和Ctrl+V(粘贴)来输入命令
卸载应用之前一定要谨慎!
首先点击任务抄栏中的搜索(Cortana图标)输入PowerShell,在搜索结果中右键单击PowerShell,选择“以管理员身份运行”。
输入下面的命令回车,PS会列出系统中所有已安装应用列表。
Get-AppxPackage -AllUsers从列表中找到你要卸载的应用,并找到其全名称,即PackageFullName。如果你觉得太长,可以把袭结果复制到记事本中查找关键字。
找到应用包全名称后,输入下面的指令即可卸载对应应用,将PackageFullName替换为应用包全名称即可。
Remove-AppxPackage PackageFullName比如卸载自带的人脉应用,可输入下面的命令。
Remove-AppxPackage Microsoft.People_1.10241.0.0_x86__8wekyb3d8bbwe卸载后结果: