Run Windows 10 Setup Script After Installation To Customize The OS - Ghacks Tech News
Run Windows 10 Setup Script After Installation To Customize The OS - Ghacks Tech News
Run Windows 10 Setup Script After Installation To Customize The OS - Ghacks Tech News
Windows 10 Setup Script is a PowerShell script designed to be run right on the first run after Windows 10 was installed and set up on a
computer. The main idea behind the script is to give administrators ample options to customize the experience, e.g. by modifying
privacy related settings, making other tweaks, or removing built-in applications.
Note: Windows 10 Setup Script is an advanced script that should not be run on Windows 10 installations that are not new. Additionally,
since it can potentially change many settings and options on the system, it is advised to create a backup before you run the script.
Tip: check out our overview of privacy tools for Windows 10.
Once you have downloaded and extracted the right version, it is necessary to open the script in a text editor or PowerShell IDE as it
needs to be configured before it should be run. While you can, in theory, run the script and use all of the defaults, it is better to go
through the script to enable or disable the options to be in line with your expectations.
Users who cannot read PowerShell scripts may still do that as documentation is provided in the form of comments. Still, it is best suited
for advanced users who will feel more comfortable doing that. The Windows 10 version 2004 script has a total of 3488 lines and that
takes some time to go through, even if you are an advanced user.
So, what modifications does the script support? Among others (the full list is here):
https://www.ghacks.net/2020/08/19/run-windows-10-setup-script-after-installation-to-customize-t… 1/3
19/08/2020 Run Windows 10 Setup Script after installation to customize the OS - gHacks Tec…
Change location of the user folders programmatically (without moving user files) within interactive menu using up/down arrows and
Enter key to make a selection
Uninstall UWP apps from all accounts with exception apps list with pop-up form written in WPF
Three shortcuts are preconfigured to be pinned: Control Panel, "old style" Devices and Printers, and Command Prompt
Turn on Controlled folder access and add protected folders using dialog menu
Add exclusion folder from Microsoft Defender Antivirus scanning using dialog menu
Add exclusion file from Microsoft Defender Antivirus scanning using dialog menu
Refresh desktop icons, environment variables and taskbar without restarting File Explorer
All you need to do is use comments // to enable or disable certain tweaks in the script. Just place these in the front of commands to skip
them when the script is run. Save the script once you have modified it.
Now it is necessary to run it on the system. This requires that you set the execution policy to bypass as Windows 10 will refuse to run
the script otherwise.
1. Open an elevated PowerShell prompt, e.g. by displaying the "secret" menu with Windows-X and selecting the option.
The program may display some choices to you, e.g. a list of apps to uninstall, depending on your editing of the script.
Closing Words
Windows 10 Setup Script is an advanced tool for advanced users and system administrators who want to modify new installations of
Windows 10 right from the get-go. It takes quite a bit of preparing as you need to go through the script to make sure that everything is
set up according to the needs before the script is run.
All in all, a great tool for advanced users who want to modify the system heavily.
Summary
Author Rating
4 based on 7 votes
Software Name
Operating System
Windows 10
Software Category
Administration
Landing Page
https://github.com/farag2/Windows-10-
Setup-Script
https://www.ghacks.net/2020/08/19/run-windows-10-setup-script-after-installation-to-customize-t… 2/3
19/08/2020 Run Windows 10 Setup Script after installation to customize the OS - gHacks Tec…
Advertisement
Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things
tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter
Previous Post: « Microsoft, why is it still not possible to move all Windows apps to another location?
Next Post:
ABOUT GHACKS
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news
sites on the Internet with five authors and regular contributions from freelance writers.
About
RSS Feeds
Legal Information
Terms of use
Privacy Policy
Cookie Policy
Cookie settings
We Use
Martin Brinkmann
Mike Turcotte
Ashwin
The name and logo of Ghacks are copyrights or trademarks of SOFTONIC INTERNATIONAL S.A.
Copyright SOFTONIC INTERNATIONAL S.A. © 2005- 2020 - All rights reserved
https://www.ghacks.net/2020/08/19/run-windows-10-setup-script-after-installation-to-customize-t… 3/3