Fix: Add-appxpackage Deployment Failed With Hresult

Change out your corrupt user profile and switch to another

by Claire Moraa
Claire Moraa
Claire Moraa
Author
Claire likes to think she's got a knack for solving problems and improving the quality of life for those around her. Driven by the forces of rationality, curiosity,... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Windows Powershell is a powerful tool for executing commands but sometimes, these commands may not yield the expected results.
  • If you have recently encountered issues with the Add-appxpackage command, it could be because you're operating a corrupt user profile.
  • Switching to a new profile is a quick workaround but you might want to run the SFC scan to get rid of the issue in its entirety.

XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

The Add-appxpackage is part of a command line that is used to reinstall applications in Windows devices. It is a faster and more straight-forward method for users who appreciate just how powerful the Command Prompt and Powershell utilities are.

However, it now seems that executing the command does not bring desired results and users are hit with a add-appxpackage : deployment failed with hresult: 0x80073cf6, package could not be registered message.

Why does the Add-appxpackage Deployment Failed With Hresult error occur?

If you’re trying to execute the reinstalling an app command, but it keeps returning a failed result, below are some possible causes:

  • Corrupt files – There’s a chance that one or more of your system files may be corrupted and preventing other operations from taking place.
  • App remnants – Uninstalling an app often leaves behind some software leftovers that need to be removed such as the application’s installation files and registry entries which prevent the reinstallation process from succeeding.
  • Incompatible software – Some software may not be compatible with your OS. This is a common issue, as there are many different types of software available for use. 
  • Corrupt user profile – If the user profile on your computer has become corrupted then it may prevent some programs from running correctly.
  • Windows Update issues – If you have recently installed new updates and noticed this issue, it could be a problematic update. You can choose to uninstall the updates or check whether there are newer updates to fix the bug.

This error is not exclusive to Windows as Xbox users too have expressed concern after the Xbox live error code 0x80073cf6 appeared on their consoles especially after installing a game.

How do I fix deployment failed with Hresult?

Before performing any advanced solutions, try the following:

  • Check the command again and ensure you’re typing it correctly.
  • Close any background apps.
  • Restart your PC and here’s what to do if your computer won’t restart.

1. Run the Windows Store troubleshooter

  1. Hit the Windows key and click on Settings.settings windows 11
  2. Click on System on the left pane then Troubleshoot on the right pane.troubleshoot - App
  3. Select Other troubleshooters.
  4. Scroll down, locate Windows Store Apps and click the Run button.

Running the Windows Store Apps troubleshooter can help you identify any errors related to the Microsoft Store so that you can establish whether the issue is with the app you’re trying to install or the store.

2. Run the DISM and SFC scans

  1. Hit the Windows key, type cmd in the search bar, and select Run as administrator.cmd-run-admin-w11 unexpected kernel mode trap windows 11
  2. Type and Enter the following command: DISM.exe /Online /Restorehealth 
  3. Allow for the command to be executed then type in the next one: sfc /scannow

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

If the issue was corrupt or missing files, the SFC scan will be able to address this issue. The DISM and SFC commands are two useful tools that can help you repair your system and fix this problem.

The DISM scan will check for any problems with your system files and fix them if they exist. The System File Checker scan makes sure that all of the necessary system files are in place and are working correctly.

If you worry about performing the SFC and DISM scan by yourself, you can use an automatic alternative because it scans your PC for corrupt files and finds healthy replacements from its database.

Restoro

Easily fix this error by repairing your system files with this handy tool.

Free Trial Download now

3. Reset the Windows Update components 

  1. Hit the Windows key, type Powershell in the search bar, and select Run as administrator.
  2. Type in the following commands and press Enter after each one: net stop wuauserv net stop cryptSvc net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 Catroot2.old net start wuauserv net start cryptSvc net start bits netsh winsock reset
  3. Restart your PC.

4. Check for Windows updates 

  1. Hit the Windows key and click on Settings.settings windows 11
  2. Select Windows Update and click on Check for updates.check-updates-w11 windows 11 blue screen
  3. Download and install if available.

5. Create a new user profile

  1. Hit the Windows + R keys to open the Run command.
  2. Type netplwiz and press Enter.
  3. Click Add in the User Accounts window.
  4. Select Sign in without a Microsoft account (not recommended).Sign in without a Microsoft account
  5. Click on the Local account button.create local account
  6. Enter a username and password (optional) for the new user account, and a hint, in case you set a password. Once done, click on Next.enter username and password
  7. Click on Finish to create the Local account.

Should all these fail, as a last resort, consider resetting your PC. This will delete all files stored on your computer and restore the operating system to its factory settings. If you decide to reset your PC, we recommend creating a backup of your files before you reset your PC.

For the 0x80073cf6 Xbox One fix, the same solutions listed above could be used where applicable. Otherwise, check the Xbox Live server status or reset your console.

There are a bunch of other Microsoft Store errors that you may come across so feel free to check out our detailed guide on how to solve them.

Let us know if you’ve been able to solve this issue in the comment section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.