Microsoft Store has a lot of apps that we can install on our Windows 11/10 computers. When a particular Microsoft Store app stops working, we can fix it via different troubleshooting methods. Re-registering the app is one of these troubleshooting methods. To do so, you have to execute a command in Windows PowerShell. While executing the command to re-register Microsoft Store apps in Windows PowerShell, some users encountered the Deployment Failed with HRESULT 0x80073D02, The package could not be installed because resources it modifies are currently in use error. If this error occurs on your system, you will not be able to re-register the particular Microsoft Store app. This article lists some troubleshooting methods that will help you deal with this problem.
The complete error message is:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use.
error 0x80073D02: Unable to install because the following apps need to be closed
<app or process name>
In the above error message, you will see the name of the app or process in place of the “app or process name” that is needed to be closed.
Fix Deployment Failed with HRESULT 0x80073D02 error
Try the following fixes to get this problem solved.
- Check for Windows Update
- End the background app or process
- Create a new user account
- Uninstall and reinstall the app
- Perform an in-place upgrade
Let’s see all these solutions in detail.
1] Check for Windows Update
Sometimes problems occur due to an outdated Windows version. Microsoft recommends users keep their systems up to date. The latest updates also install the latest security patches on a user’s system that help protect them from cyber-attacks. Apart from that, the latest updates also fix the issues that users experience on Windows computers due to some bugs. Open Windows 11/10 Settings and check for Windows Updates. If any update is available, install it and then see if this fixes the problem.
2] End the background app or process
The error message is self-explanatory. If you read it carefully, the name of the app or process causing the problem is displayed at the end of the message. According to the error message, the command to re-register the app cannot be executed because the app is not closed. It means that the app or process, the name of which is displayed in the message, is running in the background. To fix the problem, you have to end that app or process. The steps to do this are written below:
- Press the Win + R keys.
- When the Run command box appears, type taskmgr and click OK. This will open the Task Manager.
- In the Task Manager, select the Processes tab and look for the app or process, the name of which is displayed in the error message.
- Once you find it, right-click on it and select End Task.
After performing the above steps, you should be able to re-register the app via Windows PowerShell. If this does not help, try the next solution.
3] Create a new user account
Sometimes, problems occur in a specific user account. We suggest you create a new user account and then see if you can re-registered the app from that user account. You can create a new user account from Windows 11/10 Settings.
4] Uninstall and reinstall the app
You are re-registering a particular app via Windows PowerShell because you are facing some issues in that app. One way to fix the problematic apps on Windows 11/10 is to reinstall them. Because Windows PowerShell is giving you an error due to which you are not able to re-register the app. You can try uninstalling and reinstalling the problematic app.
The steps to uninstall and reinstall an app are as follows:
- Open Windows 11/10 Settings.
- Go to “Apps > Apps & features.”
- You will see a list of all apps and software installed on your computer. Scroll down the list and locate the problematic app.
- Once you find it, select it and click Uninstall. In Windows 11, first, click on the three horizontal dots next to the app and then click Uninstall.
- After uninstalling the app, open Microsoft Store and install the app again.
5] Perform an In-place Upgrade
If after reinstalling the app, you encounter the same problem in it and re-registering also does not work, perform an In-place upgrade. An In-place upgrade installs Windows 11/10 operating system on a user’s computer without uninstalling the previous version of Windows OS. It is a final alternative before you uninstall and reinstall the Windows Operating System.
Moreover, the In-place upgrade does not delete your data. But to be on the safe side, we recommend you backup all your data before performing an In-place upgrade.
This should fix the problem.
How do I fix PowerShell deployment failed with HRESULT 0x80073D02?
You may see the “PowerShell deployment failed with HRESULT 0x80073D02” error while re-registering a Microsoft Store app via Windows PowerShell. According to the error message, the same app or a process related to it is running in the background preventing Windows PowerShell from re-registering that app. To fix this problem, you have to end that app or process related to that app via the Task Manager. Open the Task Manager and locate the app or process, the name of which is displayed in the error message, and then end that task or process.
What is error code 0x80073cf6?
The error code 0x80073cf6 is a Microsoft Store error. You may receive this error code while installing or updating apps from Microsoft Store. To fix this error, first, run Windows Store Apps Troubleshooter and see if it helps. If this does not help, reset Microsoft Store via Windows 11/10 Settings.
Read next: Fix Microsoft Store error 0x80131505.