Windows 10 Setup
Unless you are using Windows 10 long term service image the base windows 10 image has a lot off unwanted items and settings. We have created this scrip to help provision a windows 10 device for better professional use. This script is designed to be used in SCCM or MDT but it can also be ran independently. Some of the things our script can do are Remove built-in apps, set a power config profile, set a default start menu that the user can change, disable things like OneDrive and Cortana and config settings like remote desktop.
Some changes will take affect right away but others will require a reboot for you to be able to see. Also, part of the script are applied to the default user profile and so will only get applied when a new user logs into the device.
The script requires the user have admin rights that is running it.
How to Use the Script
The script has quite a few parameters to it allowing for a lot of customization and configuration. If something isn't covered here you can always run Get-Help .\Windows10Setup.ps1 -full to get more information about how to use the script.
Removing built in apps
If you have ever used windows 10 you have noticed there are a lot of built in windows 10 apps. As you may have seen some of these cant be uninstalled or they will sometimes come back when you upgrade to a new build. Our script allows you to remove those apps and stops them from coming back.
To do remove the apps run the script with the -RemoveApps parameter, There is a default list built into the script that will remove almost all apps other then the Photo viewer, Video player, weather app, sticky notes, paint and the calculator. If this is too much you can create a list of apps and specify it to the script by using the -AppToRemove parameter.
The app removal process can sometimes leave the start menu messy so it is recommended to also us the import start menu feature of the script.
Importing a start Menu layout
In windows 10 we have the ability to import a custom Start Menu for user if you do this with group policy the user is unable to edit the menu however with the scrip you can import the menu to the default user profile and this allows the user to edit it anyway they would like. To export the layout first arrange the Start Menu how you would like then run our script with the -ExportStartMenu parameter.
After you have the exported start menu lay out you can import so that all users will get the same layout when they first log into the device. To import the start menu run the script with the -StartMenu parameter pointing it to the path of the xml file. Since the Menu gets applied to the default profile we recommend if you are setting up a computer for the first time to log into the computer with a temp profile before login in with your real account.