web analytics

Home » ConfigMgr » OSD – Remove Builtin Apps from Windows 10

Search

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)

6 Comments

  1. 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!

    • 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.

    • 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

Leave a comment

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.

%d bloggers like this: