Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (2024)

Windows OS Hub / Windows 10 / Error 0x80073CFA: Can’t Uninstall Apps using Remove-AppxPackage in Windows 10

March 11, 2024 Windows 10

Starting from Windows 10 1703 (Creators Update), several new built-in universal apps appeared in the system and you cannot remove them using the standard procedure. For example, when you try to remove the built-in universal apps using the Remove-AppxPackage cmdlet, the following error appears: “HRESULT 0x80073CFA Removal failed”. In this article, we’ll consider a trick that allows you to force removal of any built-in app in Windows 10.

Suppose you have an error when trying to remove the built-in universal application:

Remove-AppxPackage: Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_c5as4n4uizeyw from:
C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_c5as4n4uizeyw failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] b2516df1-c2fa-2201-f028-1af9ae2ba901 in the Event Log or use
the command line Get-AppxLog -ActivityID b2516df1-c2fa-2201-f028-1af9ae2ba901
At line:1 char:1
+ Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.16299.15.0_neutr …
+ ~~
+ CategoryInfo : WriteError: (Microsoft.XboxG…l_c5as4n4uizeyw:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError, Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (1)

Important. Before removing a universal Windows 10 app using the method described below, we strongly recommend creating a restore point or an image backup.

To remove the Windows 10 application, you will need two free tools:

  • Psexec by Sysinternals;
  • DB Browser for SQLite.
  1. Download pstools.zip, unpack it to the C:\PS folder, and then install (or download a portable version) DB Browser for SQLite;
  2. Using psexec, run the interactive command prompt under the Local System: psexec.exe -i -s -d cmd.exeError 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (2)
  3. In the next window run on behalf of the SYSTEM the executable file C:\Program Files\DB Browser for SQLite\DB Browser for SQLite.exe or SQLiteDatabaseBrowserPortable.exe;
  4. Then click Open Database in the DB Browser window and open the following file: %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd;
    Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (3)
  5. Go to the Browse Data tab and select the Package table;
  6. Now find the name of the app you want to remove in the PackageFullName column. (In our example it is Microsoft.XboxGameCallableUI_c5as4n4uizeyw.) Change the value in the IsInbox column from 1 to 0 for this app; Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (4)
  7. Save the changes using File->Write changes (or press CTRL+S);
  8. Then try to remove the app from PowerShell:

Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_c5as4n4uizeyw
It should be removed without any errors or warnings.
Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (5)

Having searched the web, I found that the IsInbox flag for built-in apps had appeared in the local system base for Windows apps since the Windows 10 Anniversary update (1607). When trying to remove a built-in app with the IsInbox flag enabled, the error 0x80073CFA appears.

previous post

How to Get My Public IP Address with PowerShell

next post

How To Monitor Group Membership Changes in Active Directory

Related Reading

How to Set (Change) the Default Printer in...

July 12, 2024

Permanently Disable Driver Signature Enforcement on Windows 11

July 8, 2024

Testing Internet Speed from Windows Command Prompt (PowerShell)

July 2, 2024

How to Add or Remove Pinned Folders to...

June 18, 2024

How to Assign (Passthrough) a Physical GPU to...

June 11, 2024

14 comments

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (6)

Jai Raj Mehta January 10, 2020 - 11:39 am

Please elaborate how to run the interactive command prompt under the Local System: psexec.exe -i -s -d cmd.exe using psexec

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (7)

admin January 15, 2020 - 8:00 am

Download the PsExec tool (_https://docs.microsoft.com/en-us/sysinternals/downloads/psexec) and extract it to a local folder.
Next, run the elevated cmd.exe, go to the folder with psexec: cd c:\tools\psexec and run the command: psexec.exe -i -s -d cmd.exe

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (8)

Dave February 23, 2020 - 9:38 pm

I tried to do this step by step, however as soon as I want to edit the IsInbox column for a package, I get Error changing data: attempt to write a readonly database. Any idea how to solve this?

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (9)

netlater March 29, 2020 - 12:47 pm

when Write changes, error : no such function:workid. pls help

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (10)

admin March 31, 2020 - 8:48 am

Make sure you run the DB Browser on behalf of the Local System. And specify your Windows 10 build.

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (11)

Carlo May 8, 2020 - 3:23 am

I already put both PS and DBrowser on my C: encountered error: error : no such function:workid Windows10 1909 18363.778

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (12)

Vandrey Trindade June 3, 2020 - 1:17 pm

Have tried this on Windows 10 build 2004 x64, DB Browser for SQL running as SYSTEM, error:
—————————
DB Browser for SQLite
—————————
Erro modificando dados:
no such function: is_srjournal_enabled
—————————
OK
—————————

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (13)

movAxAx July 29, 2021 - 5:47 pm

To anyone with this problem. It arises because the table has a trigger after update. There are two options: 1) If you are updating the database through a custom program or script, use the sqlite3_create_function() API function to create the function the triffer requires. 2) From the command-line utility: drop the trigger before update, and you can (in my case I do not did it) recreate it later. a) Use .schema Package to list the triggers, and copy the text of the trigger, in my case it was TRG_AFTER_UPDATE_Package_SRJournal. b) DROP TRIGGER TRG_AFTER_UPDATE_Package_SRJournal; c) Do your update. d) Recreate the trigger, in my case CREATE TRIGGER TRG_AFTER_UPDATE_Package_SRJournal AFTER UPDATE ON Package FOR EACH ROW WHEN is_srjournal_enabled() BEGIN UPDATE Sequence SET LastValue=LastValue+1 WHERE Id=2 ;INSERT INTO SRJournal(_Revision, _WorkId, ObjectType, Action, ObjectId, PackageIdentity, WhenOccurred, SequenceId)SELECT 1, workid(), 1, 2, NEW._PackageID, pi._PackageIdentityID, now(), s.LastValue FROM Sequence AS s CROSS JOIN PackageIdentity AS pi WHERE s.Id=2 AND pi.PackageFullName=NEW.PackageFullName;END

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (14)

Vandrey Trindade June 3, 2020 - 1:44 pm

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (15)

Dave May 27, 2021 - 12:13 pm

I’m getting this error when trying to remove some sound related packages, IsInbox is already set to 0 and running powershell as admin with Remove-AppxPackage command still results in 0x80073CFA error. Ideas anyone?

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (16)

Dave May 27, 2021 - 12:18 pm

Nevermind. Even though the sound apps shouldn’t have required special system access doing so allows me to nuke the damn things.

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (17)

Dave May 27, 2021 - 12:27 pm

Update: Didn’t work for all sound packages some still won’t get removed even with system access. The packages I’m trying to remove are DTS and Nahimic ones

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (18)

bryan March 17, 2023 - 7:19 am

17 march 2022
this is just after my update for windows 10 22H2. i chose to eliminate edge. when i looked in the database above, i found two versions to remove, the out of the box version that came with windows 10, and the new version that was automatically installed with 22H2. there are registry edits that will keep edge from reinstalling beyond the scope of this update.

i had to take ownership from TrustedInstaller in file properties/advanced/ on the database to be modified, before the database could open it: C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd

Returning ownership after was easy with a quick online search.

step 7 above may not be possible until the “IsInBox” field is unlocked. the trigger that must be removed to disable the lock and allow editing on is: TRG_AFTER_UPDATE_Package_SRJournal in the “Database Structure” tab in the database. a sql command to copy the trigger back is available via right click – and must be done prior to the temporary deletion of the trigger. the trigger must be recreated after – the sql script below is what i put into the “Execute SQL” tab.

to recreate this trigger on my system – yours may differ – my sql script was:

CREATE TRIGGER TRG_AFTER_UPDATE_Package_SRJournal AFTER UPDATE ON Package FOR EACH ROW WHEN is_srjournal_enabled()BEGIN UPDATE Sequence SET LastValue=LastValue+1 WHERE Id=2 ;INSERT INTO SRJournal(_Revision, _WorkId, ObjectType, Action, ObjectId, PackageIdentity, WhenOccurred, SequenceId)SELECT 1, workid(), 1, 2, NEW._PackageID, pi._PackageIdentityID, now(), s.LastValue FROM Sequence AS s CROSS JOIN PackageIdentity AS pi WHERE s.Id=2 AND pi.PackageFullName=NEW.PackageFullName;END

Reply

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (19)

bryan March 17, 2023 - 7:28 am

ETA – got here after seeing:

DB Browser for SQLite
Error changing data:
no such function: is_srjournal_enabled

removing the trigger, then writing the change, then returning the trigger put the database back to its working state.
finished removing edge using powershell commands that are found easily with a search. the prior methods of removing edge fail after the 22H2 win10 update.

Reply

Leave a Comment

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub (2024)

FAQs

Error 0x80073CFA: Can't Uninstall Apps using Remove-AppxPackage in Windows 10 | Windows OS Hub? ›

Any corrupted cache in Microsoft Store can also result in error code 0x80073cfa. Resetting the cache in it enables you to clear the corrupted data and get rid of 0x80073cfa.

How to fix error 0x80073cfa? ›

Any corrupted cache in Microsoft Store can also result in error code 0x80073cfa. Resetting the cache in it enables you to clear the corrupted data and get rid of 0x80073cfa.

How to uninstall apps that cannot be uninstalled in Windows 10? ›

Use the Task Manager built into Windows 11 and Windows 10. Press down the CTRL + SHIFT + ESC keys together to open the Task Manager. It should already be on the processes tab. Select the Program or App that you want to uninstall from the list under processes.

How to force remove-AppxPackage? ›

You can easily uninstall all the apps that are preinstalled in user accounts. for this, you need to open the PowerShell as an administrator as before. After that, enter this PowerShell command: Get-AppxPackage-AllUsers | Remove-AppxPackage.

How to uninstall and remove all built in apps in Windows 10? ›

Use the uninstaller built into Windows 11 and Windows 10.
  1. Open the Start Menu.
  2. Click Settings.
  3. Click Apps.
  4. Select Apps & features from the left-hand side menu.
  5. Select the Program or App that you want to uninstall from the list that appears.
  6. Click the uninstall button that shows under the selected program or app.
May 27, 2024

How do I clear Windows Error Recovery? ›

How do I get out of the recovery loop?
  1. Startup Repair. Startup Repair works by scanning the system for common startup problems and attempting to repair them automatically. ...
  2. Remove or replace malfunctioning hardware. ...
  3. System Restore. ...
  4. System Image Recovery. ...
  5. Uninstall updates. ...
  6. Use Command Prompt. ...
  7. Boot in Safe Mode.

How do I reset Windows Store error? ›

Here are some steps you can try to resolve the issue:
  1. Press the Windows key + R to open the Run dialog box.
  2. Type "wsreset.exe" and press Enter. This will reset the Windows Store cache.
  3. Restart your computer and try opening the Microsoft Store again.
Jan 4, 2024

When I Uninstall a program, it won't Uninstall.? ›

If you get an error message when you're uninstalling, try the Program Install and Uninstall Troubleshooter. If you're trying to remove malware, see Stay protected with Windows Security to find out how to run a scan. Or if you use another antivirus software program, check their virus protection options.

How do I delete an app that won't Uninstall? ›

Hold down on the app icon, drag it to "Uninstall," and release. If that didn't work, no worries—onto the next step! Head over to "Settings," find "Apps" or "Applications," and scroll down to the troublesome app. Tap "Force Stop." This should get rid of the app right away, and if not, move on to the next step.

How to force Uninstall a program using cmd? ›

How to uninstall program using CMD
  1. You need to open CMD. Win button ->type CMD->enter.
  2. type in wmic.
  3. Type in product get name and press Enter. ...
  4. Example of the command listed under this. ...
  5. After this, you should see successful uninstallation of the program.
Sep 8, 2019

How do I uninstall unremovable Apps? ›

Delete the undeletable: how to disable and remove Android bloatware
  1. List of all installed apps and the App Info screen with the Uninstall button.
  2. For non-removable apps, instead of an Uninstall button, the App Info screen shows a Disable button.
  3. If the Disable button is inactive, try using Force Stop.
Dec 1, 2023

What does remove-AppxPackage do? ›

The Remove-AppxPackage cmdlet removes an app package from a user account. An app package has an . msix or . appx file extension.

What does reset AppxPackage do? ›

The Reset-AppxPackage cmdlet resets the app to its original settings, and the app will react as a freshly installed app. After resetting the app, any initial prompts by the app will be prompted for user input.

How to remove all Windows 10 built-in apps from UWP bloatware? ›

You can do this by pressing the Windows Key + X and select Windows PowerShell (Admin). Before you begin, remember if you change your mind, you'll need to reinstall from the Windows Store. To remove everything you just need to type in Get-AppxPackage -AllUsers | Remove-AppxPackage.

How to remove a corrupted application from Windows? ›

Solution to case 1:
  1. Open Start → Help & Support.
  2. Type software and hardware reinstallation and select software program re-installation".
  3. Follow the wizard's instructions.
  4. Reboot your computer.
  5. Open Start → Control Panel → Programs & Features.
  6. Locate the program you want to uninstall and right-click it with your mouse.
Mar 16, 2012

How do I completely remove system apps? ›

How to Uninstall Android Apps Through the Settings App
  1. Open the Settings app.
  2. Tap Apps. On some devices, you'll need to go to the General tab and select Apps & notifications.
  3. Select the offending app.
  4. Tap Uninstall > OK to remove it. Some apps can't be deleted.
Feb 12, 2024

How do I fix Windows stop error? ›

  1. Perform a hard reset. ...
  2. Run a hardware diagnostic test. ...
  3. Disconnect external devices. ...
  4. Boot into safe mode with networking. ...
  5. Run the blue screen troubleshooter using SupportAssist. ...
  6. Repair the missing or corrupted Windows system files. ...
  7. Update the BIOS and drivers. ...
  8. Restore the computer using Windows System Restore.
Jan 3, 2024

What is error code 0x800073cf1? ›

Network connection issues – The error code 0x80073cf1 can occur if Microsoft Store can't connect with its servers due to network congestion and other network-related issues. Log-in errors with your Microsoft account – The error code 0x80073cf1 may be because of user account issues.

How do I fix error 0x8007000? ›

Start by using Windows Update's troubleshooter to fix problem number 0x8007000d.
  1. Open Settings by pressing Windows + I.
  2. Click "Update & Security" and "Troubleshoot" on the left.
  3. Select "Check for Windows Updates".
  4. Click "Run the troubleshooter" and follow the prompts to solve Windows Update difficulties.
May 21, 2024

Top Articles
Milk Glass Value Guide for Beginners With Insights from Collectors
Valuable Rare Milk Glass Pieces Worth Money (Price Guide)
Netronline Taxes
Netr Aerial Viewer
Fort Carson Cif Phone Number
Craigslist Pet Phoenix
Sunday World Northern Ireland
Regular Clear vs Low Iron Glass for Shower Doors
Unit 1 Lesson 5 Practice Problems Answer Key
Our Facility
Mflwer
Average Salary in Philippines in 2024 - Timeular
Union Ironworkers Job Hotline
Abby's Caribbean Cafe
Everything you need to know about Costco Travel (and why I love it) - The Points Guy
Conan Exiles Sorcery Guide – How To Learn, Cast & Unlock Spells
Ups Drop Off Newton Ks
Panolian Batesville Ms Obituaries 2022
Certain Red Dye Nyt Crossword
Johnnie Walker Double Black Costco
Reviews over Supersaver - Opiness - Spreekt uit ervaring
Danielle Ranslow Obituary
Soul Eater Resonance Wavelength Tier List
Garden Grove Classlink
Enduring Word John 15
Sandals Travel Agent Login
Weather Underground Durham
Spirited Showtimes Near Marcus Twin Creek Cinema
Puffin Asmr Leak
Kiddie Jungle Parma
Bfri Forum
Landing Page Winn Dixie
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
Ewwwww Gif
Austin Automotive Buda
Mckinley rugzak - Mode accessoires kopen? Ruime keuze
Dying Light Nexus
5 Tips To Throw A Fun Halloween Party For Adults
Lbl A-Z
Ucsc Sip 2023 College Confidential
Pokemon Reborn Gyms
What Is The Optavia Diet—And How Does It Work?
Brother Bear Tattoo Ideas
Best Haircut Shop Near Me
War Room Pandemic Rumble
The Blackening Showtimes Near Ncg Cinema - Grand Blanc Trillium
Enter The Gungeon Gunther
Egg Inc Wiki
Grand Park Baseball Tournaments
Blog Pch
What Does the Death Card Mean in Tarot?
Cryptoquote Solver For Today
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 5677

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.