remove-appxpackage doesn't work on normal user account

Page 2 of 2 FirstFirst 12

  1. Posts : 625
    Windows 10 Pro x64
       #11

    Open up PowerShell (Run As Admin)

    Copy and Paste all of this into PowerShell and hit ENTER



    Get-AppxPackage *3dbuilder* | Remove-AppxPackage

    Get-AppxPackage *windowsalarms* | Remove-AppxPackage
    Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
    Get-AppxPackage *windowscamera* | Remove-AppxPackage
    Get-AppxPackage *officehub* | Remove-AppxPackage
    Get-AppxPackage *skypeapp* | Remove-AppxPackage
    Get-AppxPackage *getstarted* | Remove-AppxPackage
    Get-AppxPackage *zunemusic* | Remove-AppxPackage
    Get-AppxPackage *windowsmaps* | Remove-AppxPackage
    Get-AppxPackage *solitairecollection* | Remove-AppxPackage
    Get-AppxPackage *bingfinance* | Remove-AppxPackage
    Get-AppxPackage *zunevideo* | Remove-AppxPackage
    Get-AppxPackage *bingnews* | Remove-AppxPackage
    Get-AppxPackage *onenote* | Remove-AppxPackage
    Get-AppxPackage *people* | Remove-AppxPackage
    Get-AppxPackage *windowsphone* | Remove-AppxPackage
    Get-AppxPackage *photos* | Remove-AppxPackage
    Get-AppxPackage *bingsports* | Remove-AppxPackage
    Get-AppxPackage *bingweather* | Remove-AppxPackage
    Get-AppxPackage *xboxapp* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.GetHelp* -AllUsers | Remove-AppxPackage
    Get-AppxPackage Microsoft.Messaging | Remove-AppxPackage
    Get-AppxPackage Microsoft.GetHelp | Remove-AppxPackage
    Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
    Get-AppxPackage Microsoft.Microsoft3DViewer | Remove-AppxPackage
    Get-AppxPackage Microsoft.Windows.Cortana | Remove-AppxPackage
    get-appxpackage *soundrecorder* | remove-appxpackage
    Get-AppxPackage *xboxspeech* | Remove-AppxPackage
    Get-AppxPackage *sticky* | Remove-AppxPackage
      My Computers


  2. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
    Thread Starter
       #12

    remove-appxpackage doesn't work on normal user account-powershell.pngHere is what happens when i copy paste these commands as administrator.
      My Computer


  3. Posts : 5,478
    2004
       #13

    empleat said:
    Here is what happens when i copy paste these commands as administrator.
    Which exactly tells you the answer does it not? "This app can not be uninstalled"

    You could look at the link below (as you list is very out of date) but some apps (those part of the system) you simply can't uninstall like that.

    See Debloat-Windows-10/remove-default-apps.ps1 for a more up to date list.

    Specifically though, pay attention to this bit:
    Code:
        # apps which cannot be removed using Remove-AppxPackage
    
        #"Microsoft.BioEnrollment"
        #"Microsoft.MicrosoftEdge"
        #"Microsoft.Windows.Cortana"
        #"Microsoft.WindowsFeedback"
        #"Microsoft.XboxGameCallableUI"
        #"Microsoft.XboxIdentityProvider"
        #"Windows.ContactSupport"
      My Computer


  4. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
    Thread Starter
       #14

    Thing is it doesn't remove even applications, which can be removed like photos and calculator, etc. etc.
    Now i can't even check, when i write: Get-AppxPackage -User "username" | Select Name, PackageFullName
    I get message: Get-AppxPackage : No valid SID could be determined.
      My Computer


  5. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
    Thread Starter
       #15

    I coudn't list packages, because i changed my account name and when i put my account name in powershell with that command which lists packages under user account - it said: "sid coudn't be determined". So i changed it back and i tried remove packages for my user account by a name, previously it didn't work, now it deleted 0.5gb space on my ssd nice.
    Stil it is showing all installed packages when i used paramater: "-allusers", but on both accounts i deleted what i could hmm...
      My Computer


 

  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 05:21.
Find Us




Windows 10 Forums