sodcalculator

10 Tech How-To

Fix Uninstall Error 0x80073cfa on Windows

Guide 10-59431 · Updated · Step by step

Uninstall error 0x80073cfa stops Windows from removing an app, usually a Microsoft Store or system app, and the fix is to repair the app’s registration or clear the Windows Store cache. Start by running the built-in wsreset.exe tool, then re-register the app with PowerShell; if that fails, use the Windows Update Troubleshooter or reinstall the app from the Store. Below are the exact steps, what causes the error, and what to do when the standard fixes don’t work.

What Error 0x80073cfa Actually Means

Error 0x80073cfa is a Windows app deployment failure that appears when you try to uninstall a program, often one installed from the Microsoft Store. The error text usually reads “The operation could not be completed” or “This app cannot be uninstalled.” Technically, the code maps to ERROR_PACKAGE_UPDATING, which means Windows thinks the app package is still in the middle of an update or its registration is corrupted. This is different from a normal “file in use” error — the problem is in the app’s package metadata, not the files themselves.

The error most often affects built-in apps like Mail, Calendar, Photos, or Xbox apps, but it can also hit third-party Store apps. It is not a hardware problem and rarely indicates a virus. It is a state problem: the app’s registration in the Windows registry is stuck, so the uninstaller cannot complete the removal.

Why This Error Happens

Several common situations trigger 0x80073cfa:

  • Interrupted update: If a Store app update is cut off (power loss, forced shutdown, network drop), the package stays in an “updating” state forever.
  • Corrupted Store cache: The Windows Store cache (the Cache folder under %LocalAppData%\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe) can become corrupted, breaking app operations.
  • Leftover package files: After a failed uninstall, partial files remain and the system thinks the app is still present.
  • User profile corruption: Rarely, the app’s per-user registration data in the registry is damaged.
  • Group Policy restrictions: On managed or school/work devices, an administrator may have blocked uninstallation of certain apps.

Fix 1: Run wsreset.exe to Clear the Store Cache

This is the quickest fix and solves many cases. The command clears the Store’s cache and forces it to re-check its state.

  1. Press Windows Key + R to open the Run dialog.
  2. Type wsreset.exe and press Enter.
  3. A blank Command Prompt window will open; wait for it to finish (it may take a minute or two). The Store will open automatically when done.
  4. Close the Store and try uninstalling the app again from Settings > Apps > Installed apps.

If the Store does not open or wsreset fails, move to the next fix.

Fix 2: Re-register the App with PowerShell

If clearing the cache doesn’t work, the app’s registration is likely corrupted. Re-registering it tells Windows to rebuild the package metadata.

  1. Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
  2. Click Yes when prompted by User Account Control.
  3. Type the following command and press Enter:
    Get-AppxPackage -AllUsers | Where-Object {$_.PackageFullName -like "*AppName*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  4. Replace AppName with the name of the app giving you trouble (e.g., Microsoft.Photos). To list all apps, run Get-AppxPackage -AllUsers first and find the PackageFullName.
  5. After the command completes, restart your PC and try uninstalling again.

If you don’t know the exact app name, run Get-AppxPackage -AllUsers | Select Name, PackageFullName to see the full list. The command above works for Store apps; it will not help with classic desktop programs.

Fix 3: Use the Windows Update Troubleshooter

Since 0x80073cfa is often tied to a stuck update, Microsoft’s built-in troubleshooter can reset the update components.

  1. Open Settings > System > Troubleshoot > Other troubleshooters.
  2. Find Windows Update and click Run.
  3. Follow the prompts; it may ask you to restart.
  4. After it finishes, try the uninstall again.

If the troubleshooter finds nothing, also run the Program Install and Uninstall troubleshooter from the same list — it specifically handles broken uninstallers.

Fix 4: Reinstall the App from the Store (Overwrite the Broken Copy)

When re-registering fails, installing the app fresh over the broken copy often resets its state. This works even if the app is already “installed” in the Store’s view.

  1. Open the Microsoft Store and search for the app.
  2. Click Get or Install (it may say “Installed” — if so, click the three-dot menu next to it and choose Repair or Reset first).
  3. If the Store says it’s already installed, use Settings > Apps > Installed apps, find the app, click the three-dot menu, and choose Advanced options. Scroll down and click Reset — this clears the app’s data and re-registers it.
  4. After Reset, try uninstalling again. If that fails, click Repair (if available) and retry.

For built-in apps that cannot be reinstalled from the Store (like Photos or Calculator), use the PowerShell command from Fix 2 but with the exact PackageFullName — it re-registers the app without needing a download.

What to Do If Nothing Works

If you’ve tried all the above, the issue is likely a deeper system corruption or a policy restriction.

  • Check for Group Policy: If your device is managed by a school or employer, ask your IT admin if uninstalling that app is allowed. You cannot bypass this without admin approval.
  • Run System File Checker: Open an admin Command Prompt and run sfc /scannow. This repairs corrupted Windows system files that may be blocking the uninstall.
  • Create a new user profile: In rare cases, the current user’s profile is corrupted. Create a new local user account, log in, and try the uninstall there. If it works, migrate your files and delete the old profile.
  • Use DISM: In the same admin Command Prompt, run DISM /Online /Cleanup-Image /RestoreHealth to repair the Windows image itself. This is a longer process (10-20 minutes) but fixes underlying component store issues.
  • In-place upgrade repair: As a last resort, run the Windows 11/10 installation assistant to reinstall Windows while keeping your files and apps. This usually clears all stuck package states.

Frequently Asked Questions

Will this error damage my files or other apps?

No. Error 0x80073cfa only affects the app you’re trying to uninstall. It does not touch your documents, photos, or other programs. The fixes above are all reversible and do not delete personal data.

Can I just delete the app’s folder in Program Files?

No. Manually deleting the folder will not remove the app’s registration, and Windows will still show it as installed. Worse, it can leave orphaned registry entries that cause errors with future updates. Always use the proper uninstall methods.

Why does this happen only with Microsoft Store apps?

Store apps use a package system (AppX) that registers each app with the OS. Classic desktop programs just drop files and registry keys, which are easier to clean up. The package system is more rigid, so a failed update leaves a more stubborn trace.

Is there a way to force-uninstall a Store app?

Yes, with PowerShell. Run Get-AppxPackage -AllUsers | Remove-AppxPackage in an admin PowerShell to remove all Store apps (not recommended), or target one app by name: Get-AppxPackage *photos* | Remove-AppxPackage. This bypasses the normal uninstaller and often works when the Settings page fails.

Do I need to reinstall Windows to fix this?

Almost never. The fixes above resolve the vast majority of cases. Only if you also see other system errors (crashes, missing settings) should you consider a repair install, and even then it keeps your files.

Will this error happen again after I fix it?

It can, if the underlying cause was a flaky network or a forced shutdown during an update. To reduce the chance, always let Store updates finish, keep your PC plugged in during updates, and avoid using “shutdown” commands while updates are pending.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →