W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.03k stars 851 forks source link

Updates and Additions #245

Open supmaxi opened 4 years ago

supmaxi commented 4 years ago

Updates: https://github.com/supmaxi/Debloat-Windows-10/blob/master/scripts/block-telemetry.ps1 https://github.com/supmaxi/Debloat-Windows-10/blob/master/scripts/disable-services.ps1 https://github.com/supmaxi/Debloat-Windows-10/blob/master/scripts/experimental_unfuckery.ps1

Additions: https://github.com/supmaxi/Debloat-Windows-10/blob/master/scripts/Disable%20Remove%20Insecure%20Features.bat https://github.com/supmaxi/Debloat-Windows-10/blob/master/scripts/Harden%20OS.bat

See all here: https://github.com/supmaxi/Debloat-Windows-10

P.s, sorry for the messy commits (and added/deleted files in repository)... new to github.. so probably dont look at all the commits in between, just look at the current , final scripts in my forked repository.

W4RH4WK commented 4 years ago

Thank you for the input. If I find some time, I'll go over the changes and cherry-pick what seems suitable.

FuccDucc commented 1 year ago

Disabling "camsvc", Capability Access Manager Service, results in taskbar tray menu no longer working (completely disappearing, along with the date, time and other icons like network status, sound icon), so please remove this from your changes to disable-services.ps1 @supmaxi

** Confirmed at least on win11

FuccDucc commented 1 year ago

Besides the above thing, there are more things that will break due to the inclusion of a script (make_windows10_great_again.bat) in this PR that is clearly made by a guy who doesn't know what he is doing and included many retarded and dangerous procedures. Such as:

** Btw, you seem to be just as ballsy as the author of this script. Your PR also removes the disabling comment from this line in remove-default-apps.ps1: #"Microsoft.WindowsStore" # can't be re-installed - what do you not understand of "can't be reinstalled".. equaling a bricking? The entire PR serves as a reminder to not blindly copy paste, merge, use or run (like i did in my tests) stuff on the internet or github, as some people are too young or clueless and just throw a load of risky shit together. Even the language of that script's author (make_windows10_great_again.bat) for how much he uses tough language and 'spyware' for many things that are known not to be it, or to be vital to the OS, is a telltale of their outlook and level in things.

Besides that, stop the use of:

For small things, on the line echo | set /p=Checking permissions... begins a faulty permissions check that in my test case will always return a failure even when running elevated as admin. I had to cut it out for proceeding.

And after all, following my tests i still noticed some broken OS functionality that im yet to pinpoint back to an exact procedure. For example, a network connection is detected with a delay (both on taskbar icon and certain applications that initially report there's no connectivity but then retract it after another try) and for a long time after running this stuff, consistently after each time i run it (make_windows10_great_again.bat) i couldn't open any Windows Explorer windows to a folder.. so because the main process that draws desktop and taskbar is in a different explorer.exe process than other content windows (so this part of the same script is a lifesaver that compensates for some other damage inflicted by the script itself:

echo | set /p=Launch folder windows in a separate process 
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d 1 /f > nul
echo [OK]

End of comment. As you can see, you are trying to contribute something that poses too many risks to the proper functioning of an OS. During my tests, i spent 100x more time investigating and hand-fixing obscure issues/breakages on this testing machine than i spent running relatively safe debloaters (like the warhawk one still is, so far) on hundreds of PC's combined, in the past year. I don't recommend anyone to merge or use this even locally, and i dont see it suitable for any relatively safe debloater repo. As the maintainer said to consider cherrypicking it, that is really the only way to go, so they can skim past the retarded lines and behaviors in the scripts you're trying to get added here. It really looks like a combination of random and cooked up stuff that an otherwise scriptkiddie-paster put together. That puts users at risk for messing up their OS for good, or damaging it for a lot of restoration efforts. Bruh @supmaxi

** Note that i didn't really review Harden OS.bat part of the PR yet. I expect it will contain some similar retarded, OS-corrupting procedures like the others mentioned, e.g made in a similar spirit by someone that doesn't know what he is doing. I also didn't review modifications and additions to existing warhawk debloaters. Not to speak of the least significant: you are duplicating a lot of functionality between those, and scripts like 'Harden OS' and make_windows10_great_again.bat .. its beyond what we can call messy. Making this PR is all just a big copy pasta operation.

Be careful with this stuff, @W4RH4WK