How can I stop Win 11 22H2 to auto install unnecessary Apps?


11user11

New member
Local time
9:59 PM
Posts
4
OS
11
Hello,

I tried to look up online and couldn't find any solutions for this new issue.

We make templates of the latest Win 11 OS so we can create VMs out of it.

When making the template of the new Win 11 22H2, I'm having issue.

It had automatically installed all the unnecessary stuff:

1664807049394.png

I tried to remove the apps using any bloatware program, then it comes back like this, after SysPrep:

1664807605360.png

It says "A great app is on it's way!". So when we connect to Internet, it downloads those crap apps again. Not sure why on the earth Microsoft forcing to install Tiktok/Disney+/Instagram/Facebook.. for an Enterprise version of Windows.

If I try to remove the Microsoft.DesktopAppInstaller which installs these apps automatically during startup. I'm unable to do SysPrep as I'm getting an error:

2022-10-03 10:19:13, Error SYSPRP Package Microsoft.DesktopAppInstaller_1.18.2091.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2022-10-03 10:19:13, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

I've tried removing Microsoft.DesktopAppInstaller via PowerShell:
1664807323489.png

Please advise.
Thanks
 

My Computer My Computer

At a glance

11
OS
11
Interesting, since Windows 10 first came out as a free upgrade for Windows 7 I used DISM to de provision all those sort of 'fluff' apps, Candy Crush, Solitaire, Disney etc, from that day on they have never been re installed, over several builds of Win10 and into Win11, even when using the Media Creation Tool to clean install to a blank disk.
I am now on Win 22h2, clean installed using the Media Creation Tool to a wiped disk (all partitions removed, as is usual for me with a new build of the OS), still no re install of the apps I have previously used DISM to nuke way back in Win10.
Maybe it is due to the way Sysprep configures the image compared to the way the OOBE normally runs, have you looked into using DISM to both de provision the unwanted apps and create your image templates?
 

My Computer My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
OS
Windows 11 Pro 22H2, build: 22621.521
Computer type
PC/Desktop
Manufacturer/Model
Scan 3XS Custom 1700
CPU
Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
Motherboard
Asus ProArt Creator B660 D4
Memory
64GB DDR 3600Mhz
Graphics Card(s)
Asus Tuff RTX 3080 10GB OC
Sound Card
Onboard Realtek
Monitor(s) Displays
Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
Screen Resolution
2560 x 1440p & 1920 x 1080p
Hard Drives
WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
PSU
Corsair RM1000X Modular
Case
Corsair 4000D Airflow Desktop
Cooling
Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
Keyboard
Microsoft Ergonomic
Mouse
Logitech G402
Internet Speed
800Mbs
Browser
Edge Chromium
Antivirus
Defender, Malwarebytes
Interesting, since Windows 10 first came out as a free upgrade for Windows 7 I used DISM to de provision all those sort of 'fluff' apps, Candy Crush, Solitaire, Disney etc, from that day on they have never been re installed, over several builds of Win10 and into Win11, even when using the Media Creation Tool to clean install to a blank disk.
I am now on Win 22h2, clean installed using the Media Creation Tool to a wiped disk (all partitions removed, as is usual for me with a new build of the OS), still no re install of the apps I have previously used DISM to nuke way back in Win10.
Maybe it is due to the way Sysprep configures the image compared to the way the OOBE normally runs, have you looked into using DISM to both de provision the unwanted apps and create your image templates?
Hi DigitalGoat. Thanks for the info. Anyway I can get the steps you're following to build your image by using DISM? Please note that, I'm trying to make a VM templates. So I can deploy/create new VM for users. We also use the "VMware OS Optimization Tool" for optimization.
 

My Computer My Computer

At a glance

11
OS
11
This thread here on tenforums Create Windows 10 ISO image from Existing Installation would probably be a good starting point, it is not something I do myself.
I do read the posts with interest and your issue just made me think of tutorials I have read by that author, pretty sure the author is still active on elevenforums, thinking it might be of help to you if you could create a custom golden image to apply to your VM templates.
 

My Computer My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
OS
Windows 11 Pro 22H2, build: 22621.521
Computer type
PC/Desktop
Manufacturer/Model
Scan 3XS Custom 1700
CPU
Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
Motherboard
Asus ProArt Creator B660 D4
Memory
64GB DDR 3600Mhz
Graphics Card(s)
Asus Tuff RTX 3080 10GB OC
Sound Card
Onboard Realtek
Monitor(s) Displays
Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
Screen Resolution
2560 x 1440p & 1920 x 1080p
Hard Drives
WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
PSU
Corsair RM1000X Modular
Case
Corsair 4000D Airflow Desktop
Cooling
Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
Keyboard
Microsoft Ergonomic
Mouse
Logitech G402
Internet Speed
800Mbs
Browser
Edge Chromium
Antivirus
Defender, Malwarebytes
This thread here on tenforums Create Windows 10 ISO image from Existing Installation would probably be a good starting point, it is not something I do myself.
I do read the posts with interest and your issue just made me think of tutorials I have read by that author, pretty sure the author is still active on elevenforums, thinking it might be of help to you if you could create a custom golden image to apply to your VM templates.
Whilst @Kari is still active, he has not been able to devote as much time as he used to, for personal reasons, so it may take a while to get a reply.
 

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
OS
Windows 11 Pro + Win11 Canary VM.
Computer type
Laptop
Manufacturer/Model
ASUS Zenbook 14
CPU
I9 13th gen i9-13900H 2.60 GHZ
Motherboard
Yep, Laptop has one.
Memory
16 GB soldered
Graphics Card(s)
Integrated Intel Iris XE
Sound Card
Realtek built in
Monitor(s) Displays
laptop OLED screen
Screen Resolution
2880x1800 touchscreen
Hard Drives
1 TB NVME SSD (only weakness is only one slot)
PSU
Internal + 65W thunderbolt USB4 charger
Case
Yep, got one
Cooling
Stella Artois (UK pint cans - 568 ml) - extra cost.
Keyboard
Built in UK keybd
Mouse
Bluetooth , wireless dongled, wired
Internet Speed
900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
Browser
Edge
Antivirus
Defender
Other Info
TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)
Hi @DigitalGoat.

Just wanted to let you know I followed the instructions using DISM to deprovision the unnecessary apps.

Same result:

1664904888076.png

However it did remove other apps which I was able to remove it by any bloatware removal process earlier:

1664904782866.png

I followed this video:


Step 1:

First create two folders naming Mount and Image under C drive.


Step 2:

Copy all content from Windows 11 setup disk/ISO to "Image" folder


Step 3:

Before customize, we need to find the correct index number of the OS you want. Enterprise in my case.

dism /get-wiminfo /wimfile:G:\sources\install.wim

Index : 3
Name : Windows 11 Enterprise
Description : Windows 11 Enterprise
Size : 16,395,906,853 bytes


Step 4:

Now we need to mount the correct source file for editing:

dism /mount-wim /wimfile:C:\Windows11\image\sources\install.wim /mountdir:C:\Windows11\mount /index:3



Step 5:

Now we need to find out the available ProvisionedApps on that image.

dism /image:C:\Windows11\mount /Get-ProvisionedAppxPackages > c:\Windows11\apps.txt



Step 6:

Remove the apps from the list which you want to keep.


Step 7:

Remove the unwanted apps from the "Image" using the following command:

dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Package Name

Post removal content (Items need to be removed):

dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_3.2204.14815.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.53.33420.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2022.310.2333.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GamingApp_2021.427.138.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.2201.421.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_2021.2204.1.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.43012.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEVCVideoExtension_1.0.50361.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.2204.1141.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.12.3171.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_4.2.2.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2020.901.1724.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.PowerAutomateDesktop_10.0.3735.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.RawImageExtension_2.1.30391.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_12008.1001.113.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Todos_2.54.42772.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.42192.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.42351.0_x64__8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.14326.20544.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2022.106.2230.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2022.2202.6.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsTerminal_3001.12.10983.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28004.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.47.2385.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.622.3232.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_1.22022.147.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_11.2202.46.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.22020.10021.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.QuickAssist_2022.414.1758.0_neutral_~_8wekyb3d8bbwe
dism.exe /image:C:\Windows11\mount /Remove-ProvisionedAppxPackage /PackageName:MicrosoftWindows.Client.WebExperience_421.20070.195.0_neutral_~_cw5n1h2txyewy

Step 8:

Unmount the Image --
dism.exe /unmount-wim /mountdir:C:\Windows11\mount /commit

Then I converted to a bootable ISO and installed it on a new template.


So I'm really curious how you build your Win 11 22H2 image without showing "A great app is on it's way".

Thanks
 

My Computer My Computer

At a glance

11
OS
11
I wonder if the difference for me is that I am logged in with an MS account not local when I de provisioned my unwanted apps?
Is it possible under a local account, maybe due to MS Store integration with the OS, that the apps are re installed because they are treated as missing rather than intentionally removed.

My theory was that if it works the same for you as it does for me then you could simply set up an OS, de provision the unwanted apps then use DISM again to create a hardware independant image of that customised Windows install for redeploy to VMs.
(The custom image and redeploy I don't need to do as each subsequent install 'remembers' the packages I have de provisioned previosly).

From your post it seems you removed the packages from the install.wim then used that to install Windows. The method I suggest is to install Windows, customise it, remove packages then use DISM to write that custom install to a deployable image.

To be honest this is just guess work on my part as I think I followed one of Kari's tutorials many years ago, but then decided Macrium served my needs better. However I do remember several tutorials by him and others on using DISM to create custom install images from existing Windows installs, hence why I pointed you in that direction.
 

My Computer My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
OS
Windows 11 Pro 22H2, build: 22621.521
Computer type
PC/Desktop
Manufacturer/Model
Scan 3XS Custom 1700
CPU
Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
Motherboard
Asus ProArt Creator B660 D4
Memory
64GB DDR 3600Mhz
Graphics Card(s)
Asus Tuff RTX 3080 10GB OC
Sound Card
Onboard Realtek
Monitor(s) Displays
Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
Screen Resolution
2560 x 1440p & 1920 x 1080p
Hard Drives
WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
PSU
Corsair RM1000X Modular
Case
Corsair 4000D Airflow Desktop
Cooling
Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
Keyboard
Microsoft Ergonomic
Mouse
Logitech G402
Internet Speed
800Mbs
Browser
Edge Chromium
Antivirus
Defender, Malwarebytes
Just wanted to post the solution here which I found from Reddit.

Can be done via Intune or GPO to turn of Microsoft Consumer Features

In Intune, its under device restrictions policies/ Windows Spotlight

Consumer Features set to Blocked
Third-party suggestions in Windows Spotlight set to blocked

Via GPO

Administrative Templates\Windows Components\Cloud Contents Turn off Microsoft consumer experiences set to enabled
Do not suggest third-party content in Windows spotlight set to enabled

I'd Enable all of them.

1667408008944.png


I can't believe I couldn't find this solution anywhere.
 

My Computer My Computer

At a glance

11
OS
11
I tried to look up online and couldn't find any solutions for this new issue.
You could download the latest free version of Revo Uninstaller Pro from here and remove the offending apps.

When installed and loaded, navigate to the 'Windows Apps' tab,

1.png

select the app(s) you wish to remove, hit the 'Uninstall' tab, select which operations you want to run, and finally hit the 'Continue' tab.

2.png

Reboot, and it is my experience that any deleted apps will not be re-installed.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 (Build 26200.9267)Intel Core Ultra 9 285 5.6 GHz32.00 GBIntel Integrated Graphics (128 MB)
OS
Windows 11 Pro 25H2 (Build 26200.9267)
Computer type
PC/Desktop
Manufacturer/Model
Dell Pro Max Tower T2 FCT2250
CPU
Intel Core Ultra 9 285 5.6 GHz
Motherboard
64-bit operating system, x64-based processor
Memory
32.00 GB
Graphics Card(s)
Intel Integrated Graphics (128 MB)
Sound Card
Realtek Audio
Monitor(s) Displays
Dell P2714H Monitor
Screen Resolution
1920 x 1080
Hard Drives
1 x 512GB M.2 XG10d SED KIOXIA PCIe solid state drive (Internal)
1 x 2TB Seagate ST2000DM008-2UB102 HDD (Internal)
1 x 4TB Seagate STGX4000400 External HDD
1 x 6TB WD Elements AE 2689 External HDD
PSU
500 Watts
Cooling
Air
Keyboard
Microsoft Wired Keyboard 600
Mouse
Microsoft USB Basic Optical Mouse v2.0
Browser
Firefox
Antivirus
Windows Defender + Malwarebytes Premium
Other Info
BaseBoard Manufacturer Dell Inc.
BaseBoard Product 022RY57
BaseBoard Version A01

Latest Support Threads

Back
Top Bottom