Close it, or Add-AppxPackage -ForceApplicationShutdown.
Schedule mass updates outside working hours.
✦ Definition~90s read
What is Windows Error 0x80073D02?
0x80073D02 (ERROR_PACKAGES_IN_USE) is returned by Add-AppxPackage and App Installer when the package being updated, or a process belonging to it, is running and holds its files.
★
You can't replace the parts of a machine while it's running.
Plain-English First
You can't replace the parts of a machine while it's running. Turn it off, then swap them.
An MSIX update pushed at 2 PM failed on 140 of 200 PCs: the ones where people had the app open.
Is It Running?
Look for the app's processes, including background tasks.
check.ps1POWERSHELL
1
Get-Process | Where-ObjectPath -like '*Orders*'
🎯 Key Takeaway
Check before installing.
Let Windows Close It
ForceApplicationShutdown closes the app's processes before updating.
0x80073D02 (ERROR_PACKAGES_IN_USE) is returned by Add-AppxPackage and App Installer when the package being updated, or a process belonging to it, is running and holds its files.