Stop Windows 10 Enterprise / Windows 10 Pro from advertising or installing unwanted apps

 (modified 

)

This is an updated and shorter version of the previous article How Windows 10 Pro installs unwanted apps (Candy Crush, Twitter, Minecraft, Flipboard, Photoshop Express, …) and how to stop it.

By default Windows 10 Pro and even Enterprise advertise and install unwanted apps, such as Candy Crush, etc. There are many guides on how to stop Windows 10 from doing so, but most of them are not recommended in a business environment or simply won’t work (see previous article). In this article I will describe how to prevent Windows 10 from advertising or installing unwanted apps in a clean and reversible way.

How Windows 10 installs unwanted apps

Before we begin I’d like to explain how Windows 10 installs those bloatware apps and clean up with a common misconception: Windows 10 does not ship with Candy Crush or other unwanted bloatware apps. They are not included on the disc, in the ISO or most OEM computers. Instead, they are downloaded by a special tile in the start menu named Targeted Content Tile or Dynamically Inserted App Tile.

When you sign in the first time on a new computer, Windows will create the Start menu layout from a template saved at C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\DefaultLayouts.xml. The file contains multiple layouts and Windows chooses a layout based on the edition (SKU), region and computer settings. If you take a look into the file, you’ll see a number of <StartLayout> elements. Our goal is to have Windows choose a layout without Targeted Content Tiles or Dynamically Inserted Content Tiles. Basically every <StartLayout> template with either the attribute PreInstalledAppsEnabled="false" or without the attribute TargetedContentTilesEnabled="true".

The first time you click on Start after signing in – provided you have internet access – the Targeted Content Tiles then query Microsoft for the content they must display. The tile will then preload or install the app.

Getting rid of the Targeted Content Tile

To conclude the previous section, the only thing you really need to do is to get rid of the Targeted Content Tile in the Start menu. You can do this in multiple ways. Some of them only work with the Enterprise edition. But they have in common that the settings must be set before the user signs in the first time.

Via Group Policy

Change the following setting to Enabled:
Computer Configuration/Administrative Templates/Windows Components/Cloud Content/Turn off Microsoft consumer experiences

This also deactivates Suggested Apps in Start.

Works only with Enterprise or Education editions. Run gpupdate or restart your computer after the change.

Via Registry

Load the Default user’s registry and change SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\PreInstalledAppsEnabled to 0.

New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS

reg load HKU\DefaultUser "C:\Users\Default\NTUSER.DAT"

$regHKUPath = "HKU:\DefaultUser\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\"
Set-ItemProperty -Path $regHKUPath -Name PreInstalledAppsEnabled -Value 0
# You can also set OemPreInstalledAppsEnabled to 0 if you like.
# Set-ItemProperty -Path $regHKUPath -Name OemPreInstalledAppsEnabled -Value 0
reg unload HKU\DefaultUser

Remove-PSDrive -Name HKU
Code language: PHP (php)

This works with all editions. You can apply the script to an offline image, just make sure you change the $profile variable to point to the mounted image’s default user profile.

Manually

On existing user profiles, simply right-click all Targeted Content Tile and choose Uninstall. Alternatively you can uninstall all unwanted apps via Settings > Apps.

Suggested Apps

Disabling Suggested Apps works also for existing user profiles.

Via Group Policy

Change the following setting to Enabled:
Computer Configuration/Administrative Templates/Windows Components/Cloud Content/Turn off Microsoft consumer experiences

This also removes Targeted Content Tiles in Start for new user profiles.

Works only with Enterprise or Education editions.

Via Registry

Load the Default user’s registry and change SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\SystemPaneSuggestionsEnabled to 0.

New-PSDrive -PSProvider Registry -Name HKU -Root HKEY_USERS

reg load HKU\DefaultUser "C:\Users\Default\NTUSER.DAT"

$regHKUPath = "HKU:\DefaultUser\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\"
Set-ItemProperty -Path $regHKUPath -Name SystemPaneSuggestionsEnabled -Value 0
reg unload HKU\DefaultUser

Remove-PSDrive -Name HKU
Code language: PHP (php)

This works with all editions. You can apply the script to an offline image, just make sure you change the $profile variable to point to the mounted image’s default user profile.

Manually

On existing user profiles, go to Settings > Personalization > Start and disabled Show suggestions occasionally in Start.

Comments

10 responses to “Stop Windows 10 Enterprise / Windows 10 Pro from advertising or installing unwanted apps”

  1. Mark L Avatar
    Mark L

    When running the Set-ItemProperty commands I got the following error:

    “Set-ItemProperty : Cannot find path ‘HKU:\UserHive\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\’ because it does not exist.”

    But the commands prior to that ran fine.

    1. Daniel Avatar
      Daniel

      There was a Typo in the script. Thanks for bringing it to my attention. It should work now.

      1. Mark L Avatar
        Mark L

        Ah perfect, script runs fine now. Just have to test it to see if it survives a sysprep

        1. Mark L Avatar
          Mark L

          It does survive a sysprep. Awesome! Thanks again for this

          1. Daniel Avatar
            Daniel

            You’re welcome!

  2. Mark L Avatar
    Mark L

    Also, in the Suggested Apps section, you need a space before the Value option in the line:

    Set-ItemProperty -Path $regHKUPath -Name SystemPaneSuggestionsEnabled-Value 0

    Thanks,

    Mark

    1. Daniel Avatar
      Daniel

      Thanks!

  3. Basavaraj Chougala Avatar
    Basavaraj Chougala

    Dear Sir(Daniel),

    I am confused and frustrated with these Inbuilt Apps in windows 10. Just Now I have uninstalled ALL Inbuilt Apps in the current of Administrator. Then Thereafter, I have created 2 more user Accounts in same Windows 10. But These 2 User Accounts showing again ALL Inbuilt APPs in its Accounts.. Even I tried to open One App ( For Example : Skype) . It is opening here again on Both User Accounts..

    Sir, Could you please tell me and explain it more in detailed way. It is my humble request to you to do help in this regard as early as possible.

    Heartily Thanking you,

    Warm Regards,

    Basavaraj, From India.

  4. macmillan hanry Avatar
    macmillan hanry

    Dear Sir,

    I have made changes in registry Editor using Inbuilt Administrator Account >>
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager

    SilentInstalledAppsEnabled” set the “Value Data” as 0.

    But It is applying on Current User Account Only Not in ALL Local User Accounts.

    is there any script or Any Options…. Using Administrator Account, could it be applied or set to All Local User Accounts?

    I am actually confused and got frustrated about this issue. So I am kindly requesting you to help me please.

    Kind Regards,

Leave a Reply to Basavaraj Chougala Cancel reply

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