Windows 10: remove-AppxPackage -AllUsers causes Application Error

Discus and support remove-AppxPackage -AllUsers causes Application Error in Windows 10 BSOD Crashes and Debugging to solve the problem; Get-AppxPackage Microsoft.WindowsSoundRecorder -AllUsers remove-AppxPackage -AllUsersApplication Error ID: 1000Faulting application name:... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Thomas_8784, Sep 23, 2024.

  1. remove-AppxPackage -AllUsers causes Application Error


    Get-AppxPackage Microsoft.WindowsSoundRecorder -AllUsers remove-AppxPackage -AllUsersApplication Error ID: 1000Faulting application name: svchost.exe_AppXSvc, version: 10.0.19041.4355, time stamp: 0x9ce47784Faulting module name: appxdeploymentserver.dll, version: 10.0.19041.4894, time stamp: 0xd3d51e5cException code: 0xc0000005Fault offset: 0x00000000002f7809Faulting process id: 0x1c54Faulting application start time: 0x01db0d8f3f468aceFaulting applicat

    :)
     
    Thomas_8784, Sep 23, 2024
    #1

  2. 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 http://go.microsoft.com/fwlink/?LinkId=235160 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 -AllUsers causes Application Error :)) [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 23, 2024
    #2
  3. Mark0 Win User
    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* | Remove-AppxPackage
    if there is only one user on the computer?

    Second: what is the difference between
    Remove-AppxProvisionedPackage -Online -PackageName MyAppxPkg
    and
    Remove-AppxProvisionedPackage -AllUsers -Online -PackageName MyAppxPkg

    Thanks for any help,
    Mark
     
    Mark0, Sep 23, 2024
    #3
  4. remove-AppxPackage -AllUsers causes Application Error

    Get-appxpackage -allusers does not seem to be working.

    Let's say I do:
    Get-appxpackage *onenote*
    and
    Get-appxpackage -allusers *onenote*

    And I find there are entries for this product.

    So, I run:
    Get-appxpackage -allusers *onenote* | Remove-AppxPackage

    And I find that the localuser does not have the package, but allusers does.

    Something wrong with the way I'm doing it?

    I _am_ using a powershell with elevated privileges.
     
    cDreamDancer, Sep 23, 2024
    #4
Thema:

remove-AppxPackage -AllUsers causes Application Error

Loading...
  1. remove-AppxPackage -AllUsers causes Application Error - Similar Threads - remove AppxPackage AllUsers

  2. remove-AppxPackage -AllUsers causes Application Error

    in Windows 10 Gaming
    remove-AppxPackage -AllUsers causes Application Error: Get-AppxPackage Microsoft.WindowsSoundRecorder -AllUsers remove-AppxPackage -AllUsersApplication Error ID: 1000Faulting application name: svchost.exe_AppXSvc, version: 10.0.19041.4355, time stamp: 0x9ce47784Faulting module name: appxdeploymentserver.dll, version:...
  3. remove-AppxPackage -AllUsers causes Application Error

    in Windows 10 Software and Apps
    remove-AppxPackage -AllUsers causes Application Error: Get-AppxPackage Microsoft.WindowsSoundRecorder -AllUsers remove-AppxPackage -AllUsersApplication Error ID: 1000Faulting application name: svchost.exe_AppXSvc, version: 10.0.19041.4355, time stamp: 0x9ce47784Faulting module name: appxdeploymentserver.dll, version:...
  4. Why can I not access the -AllUsers switch on PowerShell's Remove-AppxPackage command?

    in Windows 10 Gaming
    Why can I not access the -AllUsers switch on PowerShell's Remove-AppxPackage command?: Why does the -allusers switch not work? I can perfectly remove apps from my current account, but not from all users.I have tried all kinds of combinations of syntax. I believe it is an issue with powershell....
  5. Unable to remove appxpackage with -AllUsers attribute

    in Microsoft Windows 10 Store
    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.CommandRemove-appxpackage...
  6. Unable to remove appxpackage with -AllUsers attribute

    in Windows 10 Gaming
    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.CommandRemove-appxpackage...
  7. Unable to remove appxpackage with -AllUsers attribute

    in Windows 10 Software and Apps
    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.CommandRemove-appxpackage...
  8. What does this code do? Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage...

    in Windows 10 Ask Insider
    What does this code do? Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage...: Hello, i just ran into the problem that i cant use the windows search bar. Everytime i click to search i cant type anything or just one letter and the black search window closes. Tried to solve it by re - indexing (i dont remember exactly how its called) and by using...
  9. Remove-AppXPackage Mail for Windows 10 -AllUsers no longer works

    in Windows 10 Customization
    Remove-AppXPackage Mail for Windows 10 -AllUsers no longer works: Get-AppXpackage *windowscomm* Remove-AppxPackage -AllUsers This used to work, it now doesn't. Please our dear overlord Microsoft, please impose the divine light that I may customise the enterprise environment I manage and not have my users trying to log into Mail for...
  10. 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* |...