1.    17 Jun 2015 #1
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    How to uninstall Apps using Powershell


    Many of the Universal Apps cannot be uninstalled because the button is inactive (grayed out). This might be 'by design' for the Technical Preview since Microsoft wants users to test the Apps.

    The preferred method is to use the uninstall button when it is active. The list below provides a way to uninstall an App when the button is NOT active.

    Launch an elevated PowerShell (Right click - Run as Administrator ...)

    Copy the command for the App you want to remove from the list below and paste it into the PowerShell window

    Example:
    To remove the Calculator App, copy the entire line under the App name
    Calculator
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsCalculator_10.1505.29000.0_x64__8wekyb3d8bbwe

    Click image for larger version. 

Name:	psRemoveCalc.PNG 
Views:	63 
Size:	18.3 KB 
ID:	21761

    The -Confirm parameter lets you to decide if you want to remove the App [ Yes ] or cancel the operation [ No ]


    Code:
    Alarms
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsAlarms_10.1505.12000.0_x64__8wekyb3d8bbwe
    
    Calculator
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsCalculator_10.1505.29000.0_x64__8wekyb3d8bbwe
    
    Camera
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsCamera_5.31.1.0_x64__8wekyb3d8bbwe
    
    Contact Support
    Remove-AppxPackage -Confirm -Package Windows.ContactSupport_10.0.3.0_neutral_neutral_cw5n1h2txyewy
    
    Get Started
    Remove-AppxPackage -Confirm -Package Microsoft.Getstarted_2.1.1.0_x64__8wekyb3d8bbwe
    
    Insider Hub
    Remove-AppxPackage -Confirm -Package Microsoft.Windows.InsiderHub_1000.10130.0.0_neutral_neutral_cw5n1h2txyewy
    
    MS Solitaire Collection
    Remove-AppxPackage -Confirm -Package Microsoft.MicrosoftSolitaireCollection_3.1.5151.0_x64__8wekyb3d8bbwe
    
    Maps
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsMaps_4.1505.50523.0_x64__8wekyb3d8bbwe
    
    Music
    Remove-AppxPackage -Confirm -Package Microsoft.ZuneMusic_3.6.10681.0_x64__8wekyb3d8bbwe
    
    OneNote
    Remove-AppxPackage -Confirm -Package Microsoft.Office.OneNote_17.4201.10031.0_x64__8wekyb3d8bbwe
    
    Photos
    Remove-AppxPackage -Confirm -Package Microsoft.Windows.Photos_15.610.18180.0_x64__8wekyb3d8bbwe
    
    Reading List
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsReadingList_6.3.9654.20540_x64__8wekyb3d8bbwe
    
    Scan
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsScan_6.3.9654.17133_x64__8wekyb3d8bbwe
    
    Sound Recorder
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsSoundRecorder_10.1505.11000.0_x64__8wekyb3d8bbwe
    
    Sports
    Remove-AppxPackage -Confirm -Package Microsoft.BingSports_4.3.123.0_x86__8wekyb3d8bbwe
    
    Video
    Remove-AppxPackage -Confirm -Package Microsoft.ZuneVideo_3.6.10801.0_x64__8wekyb3d8bbwe
    
    Weather
    Remove-AppxPackage -Confirm -Package Microsoft.BingWeather_4.3.123.0_x86__8wekyb3d8bbwe
    
    Windows Feedback
    Remove-AppxPackage -Confirm -Package Microsoft.WindowsFeedback_1000.10130.0.0_neutral_neutral_cw5n1h2txyewy
      My ComputerSystem Spec
  2.    18 Jun 2015 #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 13,098
    Windows 10 Pro

    To remove everything that can be removed from all users with one single command, use this:

    Code:
    Get-AppxPackage -AllUsers | Remove-AppxPackage
    The progress shows which apps can and which cannot be removed:

    Click image for larger version. 

Name:	2015-06-18_14h14_18.png 
Views:	63 
Size:	177.0 KB 
ID:	21809

    Result, a clean and empty Start, All Apps only showing the apps you cannot remove:

    Click image for larger version. 

Name:	2015-06-18_14h20_07.png 
Views:	23 
Size:	177.1 KB 
ID:	21810
      My ComputerSystem Spec
  3.    18 Jun 2015 #3
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
    Thread Starter

    Quote Originally Posted by Kari View Post
    To remove everything that can be removed from all users with one single command, use this:

    Get-AppxPackage -AllUsers | Remove-AppxPackage
    Thanks Kari,

    Piping the results of Get-AppxPackage into Remove-AppxPackage also removes the Store (beta) - at least it did on my machine.

    Before I wrote this thread, I tried adding the -Confirm parameter to the method you posted but decided that it was too much trouble answering each confirm. The use might get tired of answering and just hit the Yes to All button.

    Since Win10 is still preview and Apps might change before 29 July, your method with is sure to remove any Apps that might change package names and remove any new ones MS adds between now and then.

    The method you posted might also remove Apps that should not be removed (VClibs as shown in your image). You're right though, the Apps that are defined as integral to the system will throw an error and will not be removed.

    I decided to list the individual apps so they could decide which ones they wanted to remove.

    Bill
    .
      My ComputerSystem Spec
  4.    01 Aug 2015 #4
    Join Date : Jul 2015
    Posts : 10
    Windows 10 pro x64 N

    Hey guys,

    Sorry for replying to an old thread, but i figure its better than creating a new one

    I am at work right now, so this is untested but this powershell command should remove every app but the windows store

    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*"}
    and you can add multiple variables to the end like so


    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*|*calculator*"}
      My ComputerSystem Spec
  5.    21 Jun 2016 #5
    Join Date : Feb 2016
    Posts : 100
    Microsoft Windows 10 Home 64-bit 10586 Multiprocessor Free

    I found the same great instructions.
    I ran PowerShell using the easy, get rid of 'em all instructions.

    This is the PS error: Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation. (Exception from HRESULT: 0x80073CF3)

    I think these are just the ones that Windows will not let you remove - because the Apps page looks beautiful.
    Love PowerShell!
      My ComputerSystem Spec
  6.    24 Jun 2016 #6
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
    Thread Starter

    Quote Originally Posted by serpentxx View Post
    .....
    I am at work right now, so this is untested but this powershell command should remove every app but the windows store
    Code:
    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*"}
    and you can add multiple variables to the end like so
    Code:
    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*|*calculator*"}
    Can you confirm that the vertical bar is an OR and not a pipe in -notlike "*Store*|*calculator*"
    When you get the chance

    I'm glad you posted, there is an Uninstalling Apps tutorial that more thoroughly covers the subject. Authors keep tutorials updated (sometimes from information in other threads), so consider tutorials as the authoritative source.


    Full Tutorial: Apps - Uninstall in Windows 10
      My ComputerSystem Spec
  7.    24 Jun 2016 #7
    Join Date : Feb 2016
    Posts : 100
    Microsoft Windows 10 Home 64-bit 10586 Multiprocessor Free

    Quote Originally Posted by Slartybart View Post
    Can you confirm that the vertical bar is an OR and not a pipe in -notlike "*Store*|*calculator*"
    When you get the chance

    I'm glad you posted, there is an Uninstalling Apps tutorial that more thoroughly covers the subject. Authors keep tutorials updated (sometimes from information in other threads), so consider tutorials as the authoritative source.

    Full Tutorial: Apps - Uninstall in Windows 10
    Sorry, mate.

    I can only confirm that to make the pipeline, it is above the slash. On my keyboard, it is above the main keyboard ENTER key. As I ran the entire program and didn't create the text to copy, I didn't care about details. You can't go wrong copying and pasting from a widely recognized and trusted website, because even if it looks wrong on the viewing page (here, for instance), it will type correctly on Notepad.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Apps & Features Uninstall Apps in Windows 10
How to Uninstall Desktop Apps and Windows Apps in Windows 10 If you no longer want or use an app, then you could uninstall the app to remove it and free up space on the drive. When you uninstall a desktop app (program), it will uninstall it...
Tutorials
Installation & Upgrade PowerShell PackageManagement (OneGet) - Install Apps from Command Line
If you are not familiar with package managers I recommend you read first the short Chocolatey package manager tutorial at our sister site Windows Eight Forums as an introduction to this tutorial: Chocolatey - Install Apps from Command Line. Although...
Tutorials
Solved Cannot Set Execution Policy in Powershell
Did not experience this problem until this build (10130) but it may have occurred in the build before that also. As you can see in the attachment, I am in Administrator mode but cannot run a script which installs a dozen or so programs. The programs...
General Support
Cant fix crashing modern apps due to odd powershell error
Can someone tell what the powershell errors means? when i put this commend ((Get-ChildItem "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications") | Get-ItemProperty).Path | Add-AppxPackage -Register...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:03.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums