Windows 10 Setup Script is a PowerShell script that can disable a lot of unnecessary features without affecting the functionality of the Operating System. All users want their computer to run as smoothly as possible, with the best speed, performance, and features. The Windows 10 Setup Script is especially useful for users who have just installed Windows 10. Right now, this script is only made for the following versions of Windows 10:

Version 1903Version 1909Version 2004Version 1809 LTSCVersion 21H1

The customized script focuses on the following critical aspects of Windows, among others:

Setting up user privacyTurning off scheduled tasksRemove OneDrive without affecting Windows performanceCustomize and set up User InterfaceModify Personalization settingsSwitch off Windows featuresSchedule a regular Cleanup taskAdd exclusion files and folders to Windows Defender Antivirus scanningRemove all unnecessary pinned tiles from the Start Menu and pin only wanted tiles

Let’s move on to how to use the script.

Optimizing the OS using Windows 10 Setup Script

The open-source script is available to download on this page. Click on the Code drop-down menu and then click on Zip to download the zip file.

Once downloaded, extract the file and navigate to the extracted folder. This folder contains the scripts to the versions stated above with their respective names. Right-click on the file with the name of the version you have, and select Open with in the context menu. Select any editing tools of your choice.

The script starts with a synopsis and a description of itself. It is in your interest to read through those before moving ahead with the script. You may then continue down the script and carefully assess what features you wish to enable, and what to disable. It is not necessary for a System Administrator to do so as each step starts with a comment that explains the function of the following few commands. Note that this is a time-consuming and delicate process.

Significant features of the script to look at

As the script addresses about 150 features of Windows 10, here are a few we might think are important enough to get your attention.

You can choose to create a restore point before moving ahead with the modification of Windows. This step is recommended as any accidental changes can be later reverted by restoring the system to this point. If you wish to bypass this part, simply comment-out the shown commands in the script.You can also set the theme of the OS using this script. If you wish to leave it with default settings, just comment out the area below.If you do not use OneDrive, it can also be uninstalled using the safe method, without disrupting any other files on the computer. The portion of the script shown below controls that area and can be used to uninstall OneDrive.If you are too conscious about disclosing your personal information, the following single-line command can turn off your device location forcefully.The Start Menu is also fully customize-able through various portions of the scripts, such as unpinning all existing tiles, pinning new tiles, changing its theme, etc.

You are now done optimizing your Windows 10 from the very beginning. What modifications do you make to your Windows 10 right after installation? You can also speed up Windows 10 by disabling background apps. Also see:

How To Optimize PC Startup To Speed Up Windows Boot TimeHow to Block Apps Using AppLocker in WindowsHow To Customize Windows 10/11 Without Activating ItHow to Use File History And Backup & Restore In Windows 10What Is ViVeTool And How To Use It