2017年11月8日 星期三

刪除 Windows 10 預裝應用軟件 (WINDOWS10 APP 移除)

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

沒有留言: