Windows 10: Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC

Discus and support Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC in Windows 10 Software and Apps to solve the problem; 0I am trying to uninstall a previously installed windows UWP App. using command below. Below command is removing the App. from Start menu fine but the... Discussion in 'Windows 10 Software and Apps' started by serverstats, Sep 25, 2022.

  1. Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC


    0I am trying to uninstall a previously installed windows UWP App. using command below. Below command is removing the App. from Start menu fine but the App. is not able to remove C:\Program Files\WindowsApps\MyAPPNAME\ directory.Can someone help me with this fix ?.Get-AppxPackage -AllUsers where-object {$_.name -like '*MyAPPNAME'}Remove-AppxPackageI have tried to Reinstall the App. and delete again but no luck.

    :)
     
    serverstats, Sep 25, 2022
    #1
  2. MoxieMomma, Sep 25, 2022
    #2
  3. CJW
    CJW Win User
    Removing Built-in Apps

    I don't have an Xbox & so I do not need the Xbox App or its related packages.
    Problem is, I am having a hard time removing the App & its related packages.

    These are the steps I have gone through, in both my Local Administrator & Local Standard accounts.
    1. I opened PowerShell as Administrator.
    2. Typed "Get-AppXProvisionedPackage -Online | Select PackageName" (w/o quotes) to get a list of installed Apps.
    3. I typed each command below, pressing Enter after each command:

    Get-AppxPackage *Microsoft.XboxGameCallableUI* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.XboxIdentityProvider* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.XboxSpeechToTextOverlay* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.XboxApp* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.Xbox.TCUI* | Remove-AppxPackage
    Get-AppxPackage *Microsoft.XboxGameOverlay* | Remove-AppxPackage

    I didn't get any messages (successful or error) after each Enter, so I thought all was well.
    But after I reboot & check through Powershell, the Xbox App & all related packages are still on the computer.
    Anyone know what I am doing wrong?
     
  4. Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC

    Unable to remove appxpackage with -AllUsers attribute

    Hello Team,

    Am trying to use Remove-AppxPackage command to remove an appx package for all the users, it fails with below error. However, If I run the command without -AllUsers attributes it works.

    Command
    Remove-appxpackage "Microsoft.WindowsCalculator_10.2103.8.0_x64__8wekyb3d8bbwe" -AllUsers

    Output

    Remove-appxpackage : Removal failed. Please contact your software vendor. Deployment Remove operation with target volume C: on Package Microsoft.WindowsCalculator_10.2103.8.0_x64__8wekyb3d8bbwe from: failed with error 0x80070002. See Troubleshooting packaging, deployment, and query of Windows apps - Win32 apps | Microsoft Learn for help diagnosing app deployment issues. At line:1 char:1 + Remove-appxpackage "Microsoft.WindowsCalculator_10.2103.8.0_x64__8wek ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC :)) [Remove-AppxPackage], COMException + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Comman ds.RemoveAppxPackageCommand

    Problem:

    Unable to remove appxpackage for allusers with -allusers attribute

    P.S

    I use this as reference
    Remove-AppxPackage (Appx)
     
    ADEPU Nagaraj, Sep 25, 2022
    #4
Thema:

Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC

Loading...
  1. Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC - Similar Threads - Remove AppxPackage doesn't

  2. AppxPackages Removal

    in Windows 10 Gaming
    AppxPackages Removal: As a part of a new computer setup that I do, I run a PowerShell script that removes a bunch of the unnecessary AppxPackages. For some reason on 1 specific new computer, I cannot remove any appx-package even when I run the command manually rather than in my script. There isn't...
  3. AppxPackages Removal

    in Windows 10 Software and Apps
    AppxPackages Removal: As a part of a new computer setup that I do, I run a PowerShell script that removes a bunch of the unnecessary AppxPackages. For some reason on 1 specific new computer, I cannot remove any appx-package even when I run the command manually rather than in my script. There isn't...
  4. Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC

    in Windows 10 Gaming
    Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC: 0I am trying to uninstall a previously installed windows UWP App. using command below. Below command is removing the App. from Start menu fine but the App. is not able to remove C:\Program Files\WindowsApps\MyAPPNAME\ directory.Can someone help me with this fix...
  5. Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC

    in Windows 10 Installation and Upgrade
    Remove-AppxPackage doesn't cleanly Remove APPX App from Windows PC: 0I am trying to uninstall a previously installed windows UWP App. using command below. Below command is removing the App. from Start menu fine but the App. is not able to remove C:\Program Files\WindowsApps\MyAPPNAME\ directory.Can someone help me with this fix...
  6. Remove-AppxPackage

    in Windows 10 Gaming
    Remove-AppxPackage: Remove-appxpackage <packagefullname> -user <string sid>is not removing package for the user when running as admin or system. https://answers.microsoft.com/en-us/windows/forum/all/remove-appxpackage/83911c99-a710-40f4-a55d-4de396b3b68e
  7. Remove-AppxPackage

    in Windows 10 Software and Apps
    Remove-AppxPackage: Remove-appxpackage <packagefullname> -user <string sid>is not removing package for the user when running as admin or system. https://answers.microsoft.com/en-us/windows/forum/all/remove-appxpackage/83911c99-a710-40f4-a55d-4de396b3b68e
  8. PwrShell: Remove-AppxPackage & Remove-AppxProvisionedPackage -AllUsers

    in Windows 10 Software and Apps
    PwrShell: Remove-AppxPackage & Remove-AppxProvisionedPackage -AllUsers: Hello, I would like to ask a couple of questions regarding PowerShell commands for App management (OS build 19041.450) First: is there any difference between Get-AppxPackage *Microsoft.XboxApp* | Remove-AppxPackage and Get-AppxPackage -AllUsers *Microsoft.XboxApp* |...
  9. remove-appxpackage doesn't work on normal user account

    in Windows 10 Software and Apps
    remove-appxpackage doesn't work on normal user account: Hello, i am using windows 10 pro 64bit 17134 build Uninstall Apps in Windows 10 | Windows 10 Tutorials Even if i enter command -allusers , or -user username doesn't work, can't uninstall packages like weather on normal user account. Tried this command on admin and non admin...
  10. How to remove apps which cannot be removed using Remove-AppxPackage

    in Windows 10 Software and Apps
    How to remove apps which cannot be removed using Remove-AppxPackage: ​Hi, can someone say if there is any way to delete: 1 Microsoft.BioEnrollment 2 Microsoft.AAD.BrokerPlugin 3 Microsoft.Windows.CloudExperienceHost 4 windows.immersivecontrolpanel 5 Microsoft.LockApp 6 Microsoft.MicrosoftEdge 7 Microsoft.PPIProjection 8...