[BUG] Corresponding registry entries are not removed when some Appx packages are deleted

GeekDuanLian

New Member
Messages
5
Reaction score
2
I removed the following applications:

microsoft.advertising.xaml
microsoft.services.store.engagement


However, AppReadiness reported errors:

Installation of "Microsoft.Advertising.Xaml_8wekyb3d8bbwe" for S-1-5-21-2971998178-3124520558-1323473603-1000 failed. Error: "Package not found." (0 seconds)
Appx operation "StageUserDataAsync" on "Microsoft.Advertising.Xaml_10.1808.3.0_x64__8wekyb3d8bbwe" for user "S-1-5-21-2971998178-3124520558-1323473603-1000" failed - Windows cannot perform the StageUserData operation because it cannot find Microsoft.Advertising.Xaml_10.1808.3.0_x64__8wekyb3d8bbwe in the repository. Please ensure Microsoft.Advertising.Xaml_10.1808.3.0_x64__8wekyb3d8bbwe is staged or installed by another user. (Error: Package not found.)
Installation of "Microsoft.Services.Store.Engagement_8wekyb3d8bbwe" for S-1-5-21-2971998178-3124520558-1323473603-1000 failed. Error: "Package not found." (0.0306811 seconds)
Appx operation "StageUserDataAsync" on "Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe" for user "S-1-5-21-2971998178-3124520558-1323473603-1000" failed - Windows cannot perform the StageUserData operation because it cannot find Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe in the repository. Please ensure Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe is staged or installed by another user. (Error: Package not found.)


I searched the entire registry and found that these entries should have been deleted because the corresponding files no longer exist:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Advertising.Xaml_10.1808.3.0_x64__8wekyb3d8bbwe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Services.Store.Engagement_10.0.18101.0_x64__8wekyb3d8bbwe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe


After I deleted these entries, AppReadiness no longer reported errors.

Tested on NTLite 2025.04.10406 (latest version), Windows 10 22H2 19045.5737
 
I searched the entire registry and found that these entries should have been deleted because the corresponding files no longer exist:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Advertising.Xaml_10.1808.3.0_x64__8wekyb3d8bbwe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Services.Store.Engagement_10.0.18101.0_x64__8wekyb3d8bbwe
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\Microsoft.Services.Store.Engagement_10.0.18101.0_x86__8wekyb3d8bbwe
I don't have these keys on W11 24h2, deleted with another component surely

Or deleted when components are removed in image (and not in Live maybe)
We had already encountered "this difference" in the past
 
Last edited:
I don't have these keys on W11 24h2, deleted with another component surely
microsoft.advertising.xaml dosn't exist in Win24H2.
OP mentioned Windows 10 22H2 19045.5737 witch'll end support in oktober 2025.
Running a regcleaner after install could maybe solve the problem - ie. ccleaner witch get more and more aggressively greedy on users for the payed version on the free version after Avast take over Piriform.
 
But not the Microsoft.Services.Store.Engagement keys either
It's related to Component: Microsoft Engagement Framework which apparently is related to MS Store.
Maybe for opening MS Store (if installed) and update the Apps installed with the chosen Windows version installed which is way less more timeconsuming after install than update AppX packets downloaded and integrated in NTL for the apps kept in an image working on.
But i understand there's different ways to solve this.
 
You should not remove any Framework (dependency) apps unless you remove all main apps
 
You should not remove any Framework (dependency) apps unless you remove all main apps
By removing Microsoft.Services.Store.Engagement for example, Notepad, Paint, WMP, etc... will work ;)
Just make sure to keep the dependencies
 
Microsoft.Advertising.Xaml is required by a few default Apps like BingNews and BingWeather.
Microsoft.Services.Store.Engagement may be used by some 3rd-party apps to push content (ie. game add-ons).

If you don't know an Appx package's dependencies, then open the AppxManifest.xml for the actual app and not the parent AppxManifest.xml for the package bundle.
 
By removing Microsoft.Services.Store.Engagement for example, Notepad, Paint, WMP, etc... will work ;)
Just make sure to keep the dependencies

Yes
but dependencies are too size-small to consider or overthink about it :)
 
Back
Top