Deployment failed with HRESULT: 0x80073CFE, The package repository is corrupted. error -2018574325


TylerJaacks

Member
Local time
2:43 AM
Posts
19
Location
Ames, IA
OS
Windows 11 Pro
`➜ ~ Remove-AppxPackage -Package "AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa"
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFE, The package repository is corrupted.
error -2018574325: Windows cannot process a deployment operation because the package repository database encountered an unrecoverable error. Use the Reset Your PC feature to recover your PC. NOTE: For additional information, look for [ActivityId] 5810800b-2dd6-0012-49ea-1058d62dd801 in the Event Log or use the command line Get-AppPackageLog -ActivityID 5810800b-2dd6-0012-49ea-1058d62dd801 At line:1 char:1
+ Remove-AppxPackage -Package "AppleInc.iTunes_12122.2.54019.0_x64__nzy ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (AppleInc.iTunes...__nzyj5cx40ttqa:String) [Remove-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

It is now impossible to remove or install Windows Store apps. Is there a way to fix this without reinstalling Windows cause I literally just reinstalled Windows last week.
 
Windows Build/Version
21H2 (OS Build 22000.527)

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    AMD RYZEN 9 5950X
    Motherboard
    GIGABYTE X570 AORUS ELITE
    Memory
    G.Skill Trident Z RGB 32GB (2x16GB) DDR4-3200
    Graphics Card(s)
    ASUS ROG Strix RTX 2080 Ti
    Monitor(s) Displays
    ASUS ROG Swift PG279QZ 27" ASUS PB238Q 23"
    Screen Resolution
    2560x1440 1920x1080
    Hard Drives
    Samsung 970 EVO 1TB
    Samsung 980 Pro 2TB
    Samsung 870 EVO 1TB
    Seagate Desktop HDD 4TB
    Seagate IronWolf 10TB
    PSU
    Corsair RM 750W
    Case
    NZXT H710i Black
    Cooling
    NZXT Kraken Z63
    Keyboard
    Corsair K70 LUX RGB Blue
    Mouse
    Corsair Scimitar PRO RGB
    Internet Speed
    75 Mbps Up/Down
    Browser
    Mozilla Firefox
    Antivirus
    Windows Defender

glasskuter

Well-known member
Power User
VIP
Local time
2:43 AM
Posts
1,535
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
Your error said NOTE: For additional information, look for [ActivityId] 5810800b-2dd6-0012-49ea-1058d62dd801 in the Event Log or use the command line Get-AppPackageLog -ActivityID 5810800b-2dd6-0012-49ea-1058d62dd801 At line:1 char:1

Does your activity log steer you in the direction as to what is causing this error?

Have you tried settings-system-troubleshoot-other troubleshooters. To the right of 'windows store apps' click RUN to run the app troubleshooter.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

TylerJaacks

Member
Thread Starter
Local time
2:43 AM
Posts
19
Location
Ames, IA
OS
Windows 11 Pro
Time ID Message
---- -- -------
3/2/2022 7:30:00 AM 603 Started deployment Remove operation on a package with main parameter
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
3/2/2022 7:30:00 AM 10002 Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\64988b0f
-c854-4836-a611-423bf4c9bd90_S-1-5-21-4019827330-637097382-1211505669-1001_1.rsl
c for Remove Operation on Package
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa.
3/2/2022 7:30:00 AM 607 Deployment Remove operation on package
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa has been de-queued and is
running for user SID S-1-5-21-4019827330-637097382-1211505669-1001.
3/2/2022 7:30:00 AM 855 Finished resolving action lists. DeploymentRequest action lists:
removePackageList: AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa
AppleInc.iTunes_12122.2.54019.0_neutral_~_nzyj5cx40ttqa.
3/2/2022 7:30:00 AM 10000 About to service package AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa.
Setting the package state to disabled returned with 0x0.
3/2/2022 7:30:00 AM 9644 0x0: AllowUninstall successful for package
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa.
3/2/2022 7:30:00 AM 330 error 0x80070002: While removing the request, the system failed to de-register
the windows.MRT extension due to the following error: The system cannot find
the file specified.
.
3/2/2022 7:30:01 AM 520 error -2018574325: Windows cannot process a deployment operation because the
package repository database encountered an unrecoverable error. Use the Reset
Your PC feature to recover your PC.
3/2/2022 7:30:01 AM 605 The last successful state reached was De-Indexed. Failure occurred before
reaching the next state Committed. hr: 0x80073CFE
3/2/2022 7:30:01 AM 10001 Finished servicing package AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa.
Setting the package state to enabled returned with 0x0.
3/2/2022 7:30:01 AM 10001 Finished servicing package AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa.
Setting the package state to enabled returned with 0x0.
3/2/2022 7:30:01 AM 401 Deployment Remove operation with target volume C: on Package
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa from:
(AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa) failed with error
0x80073CFE. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
3/2/2022 7:30:01 AM 404 AppX Deployment operation failed for package
AppleInc.iTunes_12122.2.54019.0_x64__nzyj5cx40ttqa with error 0x80073CFE. The
specific error text for this failure is: error -2018574325: Windows cannot
process a deployment operation because the package repository database
encountered an unrecoverable error. Use the Reset Your PC feature to recover
your PC.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    AMD RYZEN 9 5950X
    Motherboard
    GIGABYTE X570 AORUS ELITE
    Memory
    G.Skill Trident Z RGB 32GB (2x16GB) DDR4-3200
    Graphics Card(s)
    ASUS ROG Strix RTX 2080 Ti
    Monitor(s) Displays
    ASUS ROG Swift PG279QZ 27" ASUS PB238Q 23"
    Screen Resolution
    2560x1440 1920x1080
    Hard Drives
    Samsung 970 EVO 1TB
    Samsung 980 Pro 2TB
    Samsung 870 EVO 1TB
    Seagate Desktop HDD 4TB
    Seagate IronWolf 10TB
    PSU
    Corsair RM 750W
    Case
    NZXT H710i Black
    Cooling
    NZXT Kraken Z63
    Keyboard
    Corsair K70 LUX RGB Blue
    Mouse
    Corsair Scimitar PRO RGB
    Internet Speed
    75 Mbps Up/Down
    Browser
    Mozilla Firefox
    Antivirus
    Windows Defender

glasskuter

Well-known member
Power User
VIP
Local time
2:43 AM
Posts
1,535
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
I know you don't want to reinstall but rarely does an error tell us specifically as this one did that a reset of the PC is necessary. In my opinion, since this is app related, a 'reset and keep files& apps' won't work but would require a reset to OOB which would erase everything, just like a clean install.

If it was mine, I would backup my personal files and start 100% clean with a clean install. May I suggest once you get your system stable and set up the way you want that to use some kind of backup solution that can protect you in the future. Clean Install Windows 11 Tutorial
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium
Top Bottom