Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

MSIX error 0x80073D02: packages in use

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

0x80073D02 is ERROR_PACKAGES_IN_USE. Microsoft’s MSIX deployment troubleshooting table states the package is currently in use by a running process. The fix is to close all running instances of the app before updating or uninstalling, and to confirm with Task Manager or Get-Process.

What the symptom means

Error code Name Common cause Fix (Microsoft)
0x80073D02 ERROR_PACKAGES_IN_USE The package is currently in use by a running process Close all running instances of the app before updating or uninstalling. Use Task Manager or Get-Process to confirm.

Read AppxDeployment-Server in Event Viewer if the UI only shows a generic failure.

Prove the cause before changing anything

These steps only read.

1. Confirm 0x80073D02 in the installer UI or AppxDeployment-Server detail.

2. Identify processes for the app:

Get-Process | Where-Object { $_.ProcessName -match 'AppNameFragment' }

Write down, in a note you keep with the change record (for example msix-80073d02-procs-before.txt): process names and IDs, PackageFullName from Get-AppxPackage, and today’s date.

3. Check for background tasks or multiple user sessions still running the same package.

Fix

Close the running app instances

Write down, in a note you keep with the change record (for example msix-80073d02-close-before.txt): which processes you will stop (names and PIDs), and today’s date.

Risk: the next step ends those processes. Unsaved documents in that app are lost.

Ask affected users to save their work and close the app normally in each session. Use Task Manager or Get-Process to confirm the instances have exited. If a process is still running, stop and ask the application owner how to shut it down cleanly before retrying the package operation.

To undo it: there is no process-state undo; reopen the application after the package operation. Unsaved in-app data is gone unless the app recovered it.

Retry the package operation

After Get-Process shows no remaining instances, rerun the update, Add-AppxPackage, winget install, or uninstall that failed.

Confirm the fix

  1. Get-Process shows no package processes.
  2. Update or uninstall completes without 0x80073D02.
  3. AppxDeployment-Server is clean for the retry timestamp.

What to watch afterwards

  • Our own advice: autostart apps can reopen and re-lock the package between close and install.
  • 0x80073CF3 after a successful close points at version/dependency conflict instead (package validation).

Risks and limits

These steps have not been lab-tested.

Prefer the app’s own Exit when possible. Our own advice: do not reboot as the first step until you have named the locking PID.

Sources