Remove Windows Store apps in Windows 8

This script can be used to remove multiple Windows Store apps from a user account in Windows 8. It provides a list of installed Windows Store apps. You can specify the application IDs, and remove them all at once.

 
 
 
 
 
(51)
33,597 times
Add to favorites
Applications
1/14/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Error trying to remove apps
    1 Posts | Last post March 15, 2014
    • Hi, I am getting the following error regardless of which app(s) I specify:
      
      You cannot call a method on a null-valued expression.
      At C:\Users\Eric\Desktop\rem\rem.ps1:141 char:7
      +              if($PSCmdlet.ShouldProcess("$AppName"))
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
           + FullyQualifiedErrorID : InvokeMethodOnNull
      
      
      
      Any help would be appreciated, thanks!
  • Error trying to remove apps
    1 Posts | Last post March 15, 2014
    • Hi, I am getting the following error regardless of which app(s) I specify:
      
      You cannot call a method on a null-valued expression.
      At C:\Users\Eric\Desktop\rem\rem.ps1:141 char:7
      +              if($PSCmdlet.ShouldProcess("$AppName"))
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
           + FullyQualifiedErrorID : InvokeMethodOnNull
      
      
      
      Any help would be appreciated, thanks!
  • All Users ?
    1 Posts | Last post February 27, 2014
    • I've installed an app package I built using Add-AppxPackage on two other users profiles.
      I'm now not able to deploy from Visual Studio to debug updates on my profile.
      This script is great but it would be even better if it could perform the action for all users.
  • Windows 8.1 Apps
    5 Posts | Last post December 29, 2013
    • Yes...please update the script to remove Windows 8.1 RTM apps.  I have tried several variations of the very same process I used on Windows 8.  None of them work to remove the apps from the WindowsApps folder.  
      
      Thanks
    • In Windows 8.1 you can remove multiple apps at the same time.
      
      1)Switch to the Start screen.
      2)Select all the apps that you wish to uninstall. To do this, right-click on all app tiles one-by-one to see the app bar at the bottom of the screen with Uninstall option. And if you’re on a touch device, you can touch one tile at a time and swipe it up to select it.
      3)Click the Uninstall icon on the app bar to see a small menu with the name of all apps you have selected, and be sure to check the option titled Only from this PC if you don’t want to remove selected apps from all synced PCs.
      4)Click Uninstall button to remove selected apps.
      
      
    • Hi Ws2000,
      
      Thanks for downloading this script sample.
      This sample actually can be normal running on Windows 8.1, if you got error when you remove some apps, that was because the app is part of Windows(or to say,this app is necessary components in Windows)and cannot be uninstalled. 
      
      But we still update this script sample to let users understand why the app cannot be uninstalled.
      
      Thank you for using this sample.
    • it is right, nice script.
    • re: Eliezer
      
      thanks for the 8.1 guidance.
  • Cannot find the "photos" app
    1 Posts | Last post November 15, 2013
    • Hi, thanks for the script. I ran it on windows 8.1 and the apps listed do not include the app I wanted to remove (microsoft.windowsphotos). It doesn't seem to be under a different name.
      
      Thanks!
  • Unable to remove apps from Win8.1 Embedded
    2 Posts | Last post November 14, 2013
    • I tried to run this in Win8.1 Embedded and that listed below apps
      
       f5.vpn.client
       CheckPoint.VPN
       FileManager
       JuniperNetworks.JunosPulseVpn
       Microsoft.MoCamera
       SonicWALL.MobileConnect
       windows.immersivecontrolpanel
       winstore
      
      It gave error as;
      Remove-OSCAppxPackage : Remove f5.vpn.client failed!
      At Y:\helpful\Remove-Builtin-Apps\RemoveWindowsStoreApp\RemoveWindowsStoreApp.p
      s1:137 char:1
      + Remove-OSCAppxPackage
      + ~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Remove-OSCAppxPackage
      
      Line 137 is;
      Remove-OSCAppxPackage
      
      Researched and read that it should be removed from add/remove components - however these apps were not found in windows components (appwiz.cpl) to remove!.
      
      Appreciate if someone could guess why and post...
    • EbyK,
      
      Thanks for downloading this script sample.
      This sample actually can be normal running on Windows 8.1, if you got error when you remove some apps, that was because the app is part of Windows(or to say,this app is necessary components in Windows)and cannot be uninstalled. 
      
      But we still update this script sample to let users understand why the app cannot be uninstalled.
      
      Thank you for using this sample.
  • Efficient
    1 Posts | Last post October 08, 2013
    • Use this example script to remove these Windows Store apps cleanly. Great job, tks !
  • Windows 8.1 Apps
    1 Posts | Last post October 01, 2013
    • Does this work on Windows 8.1? Please let me know and if not then kindly update the script as per Windows 8.1
  • Enhancement request to better support automated use
    2 Posts | Last post July 22, 2013
    • Very nice script but you can't automate the removal of apps since the script requires user input.  You could have both scenarios be supported.  In the Remove-OSCAppxPackage function, have it take a parameter called AppName of type [string[]].  If that parameter is not provided, then prompt the for IDs of apps to remove.  If one or more app names are provided, then remove those based on the appname.  Also, if the Remove-AppxPackage fails, you should consider using Write-Error "Remove $AppName failed".  That is a non-terminating error but will properly indicate to users that there was a failure.  This can also be caught in a script whereas the Write-Host can't be detected in a script.
    • Hi Keith,
      
      Thank you for your positive feedback. The script sample has updated based your suggestion:)
  • What about other Users?
    2 Posts | Last post July 17, 2013
    • Appreciate your script. It works well. 
      
      But when I create new user then for that user, removed apps are available. Can you tell me modifications in script so i can achive below.
      
      "To remove a specific list of apps (like finance, sports) from all the users making sure that all new users will be created without those apps."
    • Hi Tejas,
      
      Generally,when you log into your new account, all removed apps will be restored(built-in apps) in Windows 8. Beacuse the system will initialize your user profile and settings.
      
      For this case, you still need to execute this script sample when you first log into your new user account.
1 - 10 of 14 Items