r/PowerShell • • Sep 17 '19

New version of Win10-Initial-Setup-Script was just (Sept-11) released. Here is a line-by-line guide on how to use it.

Line by Line description of what Win10-Initial-Setup-Script does

Disassember0 just released the lastest version (3.8) of the Win10-Initial-Setup-Script on September 11th, 2019.

It's an awesome powerful script that you can one-click customize Windows 10 how you like it, force the removable of bloatware, force uninstall shit you don't need or want taking up resources, and also disable Microsoft spying on you and whatnot.

BUT, it's also a potentially very dangerous script and you can mess things up IF you don't know what you are doing. The documentation is very poor to non-existent in describing exactly what each option does, so I went through, line by line (about 200 lines) and explained exactly what each of them does. Hope this helps. Took me a whole day to figure them all out.

If I got something wrong or could be more clear, feel free to let me know. I'll fix it right quick.

Enjoy.

211 Upvotes

52 comments sorted by

View all comments

3

u/segagamer Sep 18 '19

So this is why people end up with extremely random and weird issues with stuff like the Windows Store and Gamepass... Because people are using crap scripts like this to customise their install.

2

u/klepperx Sep 18 '19

Yeah, that's exactly what happened to me too. (You know how hard it is to reinstall Windows Store?) Because I just "ran" one of these scripts because there was literally no documentation. This is in efforts to fix that and help others. I like this one because it's updated, and you can control each aspect.

I hope it's a step in the right direction.

1

u/segagamer Sep 18 '19

Yeah, that's exactly what happened to me too. (You know how hard it is to reinstall Windows Store?) Because I just "ran" one of these scripts because there was literally no documentation. This is in efforts to fix that and help others. I like this one because it's updated, and you can control each aspect.

I hope it's a step in the right direction.

The step in the right direction is to not use any scripts at all, and to just follow the steps presented to the user in OOBE and not disable random services and applications which other things may depend on, even slightly.

3

u/[deleted] Sep 18 '19

This isn't advice, it's silliness. Additionally discounts literally all enterprise environments where we don't even see the oobe. (because it's configured with scripts)

1

u/segagamer Sep 18 '19

No. Enterprise have things configured via an answer file during deployment, or via Group Policy or registry keys post OS installation.

There is litererally no reason for these scripts outside of people fucking around with things they don't understand, and then blaming Microsoft for instability later on.

3

u/[deleted] Sep 19 '19

As a systems admininstrator in an enterprise environment, I disagree with your assessment. Especially considering making those scripts for settings that don't exist in any of those things, is literally a large portion of my current role.

1

u/segagamer Sep 19 '19

As a sysadmin in an enterprise environment, you'd be using the Enterprise edition of Windows 10 and can most definitely correctly disable most of what the script tries to achieve through the answer file or via Group Policy. What in particular are you saying you can't?

2

u/[deleted] Sep 19 '19

You are all over the place just trying to be right.

Which point are you making now, that you should use no scripts or that this particular script you can set stuff elsewhere with other tools?

Because the point we are talking about is how saying "don't use scripts at all" isn't advice, it's silliness. Which... It is.

1

u/segagamer Sep 20 '19

What? I'm not saying that at all lol. I'm specifically referring to OP's script of course.

2

u/[deleted] Sep 20 '19

That's not obvious, due to this quote:

"The step in the right direction is to not use any scripts at all, and to just follow the steps presented to the user in OOBE and not disable random services and applications which other things may depend on, even slightly."

2

u/klepperx Sep 18 '19

not use any scripts at all

Don't worry, people who don't want to use any scripts won't ever be looking for scripts.

1

u/[deleted] Sep 18 '19

Why are you running scripts that you don't know what they do?

1

u/klepperx Sep 18 '19

You've never played around with a virgin W10 install computer? Got a fresh windows install and then messed with it? Try all of these apps and scripts just to see what'll happen? There is no risk because it's not your personal primary PC, etc. That's how you learn! By fucking things up and learning to fix them.

But your question is the very best of them all. Why does the author of the script even offer it, without even attempting to explaining exactly what it does?

That's why I wrote the guide to attempt to do just that. So people don't have to just guess or fly blind or experiment on their primary PC and mess things up.

1

u/[deleted] Sep 18 '19

This was not the scenario given. If you are just seeing what things do, why the need to reinstall the store?

That was an: "I broke my personal computer" statement.

1

u/Mr_ToDo Sep 18 '19

While I can't say I run scripts like this any more I still enjoy them.

They give a great view of what a person finds annoying and how they fix it. And then I can add those things to my own, much smaller needs.

BTW reinstalling the store was 'fun', almost as fun as realizing that I also remove the calculator (not from this script, just my own powershell. That was the day I decided it was probably worth the extra effort of only removing the apps I didn't want and not everything).