News for hackers. Stuff that matters.
Re:Debloating Windows 10 with one command and no internet sc... by holsta on Monday January 02, 2023 @02:04PM (#34222189)
> [..] it’s a great one-line, easily memorable tool for cleaning up a PC quickly for an industrial use case without any security risks.

I deal with many OT/ICS vendors and they would all refuse to support their app on a Windows system modified in this manner. I think such an article should mention the -WhatIf option, so you get an idea of all the important things about to be removed.

    Get-AppxPackage | Remove-AppPackage -WhatIf
On my systems that includes VCLibs, .Net frameworks. I would not do this.
Re:Debloating Windows 10 with one command and no internet sc... by gjsman-1000 on Monday January 02, 2023 @02:15PM (#34222308)
> On my systems that includes VCLibs, .Net frameworks. I would not do this.

To be fair, VCLibs and the .NET Frameworks (in the Appx-version) are actually primarily used for Microsoft Store applications. Most Win32 applications distributed outside the store come with their own redistributables. Considering this method removes the Microsoft Store, there is a very good chance that if your are only running Win32-based applications, you will not notice the loss. Particular example: .NET Native, which is actually a UWP-only technology despite the important-sounding name. If you have no UWP / Microsoft Store apps, its absence is irrelevant. Another one: VCLibs is primarily used for the Desktop Bridge which allows Win32 apps to run from Microsoft Store packages. But if you have no Microsoft Store packages...

This is why I recommend using a fresh install, in a virtual machine first, in the article, just in case.

Re:Debloating Windows 10 with one command and no internet sc... by crazygringo on Monday January 02, 2023 @02:53PM (#34222779)
That's a lot of "primarily", "most", "a very good chance", "if you have no"... :P

So I get your point, but it also sounds awfully optimistic... ;)

(I see you got downvoted, but it wasn't me.)

Re:Debloating Windows 10 with one command and no internet sc... by gjsman-1000 on Monday January 02, 2023 @02:55PM (#34222799)
I keep saying primarily because I haven't actually run into any Win32 applications, even large ones (Fusion 360, FreeCAD, Steam), that don't run without them, which is a good sign. I keep saying that as a disclaimer just in case, because I don't want to be on the record saying "it won't" even if it has never happened thus far. So... that's why I recommend VM first. That's why it's important to keep in mind what VCLibs and .NET Native are for, which is UWP and Microsoft Store apps, not Win32 ones, which makes sense for why they wouldn't be affected.
Re:Debloating Windows 10 with one command and no internet sc... by Brian_K_White on Monday January 02, 2023 @04:12PM (#34223734)
You are speaking properly and I would say the command is quite useful and awesome. Thank you!

You aren't presenting it as something everyone should do to clean up their relatives crufty loaded up pc's while visiting for holidays.

It is what it is and it's quite cool and useful for what it's useful for.

Re:Debloating Windows 10 with one command and no internet sc... by rzzzt on Monday January 02, 2023 @05:13PM (#34224408)
The VCLibs stuff is still available as standalone downloads: https://learn.microsoft.com/en-us/cpp/windows/latest-support...
Re:Debloating Windows 10 with one command and no internet sc... by ec59cb1659 on Monday January 02, 2023 @06:39PM (#34225325)
Mark my words: Microsoft Store will end up on this list https://www.versionmuseum.com/history-of/discontinued-micros... so disabling it is like living in the future.
Re:Debloating Windows 10 with one command and no internet sc... by xen2xen1 on Monday January 02, 2023 @07:17PM (#34225685)
Considering they are betting their future on this, that seems a stretch.
Re:Debloating Windows 10 with one command and no internet sc... by indrora on Monday January 02, 2023 @06:41PM (#34225358)
I showed this to someone who works on Windows distribution in enterprise and who previously worked on core windows. Their response was a resounding "That's hilariously stupid".

For those who think "oh I can do this on windows 11 too", This has a high risk of blowing away your shell too, which is distributed now as an AppX, also Defender and its update runtime which are distributed via AppX/Store so you're risking destroying your whole machine.

From the winds of change that I've been hearing: Most of the OS is going to be distributed via AppX packages, which means that pretty quickly, doing this will leave you limping and hurt.

Re:Debloating Windows 10 with one command and no internet sc... by gjsman-1000 on Monday January 02, 2023 @10:02PM (#34227037)
I don't dispute that, that's why I said Windows 10, not 11. Windows 11 is far more dependent on AppX than Windows 10 and the effects are far more harshly felt. Windows 10, having an EOL in 2025, is unlikely to change in that direction anytime soon.

I'd be interested in hearing what the issue on Windows 10 is, especially considering how it compares to Windows 10 LTSC which seems quite similar.

Edit: As for "That's hilariously stupid," I updated the article for my thoughts on that. Considering this is going to be used on a computer that cost me $150, has storage on a separate NAS, for a machine that could cause safety issues and a lot of money in wasted material if literally anything goes wrong (CNC router), running software that runs only on Windows and requires precise USB timing (no VM or Wine from Linux), I think it would be more stupid to not de-bloat for all the failure methods Windows has added. The last thing I need is Windows Game Bar popping up over the CNC Control Window and blocking the Emergency Stop button. [If you think this sounds horrifying, brand new CNCs have software that still runs great on Windows XP, it's called Mach3 and it's arcane.]

Re:Debloating Windows 10 with one command and no internet sc... by grishka on Tuesday January 03, 2023 @07:13AM (#34230507)
But what if you intend to mostly run win32 apps?

You mean the extremely dumbed down Windows 11 shell with huge everything? Good riddance. I'd like a command to run on my VM to get rid of this atrocity specifically, actually.