Remove-AppxPackage does not appear to be working in Windows 10 1511


  1. Posts : 3
    Windows 10
       #1

    Remove-AppxPackage does not appear to be working in Windows 10 1511


    Hi there.

    I like to remove the default apps that are bundled with Windows 10. Since upgrading to Windows 10 1511, the following commands do not appear to be working for me in Windows PowerShell (running as Administrator ofc)

    Get-AppxPackage *3dbuilder* | Remove-AppxPackage
    Get-AppxPackage *windowsalarms* | Remove-AppxPackage

    .... etc

    No error message is displayed and equally no green confirmation message. Running "Get-AppxPackage -AllUsers" I see the apps simply remain installed. It's like Windows is ignoring my commands. Any advice is appreciated. Thanks.

    Remove-AppxPackage does not appear to be working in Windows 10 1511-clipboard01.jpg
      My Computer


  2. Posts : 68,917
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Sprite, and welcome to Ten Forums. :)

    Since you want to get rid of all built-in apps, you might see if using step 2 in OPTION FOUR of the tutorial below may be able to help.

    https://www.tenforums.com/tutorials/4...a.html#option4
      My Computers


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    Hi Brink. Thanks very much for your welcome and your guide. I also found the below post helpful, from one of your forum members.

    lx07 said:
    Easy to automate if you want to (I do this to save space as I have very small ssd)
    Code:
    $apps=@(     
        "9E2F88E3.Twitter"
        "ClearChannelRadioDigital.iHeartRadio"
        "Flipboard.Flipboard"
        "king.com.CandyCrushSodaSaga"
        "Microsoft.3DBuilder"
        #"Microsoft.Appconnector"
        "Microsoft.BingFinance"
        "Microsoft.BingNews"
        "Microsoft.BingSports"
        "Microsoft.BingWeather"
        "Microsoft.CommsPhone"
        "Microsoft.Getstarted"
        #"Microsoft.Messaging"
        "Microsoft.MicrosoftOfficeHub"
        "Microsoft.MicrosoftSolitaireCollection"
        "Microsoft.Office.OneNote"
        "Microsoft.Office.Sway"
        "Microsoft.People"
        "Microsoft.SkypeApp"
        "Microsoft.Windows.Phone"
        "Microsoft.Windows.Photos"
        "Microsoft.WindowsAlarms"
        #"Microsoft.WindowsCalculator"
        "Microsoft.WindowsCamera"
        "Microsoft.WindowsMaps"
        "Microsoft.WindowsPhone"
        "Microsoft.WindowsSoundRecorder"
        #"Microsoft.WindowsStore"
        "Microsoft.XboxApp"
        "Microsoft.ZuneMusic"
        "Microsoft.ZuneVideo"
        #"microsoft.windowscommunicationsapps"
        "Microsoft.MinecraftUWP"
        "ShazamEntertainmentLtd.Shazam"        
    )
    
    foreach ($app in $apps) {    
        Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
        Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online
                
        $appPath="$Env:LOCALAPPDATA\Packages\$app*"
        Remove-Item $appPath -Recurse -Force -ErrorAction 0
    }
      My Computer


  4. Posts : 68,917
    64-bit Windows 11 Pro for Workstations
       #4

      My Computers


 

  Related Discussions
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 03:57.
Find Us




Windows 10 Forums