win10清理自帶xbox,天氣等應用
方法一:
用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
方法2:
利用powershell命令:
輸入下面的命令回車,PS會列出系統中所有已安裝應用列表。
Get-AppxPackage -AllUsers
• 從列表中找到你要解除安裝的應用,並找到其全名稱,即PackageFullName。如果你覺得太長,可以把結果複製到記事本中查詢關鍵字。
• 找到應用包全名稱後,輸入下面的指令即可解除安裝對應應用,將PackageFullName替換為應用包全名稱即可。
Remove-AppxPackage PackageFullName
比如解除安裝自帶的人脈應用,可輸入下面的命令。
Remove-AppxPackage Microsoft.People_1.10241.0.0_x86__8wekyb3d8bbwe
解除安裝後結果: