explaingit

disassembler0/win10-initial-setup-script

4,652PowerShellAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

An archived PowerShell script that applies a batch of Windows 10 privacy tweaks, service changes, and UI preferences in one go after a fresh install, with a matching undo function for every change.

Mindmap

mindmap
  root((win10-setup))
    What it does
      Automate Windows tweaks
      Bulk apply settings
      Reverse changes
    Categories
      Privacy settings
      Telemetry off
      Service changes
      UI defaults
    Use cases
      Fresh installs
      After Windows updates
      Custom presets
    Tech
      PowerShell
      Windows 10
      Admin required
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run a single script after a fresh Windows 10 install to apply privacy and UI tweaks in bulk instead of clicking through settings menus

USE CASE 2

Re-run the script after Windows updates silently reset preferences back to Microsoft defaults

USE CASE 3

Fork and customize preset files to create a personal Windows configuration profile you can reapply to new machines

USE CASE 4

Use the undo functions to reverse individual tweaks without reinstalling Windows

Tech stack

PowerShell

Getting it running

Difficulty · easy Time to first run · 5min

Requires running as Administrator, some tweaks lower security or remove built-in Windows features, read each function before applying.

Use, modify, and distribute freely for any purpose, including commercially, as long as you keep the copyright notice.

In plain English

This is an archived PowerShell script that automates the configuration steps many people do after a fresh Windows 10 or Windows Server 2016/2019 installation. Rather than clicking through settings menus one by one, you run the script and it applies a collection of tweaks in bulk. The author has stopped maintaining it after switching to Linux. The script covers things like adjusting privacy settings, disabling telemetry and data collection, turning off certain background services, changing UI defaults, and other adjustments aimed at making the system feel less intrusive. It is not described as a comprehensive Windows hardening or anti-tracking tool, but rather a personal set of preferences automated into code. To use it, you download the release archive, double-click a preset file, and confirm the administrator prompt. The script runs with elevated privileges. For each tweak it applies, there is also a corresponding function to reverse the change and restore the Windows default, so adjustments can be undone individually rather than requiring a full reinstall. The script can be run more than once, which is useful because some Windows updates silently reset settings back to Microsoft defaults. It also accepts command-line parameters and supports custom presets, so you can enable or disable individual tweaks rather than running everything. The README is explicit that some tweaks lower security or remove built-in features, and it warns users not to run the script if they do not understand what each function does. The code is MIT-licensed, so others can fork, modify, and distribute it freely. The author requests no contact about the project.

Copy-paste prompts

Prompt 1
I just did a fresh Windows 10 install and want to run this setup script. Which preset file should I use, and how do I run it safely with administrator privileges?
Prompt 2
A Windows update reset some of my privacy settings. Which functions in this script should I re-run, and how do I run only specific tweaks instead of everything?
Prompt 3
I want to fork this script and add my own tweaks. Show me the structure of a custom preset file and how to call a custom function from it.
Prompt 4
Some tweaks in this script reduce security. How do I identify which ones are risky before running the script?
Open on GitHub → Explain another repo

← disassembler0 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.