天天看點

Windows 10預裝應用太多?一個指令删除!

Windows 10預裝了很多應用軟體,雖然有些其實也不難用,但是使用率可能比較低,很多人也不喜歡預裝的東西,而且還占空間,那麼這些預裝的如何徹底清除呢?

Windows 10預裝應用太多?一個指令删除!

<a target="_blank"> </a>

其實微軟是自帶了指令可以執行這樣的操作,用它可以完全删除一些預裝應用,注意是完全的删除,而不是僅僅屏蔽掉。

運作指令通過PowerShell來執行,相當于更新了的指令行視窗,如下圖,我們在開始菜單中找到它,右鍵點選,選擇“以管理者身份運作”,然後想要解除安裝什麼,就輸入相應的指令。

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

财經

get-appxpackage *bingfinance* | remove-appxpackage

資訊

get-appxpackage *bingnews* | remove-appxpackage

體育

get-appxpackage *bingsports* | remove-appxpackage

天氣

get-appxpackage *bingweather* | remove-appxpackage

鬧鐘和時鐘

get-appxpackage *alarms* | remove-appxpackage

電腦

get-appxpackage *calculator* | remove-appxpackage

地圖

get-appxpackage *maps* | remove-appxpackage

接下來是絕招。如果想一次性把它們全都删掉,請輸入:

Get-AppxPackage -AllUsers | Remove-AppxPackage

但是如果你先建一個賬戶,以上應用就會再次全部出現,不想這樣的話可以輸入:

Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online

注意:删除Xbox後會給出一大片錯誤提示資訊,但其實已經删掉了,不必理會。

PS C:\WINDOWS\system32&gt; 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.

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

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

 + CategoryInfo : WriteError: (Microsoft.XboxI...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException

若需要恢複解除安裝的應用,可使用指令 Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)appxmanifest.xml" -DisableDevelopmentMode},它将重裝所有内置的應用。

繼續閱讀