HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Disassembler0
Win10-Initial-Setup-Script
PowerShell2017–2024
Disassembler0 / Win10-Initial-Setup-Script · Archived

Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019

14Distinct people
23Mentions
2Explicit recommenders
4.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

As a long time Windows user, I highly recommend using this to turn off the useless crap. https://github.com/Disassembler0/Win10-Initial-Setup-Script

derac used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 6:01:08 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year23 dated mentions

Observed mentions: 2017-02-09 07:21:45 UTC to 2024-04-26 03:19:21 UTC.

0369122017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 11 mentions; 1 submissions, 10 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC11110
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC404
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC312
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

11 sources
5. I police my startup items so that's correct, I've never had this issue. But yeah I know about Autoruns; that's an option too. Are you saying that since it's not built into Windows then it shouldn't count? I don't really agree. It's not like other popular OSes have such tools built in either. And Autoruns is even first-party since Sysinternals was acquired by Microsoft. 6. Yes it can. My current Windows 10 system has been installed since March. I disabled the store immediately and no update since then has restored Windows Store or any Store app. You can uninstall the Store (https://github.com/Disassembler0/Win10-Initial-Setup-Script/...) or just disable access/updates through group policy (https://i.imgur.com/ZRxbwNt.png).
In Why Windows 10 Sucks or Everything Wrong with Microsoft Windows
I'm no Windows fanboy but there's a lot of misinformation here. In the spirit of bullying the reader with a big list of points, here are some examples of incorrect claims in TFA: 1. It's not hard to disable Cortana and internet-assisted start menu search completion. I assume that's what they mean by "keyboard scanning and voice recording" because I don't think there's anything else like that in the OS. It is possible to disable telemetry. In general Windows 10 does come with a ton of cruft but it can be disabled with e.g. https://github.com/Disassembler0/Win10-Initial-Setup-Script 2. Disk fragmentation hasn't been an issue for awhile. Defrag runs as a scheduled task in all versions of Windows 10. 3. I like UAC. The article claims that giving users a dialog box to permit admin access is good for malware, but the alternative is taking admin
Read the rest
away from users altogether on their own computers. I don't think this is an acceptable tradeoff. 4. Windows has arguably the best plug-and-play driver support of any operating system. It's not hard to find drivers as the article claims. 5. The article claims that it's difficult to figure out why your startup is so slow, but task manager has a "Startup" tab now which tells you which startup items are consuming a lot of CPU at login. 6. The article claims that you can't disable Windows Store apps, Windows tips, and ads in the start menu. That's untrue. I don't even have Windows Store installed as a Windows component, I have no idea what "Windows tips" even is, and my start menu is devoid of ads https://i.imgur.com/xy69BWe.png I think Windows is pretty bad and most users would probably be better off running Lubuntu or something, but there's no need to resort to exaggeration to make that case.
In Why Windows 10 Sucks or Everything Wrong with Microsoft Windows
On Windows 10, I didn't use Mixed Reality or 3D printing or Xbox stuff or … So, I really wanted an image with non-essential items removed. I also don't like unnecessary items in my Start menu. Summary of steps are: A) Create Windows image with stuff I don't want removed B) Create Windows settings and clean up script C) Clean install using step A but do it with a local account [1] D) Clean up Windows using script from step B E) Rename PC F) Connect to Microsoft account - this will bring over settings from your other Windows PC(s) F) Install software using Chocolatey Over time, as I make further changes to my setup, I usually apply them manually and then incorporate them into either step A or step B. Steps for A: A1) Download ISO from Microsoft. For an example on how to do this, see instructions at: https://pureinfotech.com/download-windo
Read the rest
ws-10-iso-without-media-creation-tool/ A2) Create script for removing unnecessary items and then apply them to the Windows ISO image from step A1. I use: https://github.com/DrEmpiricism/Optimize-Offline to modify the Windows ISO image. A3) Use Rufus or similar tool to create bootable USB drive from image from step A2. A4) Clean install Windows. A5) When creating the image in step A2, you can add scripts that end up in c:\windows\setup\scripts. Run these scripts Steps for B: B1) Use script from https://github.com/Disassembler0/Win10-Initial-Setup-Script and customize it to your liking [1]: If you install with a Microsoft account, your user directory is the first five letters/numbers of your Microsoft account. When installing using a local account, the local account name, in its entirety is used. edit1: fixed formatting.
In Ask HN: What are the first things you do on a new Windows 10 PC? Any checklists?
This project is well-maintained (and extensively forked). It helps you turn all of that crap off. https://github.com/Disassembler0/Win10-Initial-Setup-Script I actually bought a Windows 10 Pro for Workstations license because I thought it would let me cleanly install Windows with just a power user set of functionality and none of that XBox / Candy Crush rubbish. Turns out that used to be true, but no longer. Unless you can find a very particular range of old build images on the dark recesses of the Internet you have to do a standard Windows 10 Pro install and then "upgrade" it to Workstations.
In Microsoft begins work on its 2020 Windows releases in new preview
Zeetah·Jan 2, 2019Submission

Ask HD: Tools for setting up new installation of Windows 10

I would like to get rid of all the cruft: * Cortana, Store, Weather, Xbox, Mixed Reality Portal, etc. * Turn off telemetry * Configure privacy settings * Configure User Interface elements * Install Software After much searching, I found this script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ I was wondering if there are other tools people are using. Chocolatey and Ninite seem to be good ways to install software but not clean up / configure Windows.
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.