search
HomeCommon ProblemPowerShell deployment fails with HRESULT 0x80073D02 issue fixed

Do you see this error message when running the script "Add-AppxPackage: Deployment failed, HRESULT: 0x80073D02, The package cannot be installed because the resource it modifies is currently in use. Error 0x80073D02 in PowerShell… "? As the error message states, this does occur when a user attempts to re-register one or all Windows Shell Experience Host applications while the previous process is running. We've got some simple solutions to fix this problem quickly.

Fix 1 – Kill the Experience Host Process

You must kill the Windows Experience Host process before executing the powershell command.

1. First, you have to open the PowerShell page. So, press the Win key and type "powershell" in the search box.

2. Then, right-click on "Windows PowerShell" and click "Run as administrator".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

#3. Now, write the code on the terminal. However, Do notpress the Enter key.

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

Do not minimize the terminal.

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

You can do this by right-clicking on the Windows icon and clicking "Task Manager".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

2. Quickly enter the "Process" tab and scroll down to find the "Windows Shell Experience Host" process.

3. Once you find it, right-click on it and click "End Mission".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

[

Also, you can go to the "Details" tab to find " StartMenuExperienceHost.exe "process and kill it too.

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

]

4. Now, quickly go to the PowerShell terminal and press 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 must move the executable file.

1. Press the Win key and the X key at the same time and click "Task Manager".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

2. On the Task Manager page, go directly to the "Details" section.

3. Scroll down slowly, find and right-click the "StartMenuExperienceHost.exe" process, and then click "Open file location".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

This will direct you to the actual location of the application files.

4. After that, select " StartMenuExperienceHost.exe " and click on the cut icon( PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复) to cut it.

5. After that, you can paste it wherever you want (for example -Desktop).

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

After that, just minimize File Explorer.

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

6. After the code is successfully executed, return to the file explorer where you cut and pasted "StartMenuExperienceHost.exe".

7. Cut it from there to this position -

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

8. After that, paste it there.

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

In this way, you have moved the application files back to their original location.

Fix 3 – Install pending Windows updates

Check if there are some Windows updates pending, install those updates and run the code.

1. Press the Win key and the I key at the same time to open the settings page.

2. When the settings appear, click Windows Update in the left pane.

3. You can check whether there are updates for your device by clicking "Check for Updates".

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

#Windows will detect the latest patches or feature updates for your system.

4. Typically, you don't need to click anything and Windows will automatically start downloading the update package.

5. If you do not click "Download Now" to download the update package.

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

#Windows will download pending updates and install them.

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

6. Click "Restart Now" to restart the system.

PowerShell 部署失败并出现 HRESULT 0x80073D02 问题修复

After the system boots, you can execute code from the PowerShell terminal.

The above is the detailed content of PowerShell deployment fails with HRESULT 0x80073D02 issue fixed. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.