DOJEUN's Notepad
 LISTへ 

【Windows10】PowerShell でプレインストールアプリケーションの削除方法

Windows10にプレインストールされているアプリケーションをPowerShellで削除する方法


1. 環境

Windows 10 Pro
(Windows 8.1からアップグレード)

2. 概要

Windows10にはいろいろプレインストールされているアプリケーションがある。
使えないアプリケーションは「すべてのアプリ」メニューから
右クリックしてアンインストールすればいいが
アンインストールメニューがないものがある。
こんなアプリケーションは PowerShellで削除が出来る。

3. PowerShell起動

すべてのアプリ
 ->Windows PowerShell
->Windows PowerShell(マウス右クリック)
->その他
    -> 管理者として実行

4. 各アプリケーションの削除

以下の中で削除したいアプリのコマンドを入力して実行

#Uninstall 3D Builder:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage

#Uninstall Alarms and Clock:
Get-AppxPackage *windowsalarms* | Remove-AppxPackage

#Uninstall Calculator:
Get-AppxPackage *windowscalculator* | Remove-AppxPackage

#Uninstall Calendar and Mail:
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

#Uninstall Camera:
Get-AppxPackage *windowscamera* | Remove-AppxPackage

#Uninstall Get Office:
Get-AppxPackage *officehub* | Remove-AppxPackage

#Uninstall Get Skype:
Get-AppxPackage *skypeapp* | Remove-AppxPackage

#Uninstall Get Started:
Get-AppxPackage *getstarted* | Remove-AppxPackage

#Uninstall Groove Music:
Get-AppxPackage *zunemusic* | Remove-AppxPackage

#Uninstall Maps:
Get-AppxPackage *windowsmaps* | Remove-AppxPackage

#Uninstall Microsoft Solitaire Collection:
Get-AppxPackage *solitairecollection* | Remove-AppxPackage

#Uninstall Money:
Get-AppxPackage *bingfinance* | Remove-AppxPackage

#Uninstall Movies & TV:
Get-AppxPackage *zunevideo* | Remove-AppxPackage

#Uninstall News:
Get-AppxPackage *bingnews* | Remove-AppxPackage

#Uninstall OneNote:
Get-AppxPackage *onenote* | Remove-AppxPackage

#Uninstall People:
Get-AppxPackage *people* | Remove-AppxPackage

#Uninstall Phone Companion:
Get-AppxPackage *windowsphone* | Remove-AppxPackage

#Uninstall Photos:
Get-AppxPackage *photos* | Remove-AppxPackage

#Uninstall Store:
Get-AppxPackage *windowsstore* | Remove-AppxPackage

#Uninstall Sports:
Get-AppxPackage *bingsports* | Remove-AppxPackage

#Uninstall Voice Recorder:
Get-AppxPackage *soundrecorder* | Remove-AppxPackage

#Uninstall Weather:
Get-AppxPackage *bingweather* | Remove-AppxPackage

#Uninstall Xbox:
Get-AppxPackage *xboxapp* | Remove-AppxPackage

#Uninstall Health & Fitness
Get-AppxPackage *BingHealthAndFitness* | Remove-AppxPackage

#Uninstall Food & Drink
Get-AppxPackage *BingFoodAndDrink* | Remove-AppxPackage

#Uninstall Sway
Get-AppxPackage *Sway* | Remove-AppxPackage

#Uninstall Travel
Get-AppxPackage *BingTravel* | Remove-AppxPackage

#Uninstall Twitter
Get-AppxPackage *twitter* | Remove-AppxPackage

Uninstall Xbox:
Get-AppxPackage *xboxapp* | Remove-AppxPackage

Uninstall Windows Feedback:
This app can’t be removed.

Uninstall Microsoft Edge:
This app can’t be removed.

Uninstall Contact Support:
This app can’t be removed.

Uninstall Cortana:
This app can’t be removed.

5. 一括削除

5-1. 上記のアンインストールコマンドを記載したファイルを拡張子「ps1」で作成
   => removeapp.ps1

5-2. 以下の内容の拡張子「bat」のファイルを作成
   => removeapp.bat
   powershell Set-ExecutionPolicy RemoteSigned
   powershell .\removeapp.ps1
   powershell Set-ExecutionPolicy Restricted

5-3. PowerShellをPowerShellを管理者として実行
PwerShell内でremoveapp.batがあるフォルダへ移動

5-4. 実行
   .\removeapp.bat

参考URL

http://www.howtogeek.com/224798/how-to-uninstall-windows-10s-built-in-apps-and-how-to-reinstall-them/