How to prevent removed Windows apps from returning during/after an update

What?

Yes …
You might remember the bug that was present until Windows 10 1709 which caused removed UWPs to return after a feature update. You can read about it here.

Now this bug is pretty old and already fixed, but I ran across a problem which can be fixed the same way.

The Circumstances

The systems which should be updated are running Windows 10 1809.
They all were installed through SCCM/MDT using a captured image.
In this image all unwanted UWP were already removed by using my Remove-UWP PowerShell script which takes care of the needed regkey.
Also, the image was created the usual way: boot the reference machine in audit mode, apply all changes, install/remove software/features, sysprep and create the wim-file using dism.

Nothing sounds wrong, right?
Well, beside the fact, that during the sysprep process the whole regkey which holds the removed UWP gets cleared.
There were no more subkeys below “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned” and therefore all the UWP were back after installing the 20H2 feature update.

You know what I did, I simply added the regkeys before applying 20H2.
If you ran in such a problem, I hope you didn’t spend too much time finding the culprit and the solution.

Was this helpful?

1 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.