Live data from Hacker News

Windows 10 Debloat Script

github.com

111–120 of 188 posts

Re: Windows 10 Debloat Script

#111

Funny coincidence, I recently debloated my W10 with a script as well. I saw the one in the OP during my search, but ultimately didn't go with it as it didn't look legit to me compared to another one that I found mentioned in a article guide. Used this one: https://github.com/Sycnex/Windows10Debloater This one does not affect anything to do with Windows Update and any important system stuff from my experience.

I like this one:

https://www.debian.org/distrib/netinst

:-)

Re: Windows 10 Debloat Script

#112

Earlier quoted context omitted.

I've got 256GB and a fresh install of windows use about 4 with a few things running on startup(mostly just the amd+nvidia drivers). There is indeed some scaling with availability but with diminishing returns after probably 8/16gb of available ram. What I find more interesting is that windows still compresses and swaps on startup even with that much ram available.

Disable swap (pagefile) when you have that much ram, or even when you only have 8 or more. You lose hibernate but that's fine by me. Modern cpu and ssd cold boots pretty fast, especially if you have debloated things similar to this script. Many of the things that are pitched as beneficial, like indexing everything and caching the indexes and keeping all kinds of services alive to "quick start" other things in case yo…

You don't lose hibernate by disabling swap... they're entirely separate.

Re: Windows 10 Debloat Script

#113

I have to ask, for anyone that cares this much, why bother with Windows at this point? Wouldn't it be easier to just use Linux? I know the usual argument is that you need Windows to game, but why make your gaming instance your main work instance too? Why not dual boot and use Linux for work and Windows for gaming?

Why dual boot when you can debloat?

That is an interesting take on it. I guess my problem with debloating is two fold.

One, when I bothered trying to debloat my Windows gaming machine in the past, many of the changes would be undone when windows updated from time to time and this was frustrating.

Second, I don't know what the advisability of running a bunch of unvetted scripts is. Sure it's open source, but who is actually going to go thru and read all those scripts one-by-one before running them.

Re: Windows 10 Debloat Script

#114

Earlier quoted context omitted.

That is strange do you have any further points of reference on the matter? Preferrably a resource from Microsoft if possible.

You can verify some of this by examining a lot of the running memory bloat in https://live.sysinternals.com/procexp.exe (official diagnostics tool by sysinternals, a microsoft subsidiary), just make sure to elevate to see full process info with 'show details on all processes'. On my machine a bunch of UWP apps are loaded passively in the background. A few are UWP apps I use occasionally, a few aren't. I don't know wh…

Doesn’t this become an issue when your memory intensive apps close? Because after being evicted, wouldn’t Cortana and all the other stuff need a second to be reloaded into memory?

Re: Windows 10 Debloat Script

#115
post #111

Funny coincidence, I recently debloated my W10 with a script as well. I saw the one in the OP during my search, but ultimately didn't go with it as it didn't look legit to me compared to another one that I found mentioned in a article guide. Used this one: https://github.com/Sycnex/Windows10Debloater This one does not affect anything to do with Windows Update and any important system stuff from my experience.

I like this one: https://www.debian.org/distrib/netinst :-)

What's the Linux hack/solution to changing the battery charging thresholds? I really enjoy that feature with this W10/Laptop right now. Battery has been at 75% for the last two days, so it's not charging and just being sustained while my laptop is running entirely from the plugged in charger unless I'm mistaken. I really enjoy that. Windows also seems to have gotten much better at power efficiency overall.

Re: Windows 10 Debloat Script

#116

Do your friends a favor and never run this or any like it on their systems "for their benefit". This is a prime example of "expert user footgun problem". The phrase "debloat" is a marketing-hype word that's being used to bait you all into someone's personal view of how computers should be. Expect to be forced to reinstall Windows 10 a few days or weeks after running any such script. Whenever I tech support any of my…

Don't forget the fact it's firewalling or null routing Akamai's CDN, which will cause seemingly-random services/programs to fail. There doesn't seem to have been a lot of homework performed either; some of those IPs resolve to host names that will be blocked by the HOSTS file changes. I came across one of these scripts with typos in host names which I submitted pull requests for, which were ignored, and then copied to other similar scripts...

Re: Windows 10 Debloat Script

#117
post #111

Earlier quoted context omitted.

I like this one: https://www.debian.org/distrib/netinst :-)

What's the Linux hack/solution to changing the battery charging thresholds? I really enjoy that feature with this W10/Laptop right now. Battery has been at 75% for the last two days, so it's not charging and just being sustained while my laptop is running entirely from the plugged in charger unless I'm mistaken. I really enjoy that. Windows also seems to have gotten much better at power efficiency overall.

There's a utility called TLP that can get you most of the way there. It's not perfect, but I've found it useful on the newer thinkpads with dual batteries (one embedded + one removable).

https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-ma...

https://wiki.archlinux.org/index.php/TLP

Re: Windows 10 Debloat Script

#118
I was surprised to find on a recent reinstall of Windows 10 that it no longer included the start menu full of sponsored apps and games. It was a pretty minimal install, all things considered. This was with the Education edition which is a derivative of the Pro edition I believe.

I’d also highly recommend the BoxStarter setup scripts [0]. They remove all of the unnecessary default applications, perform windows updates, apply sane developer defaults and install development tooling depending on your needs. It’s a one click run, so it’s a pretty easy way to bootstrap a new install. No negative side effects and have been using them for several years.

0. https://github.com/microsoft/windows-dev-box-setup-scripts

Re: Windows 10 Debloat Script

#119

Do your friends a favor and never run this or any like it on their systems "for their benefit". This is a prime example of "expert user footgun problem". The phrase "debloat" is a marketing-hype word that's being used to bait you all into someone's personal view of how computers should be. Expect to be forced to reinstall Windows 10 a few days or weeks after running any such script. Whenever I tech support any of my…

100% agree.

Looking at just the block-telemetry.ps1 script in this repo tells me the creator is a novice. Changing the Group Policy does NOT block telemetry in Win10 Home or Pro. Furthermore, adding MS's own domains to the hosts file or firewall aren't great techniques either, since the OS doesn't have to honor them and those domains may serve other functions.

In disable-services.ps1:

- Home Groups was discontinued and these services aren't installed by default anymore. Even if they are present, the default config is manual and they'll use zero resources if you don't have a HomeGroup set up

- Futzing with remote access services is a minefield and could kill VPNs, network shares/printers, and domain access. It's one piece in a set of dependencies that might be okay to disable, but tends to pop up in unexpected situations. RaRA is disabled by default, so if it is enabled, there is probably a reason.

- Distributed Link Tracking Client - I mean, I like my shortcuts working, but okay.

- Windows Security Center Service - Disabling this basically makes it harder for you to actually access the security center and will break 3rd party AV/firewall/security tools.

- Xbox services - Disabling kills any games bought via the Windows Store and possibly controllers. Doesn't use resources, since it's set to manual.

Almost everything else the scripts say they're doing can be done within the Settings app. I phrased it that way because the toggles may be changing multiple settings to get the desired effect and changing a single registry value isn't enough. There are some sound tweaks mixed in (some that I use myself), but nothing new and nothing to make me think the author is particularly knowledgeable about Windows configurations. I prefer something like http://www.blackviper.com/

I wanted to add that I've been pretty heavily tweaking Windows since the Win9x days, and modern Windows is a different beast compared to even Win7. Lots of services and features have not-so-obvious dependencies.

For example, the Your Phone App can't be uninstalled via normal means, but there are plenty of articles that detail the steps to uninstall it with Powershell. The problem is that this app also hooks into the experience continuity features MS is pushing heavily, and forcing an uninstall will cause issues with syncing settings across devices and the timeline feature.

Also worth noting is that simply undoing some tweaks isn't always straightforward. Delete a registry entry? Hope you noted that it was owned by Installer, because adding it back as owned by admin ain't gonna cut it.

Lastly, 90%+ of the tweak guides/scripts I've seen would completely break programming IDEs, VPN access, and systems on a corporate network. They assume you want everything stripped and will add back individual pieces as situations present themselves, but it never works out that way. Instead, the whole process approaching those situations gets borked (e.g.- program checks for a service at launch, can't find it, and closes immediately or dumps the user into some config that's not appropriate once they untweak their OS).

Most of my tweaking now is simply changing settings, disabling a few scheduled tasks and services I'm familiar with, and making a couple dozen registry changes that are reversible and not tied to vital components.

Re: Windows 10 Debloat Script

#120

Do your friends a favor and never run this or any like it on their systems "for their benefit". This is a prime example of "expert user footgun problem". The phrase "debloat" is a marketing-hype word that's being used to bait you all into someone's personal view of how computers should be. Expect to be forced to reinstall Windows 10 a few days or weeks after running any such script. Whenever I tech support any of my…

Just like all those threads about searching in the Windows 10 Start Menu, where some commenters always say that search is broken because it never remembers their most used apps and always brings up something obscure.

Presumably they - or some script they didn't really understand - turned off the "Let Windows track app launches to improve Start and search results" setting.

Post reply on HN