Home › DevOps › 0x80073D02: The Package Could Not Be Installed Because Resources It Modifies Are in Use — Fix
Beginner 3 min · November 28, 2026

0x80073D02: The Package Could Not Be Installed Because Resources It Modifies Are in Use — Fix

0x80073D02 means the app (or one of its background tasks) was running while you tried to install or update it, so Windows couldn't replace its files.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Drawn from code that ran under real load.

Follow
✓ Production
production tested
November 28, 2026
last updated
2,141
articles · all by Naren
Before you start⏱ 6 min
  • ✓Windows PowerShell basics
 ● Production Incident 🔎 Debug Guide
⚡Quick Answer
  • The app or its background task is running.
  • Check: Get-Process | Where-Object Path -like 'AppName'.
  • 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-Object Path -like '*Orders*'
🎯 Key Takeaway
Check before installing.

Let Windows Close It

ForceApplicationShutdown closes the app's processes before updating.

update.ps1POWERSHELL
1
Add-AppxPackage .\Orders_2.5.msix -ForceApplicationShutdown
🎯 Key Takeaway
Or close it yourself.
● Production incidentPOST-MORTEMseverity: high

Failed Only Where People Were Working

Symptom
Deployment failed with HRESULT: 0x80073D02.
Assumption
The team suspected a bad package because tests had passed overnight.
Root cause
The app was open on 140 PCs; Windows can't replace files of a running package.
Fix
Re-ran with -ForceApplicationShutdown after hours.
Key lesson
  • Updates need the app closed.
  • Schedule rollouts.
  • Check processes first.
Production debug guideBefore you retry1 entries
Symptom · 01
Deployment failed with HRESULT: 0x80073D02.
→
Fix
Re-ran with -ForceApplicationShutdown after hours.
⚙ Quick Reference
2 commands from this guide
FileCommand / CodePurpose
check.ps1Get-Process | Where-Object Path -like '*Orders*'Is It Running?
update.ps1Add-AppxPackage .\Orders_2.5.msix -ForceApplicationShutdownLet Windows Close It

Key takeaways

1
Updates need the app closed.
2
Schedule rollouts.
3
Check processes first.

Common mistakes to avoid

1 patterns
×

Re-downloading the package

Symptom
Same error.
Fix
Fix the cause shown above.
INTERVIEW PREP · PRACTICE MODE

Interview Questions on This Topic

Q01SENIOR
What does 0x80073D02 mean?
Q01 of 01SENIOR

What does 0x80073D02 mean?

ANSWER
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.
FAQ · 1 QUESTIONS

Frequently Asked Questions

01
How do I fix 0x80073D02?
N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Drawn from code that ran under real load.

Follow
✓ Verified
production tested
November 28, 2026
last updated
2,141
articles · all by Naren
🔥

That's Platform. Mark it forged?

3 min read · try the examples if you haven't

←
Previous
Exit Code 143: SIGTERM in Docker, Kubernetes and YARN
5 / 7 · Platform
Next
Windows Error 0x80073CFB: Package Already Installed
→