OSD – Remove Builtin Apps from Windows 10

For those not using LTSB but still want to remove all those builtin apps that come with Windows 10, the following script is what you need!

This will blanket remove all apps unless in the $WhiteListedApps array.

To get a list of the apps you need to run:

Copy the value in the “Name” Column into the $WhiteListedApps array to ensure its not removed. Some apps may be dependant on other apps, so make sure you test thoroughly!

Once you are happy, save it to a sub-folder where you keep your Source files and create a new ConfigMgr package without a a program. Once created, edit it and under the Data Souece tab enter the path to the folder you created above. Deploy it to your DPs.

Now edit your task sequence and create a new powershell step as shown here

And there you go! If you’ve done it right, then only the whitelisted apps will be installed on the target machine.

 

(I cannot take credit for the script – that honour goes to SCConfigMgr)

Share

6 thoughts on “OSD – Remove Builtin Apps from Windows 10

  1. Michael

    This is exactly what I need thanks for this. Looking at your task sequence. Can I ask how you hide the people application?

    Reply
  2. Michael

    Cheers I’ll have a look. Would you be able to share with me the default user registry step so I can have a look at what steps you do? I understand I might be pushing my luck!

    Reply
    1. Craig Wilson Post author

      Yeah its not a problem – its a simple “Run Command Line” with the following command:

      cmd.exe /c reg.exe load HKU\DU C:\users\default\ntuser.dat

      Then, for each step you do “reg add “HKU\DU\ ” to inject settings you want and they’ll be apply to all users.

      Finally, close the key:

      cmd.exe /c reg.exe unload HKU\DU

      I’ll try and do a proper write up later on.

      Reply
  3. Michael

    Cheers, thats great. What are the reg settings for people?

    Reply
    1. Craig Wilson Post author

      cmd /c reg add HKU\DU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People /v “PeopleBand” /t REG_DWORD /d “0” /f

      Just need to place the step between your reg key load/unload steps

      Reply

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.