PowerShell Deployment Failed with HRESULT 0x80073D02 issue Fix

Are you seeing this error message while running a script “Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because of the resources it modifies are currently in use. error 0x80073D02…”  in PowerShell? This, as the error message depicts, does occur when the user tries to re-register one or all the Windows Shell Experience Host apps while the former process is running. We have enlisted a few easy solutions to solve this issue quickly.

 

Fix 1 – Kill the Experience Host process

You have to end the Windows Experience Host Process just before you execute the powershell command.

1. At first, you have to open the PowerShell page. So, press the Win key and type “powershell” in the search box.

2. Then, right-tap the “Windows PowerShell” and click “Run as administrator“.

 

Powershell Run As Admin Min

 



3. Now, write down the code on the terminal. But, do not press the Enter key.

 

Do Not Press The Enter Min

 

Don’t minimize the terminal.

1. Now, you have to open the Task Manager.

You can do it with a right-tap on the Windows icon and clicking on “Task Manager“.

 

Task Manager Min

 

2. Quickly go to the “Processes” tab and scroll down to locate the “Windows Shell Experience Host” process.

3. Once you have found it, right-tap it and tap “End task“.

 

Windows Shell Experience End Task Min

 

[

Additionally, you can go to the “Details” tab to find the “StartMenuExperienceHost.exe” process and kill it also.

 

Startmenu End Task Min

 

]

 

4. Now, quickly move on to the PowerShell terminal and hit the Enter key to execute the code.

This will reinstall the Windows Shell Experience Host process.

 

Fix 2 – Move the exe file

If the first fix doesn’t work, you have to move the executable file.

1. Press the Win key+X keys together and tap “Task Manager“.

 

Task Manager Min

 

2. On the Task Manager page, just head on to the “Details” section.

3. Scroll down slowly to find and right-tap the “StartMenuExperienceHost.exe” process and tap “Open file location“.

 

Open File Location Min

 

This will directly lead you to the actual location of the application file.

4. After that, select the “StartMenuExperienceHost.exe” and tap on the cut icon (Scissors free icon) to cut it.

5. After that, you can go and paste it anywhere you want (like – Desktop).

 

Startmenu Exp Cut It Min

 

After that, just minimize the File Explorer.

Now, you can open Windows PowerShell and run the code again. It should work just fine.

6. Once the code executes successfully, go back to the paste where you have cut-pasted the “StartMenuExperienceHost.exe” in the File Explorer.

7. Cut it from there and go to this location –

C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy

 

8. After that, paste it there.

 

Paste It Here Min

 

This way, you have moved back the application file to its original location.

 

 

Fix 3 – Install the pending Windows Updates

Check whether there are some Windows Updates pending, install those, and run the code.

1. Pressing the Win key+I keys together should open the Settings page.

2. When Settings appears, click on the “Windows Update” on the left-hand pane.

3. You can check whether an update is pending for your device with a tap on “Check for updates“.



 

Check For Udates Min

 

Windows will detect the latest patch or feature update for your system.

4. Usually, you don’t have to click anything as Windows automatically starts to download the update package.

5. If that doesn’t tap “Download now” to download the update package.

 

Download Now Min

 

Windows will download the pending updates and install them.

Once Windows has finished downloading the pending updates and install them on your system.

6. Tap on “Restart now” to reboot the system.

 

Restart Now Min

 

Once your system starts up, you can execute the code from the PowerShell terminal.