Nice, one liner command, added to my list of commands thanks. P.S Will also mod your posted command for offline images as well.
Very interesting information, is it possible to modify this code so that it can be applied via DISM to the attached install.wim image ?
This code is using dism. And frankly trying to understand what it's was a bit more productive than asking even for the simplest matters. Whatever... Just replace Dism /online with Dism /image:<mount-point> Not really rocket science, isn't it?
No, sorry. No need to take anything Just people should use his brain to learn something, instead of waiting for a hanging fruit to fall. (specially when the matter is really simple like above) That said I find especially disgusting the behavior of people like you, that I spooned many times, and that don't think twice to stab in the back their helper.
For Client, cannot directly remove: Windows-Defender-Default-Definitions For all languages, you need /English Code: for /f %%a in ('DISM /English /Online /Get-Features /Format:Table ^| Find "| Disabled"') do (echo %%a & Dism /online /Disable-Feature /FeatureName:%%a /Remove /Quiet)
windows-hardware-manufacture-windows-11.pdf Page 1001 Use /Remove to remove a feature without removing the feature's manifest from the image. The feature will be listed as "Removed" when you use /Get-FeatureInfo to display feature details and can be restored and enabled using /Enable-Feature with the /Source option.
Hmmm, unlike you, I'll try to be polite. Everyone is an expert in their field of expertise, I am not an expert in this field, that's why I'm asking. Speaking of productivity, it would be more productive for you to respond with this short answer rather than spreading your fingers fanning. You need to be more respectful of your interlocutors and more tolerant, and that's not how you look at your best!