r/PowerShell • u/klepperx • 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.
20
u/boredtotears001 Sep 17 '19
Some of this I'd be very cautious disabling.
Setting UAC to Low? Please don't do that.
Disabling Admin shares? This could potentially break being able to remotely administer computers. Those shares are used constantly by products like SCCM and Print Manager.
Disable Remote Desktop? This shouldn't be necessary unless your computers allow RDP from external networks.
... a lot of these things should be managed by Group Policy, not individual images.
15
u/klepperx Sep 17 '19
I'm not recommending anything per se, like I said, I just explained what it is and let them decide. There is no possible way anyone can recommend which of 200 settings should everyone enable/disable.
I just explained what it does, and they can choose for themselves.
8
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.
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.
3
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
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
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
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."
1
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
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
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).
2
u/illusum Sep 17 '19
How does this compare to the Windows 10 Decrapifier script?
6
u/klepperx Sep 17 '19
compare to the Windows 10 Decrapifier script
Well that one lets you change a dozen things, and it's a year old, while the Win10-Initial-Setup-Script lets you change almost 200 things? I dunno, they look very similar. I'm sure they are both great.
2
u/JohnC53 Sep 18 '19
The csand Decrapify script is constantly updated. (I assume that's the one in question). It rocks.
1
2
u/LastLash2 Sep 18 '19
Make sure you understand what user context this runs as. Lots of these settings apply only to HCKU/the logged in user.
1
u/klepperx Sep 18 '19
thanks. I'm assuming this is end-users playing with their own custom PCs, lone account, as admins.
6
u/JeremyLC Sep 18 '19
Most of those comments sound uninformed about the features they're telling you to disable or enable. Most of the recommended "disable" items come down to "This sounds scary, disable it." Some of those settings, like fast startup for example, have implications that aren't even discussed. (like what'll happen if you have fast startup and multiple OSes). Others... who decides what's "bloat" and what isn't? Have you considered that some of those "Xbox" features have other, non-gaming uses? The screen recorder works in normal Windows apps if you need to record a demo of an application or UI interaction. I'll also agree with /u/boredtotears001 a LOT of these should be managed with GPOs if you're trying to manage desktops for your organization and not just yourself.
4
u/klepperx Sep 18 '19
Thanks for your feedback. I put two large warnings, one in red at the top trying to make it crystal clear that one should figure out for themselves each option. Wonder if I should make them bigger? Tried to warn people it's only for advanced users. Were you confused by the warnings? How can I make that more clear?
Since there is literally nothing describing what each line does, I figured something is better than nothing.
a LOT of these should be managed with GPOs if you're trying to manage desktops for your organization and not just yourself.
I didn't even know that companies and corporations made employees make their own computers and make them install windows. Then even game them the rights to these tweaks. Oh that's right, they don't. Anyone messing around at this level with their employers computers is stupid.
1
u/JeremyLC Sep 18 '19
I didn't even know that companies and corporations made employees make their own computers and make them install windows. Then even game them the rights to these tweaks. Oh that's right, they don't. Anyone messing around at this level with their employers computers is stupid.
I'm talking about managing corporate computers in the context of an IT team.
2
u/klepperx Sep 18 '19
Isn't this script more or less for end-power-users with their own custom PCs, and single admin logins?
This is probably child's play for any serious IT Team manager. Kindergarten level vs University level. I can't imagine anyone would be using this at that level.
2
u/neoKushan Sep 18 '19
Yup, I've yet to see a single one of these "Windows Debloat" or "Windows tracking disabler" tools that didn't just willy-nilly disable a bunch of stuff that has nothing to do with bloat or tracking but is, in fact, quite important.
1
u/bloodlorn Sep 18 '19
There is absolutely no reason you should recommend people keep SMBv1 enabled. If you have devices using it, replace them. Turn this off everywhere.
1
u/klepperx Sep 18 '19
That's what I figured, never heard of this feature or anyone using it ever.
I'll have them update it so that those two are disabled as the "recommended."
thanks!
1
u/vermyx Sep 18 '19
SMBv1 is windows file sharing around the win2000 era. It is there for backwards compatibility and should be off by default. SMBv2 should be for XP/2003 and higher, and SMBv3 for win 8/2012 and higher. Those should not be turned off.
1
u/klepperx Sep 18 '19
SMBv2 should be for XP/2003 and higher, and SMBv3 for win 8/2012 and higher. Those should not be turned off.
That's good to know. I don't think those (SMB 2 or 3) are even options, I only see SMB1 and server. Should the SMBServer be enabled by "recommended"?
1
u/anditails Sep 18 '19
Think your site may have had the Reddit hug of death... not loading here at all.
1
6
2
1
1
1
1
1
1
1
1
1
-1
u/Flashcat666 Sep 18 '19 edited Oct 12 '19
[...] was just (Sept-11) released
Did it crash and burn when it released ?
shows himself out
0
Sep 17 '19
[deleted]
0
u/RemindMeBot Sep 17 '19
I will be messaging you on 2019-09-18 01:45:07 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
5
u/[deleted] Sep 18 '19
the DisableCamera and DisableMicrophone options break document cameras like ipevo, just my 2 cents. their viewing software doesn't load afterwards.