I was playing around with the script , and i found all the correct packages to be removed inside the servicing folder , and this is a result of an 14393.0 LTSB 2016 X86 full functional but free of Microsoft crap ...so i can use it for old laptops .. Code: Mounting install.wim Removing Adobe-Flash-For-Windows-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Adobe-Flash-For-Windows-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-AllJoyn-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Cortana-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Cortana-PAL-Desktop-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-CortanaComponents-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~x86~~11.0.14393.0 Removing Microsoft-OneCore-Maps-Core-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-Maps-Full-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-Maps-Full-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-Maps-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-Maps-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-PointOfService-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-SpeechComponents-avcore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-SpeechComponents-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-SpeechComponents-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-Wallet-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-OneCore-WalletService-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-MultiPoint-Connector-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-NFS-ClientSKU-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-OneCore-Containers-Opt-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Skype-ORTC-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Xbox-GameCallableUI-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Virtualization-RemoteFX-User-Mode-Transport-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-Client-EmbeddedExp-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-ParentalControls-OneCoreUapShell-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-ParentalControls-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-TroubleShooting-base-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-TroubleShooting-net-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-TroubleShooting-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-TroubleShooting-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Hyper-V-Guest-Integration-Drivers-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Hyper-V-Guest-Integration-Drivers-onecoreuap-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-RDC-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~x86~~10.0.14393.0 Removing Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Current Edition : EnterpriseS Resetting base Unmounting install.wim Press any key to continue . . . Thanks again ... you teach me nice God bless you !!!
If you'd learn the relationship between Parent-package and Children-packages, it would be beautiful. Q: Which package to remove? Parent-package or Child-package(s) or all packages? A: Parent-package. e.g. These are packages start with Windows-Defender Code: Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-AppLayer-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-AppLayer-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-CloudClean-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Core-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Core-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Core-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Management-Group-amcore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Management-Group-onecore-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Management-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Windows-Defender-Nis-Group-Package~31bf3856ad364e35~x86~~10.0.14393.0 Let alone Windows-Defender-Group-Policy-Package~31bf3856ad364e35~x86~~10.0.14393.0 which is Child-package of Group Policy. Q: Which is the Parent-package of Windows Defender? A: Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 Code: <?xml version='1.0' encoding='utf-8' standalone='yes'?> <assembly xmlns="urn:schemas-microsoft-com:asm.v3" copyright="Copyright (c) Microsoft Corporation. All Rights Reserved." manifestVersion="1.0"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Client-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0"/> <package identifier="Windows-Defender-Client-Package" releaseType="Feature Pack"> <update name="Windows-Defender-Core"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Core-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-CloudClean"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-CloudClean-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-Nis"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Nis-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-AppLayer"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-AppLayer-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-Management"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-Management-Powershell"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-Powershell-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-Management-MDM"> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-Management-MDM-Group-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0" versionScope="nonSxS"/> </package> </update> <update name="Windows-Defender-Default-Definitions"> <selectable disposition="absent"> <detectNone default="true"/> </selectable> <package contained="false" integrate="hidden"> <assemblyIdentity buildType="release" language="neutral" name="Windows-Defender-AM-Default-Definitions-Package" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" version="10.0.14393.0"/> </package> </update> </package> </assembly>
the best example is : Microsoft-OneCore-SpeechComponents-avcore-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-OneCore-SpeechComponents-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-OneCore-SpeechComponents-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-OneCore-SpeechComponents-WOW64-avcore-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-OneCore-SpeechComponents-WOW64-onecoreuap-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-OneCore-SpeechComponents-WOW64-Package~31bf3856ad364e35~amd64~~10.0.14393.0 i need to dig inside every image and find out the packages which are related ... and to try .. and try ... until i will manage ... i am still looking for a way to delete alll the laguages and leave only en-us ... but so far i do it manually ... Thanks
if /i %%#==IoTEnterpriseS if %EditionLTSC% equ 1 if %_build% geq 18298 (set IoTEnterpriseS=1) I saw it at 21322.1000_amd64_zh-cn_professional_3b495347_convert, has the teacher seen this version of 18298? Seen in this place, how to download?
Q: Which is the Parent-package? A: Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0 so you tell me that i remove the parent package , all the related ones go away also ? how can i see the full packages of an image ? there is a script or something ?
A1: Yes. A2: e.g. Parent-package: Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.14393.0.mum Child-package: Microsoft-Windows-Client-Optional-Features-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum Grand-Child-package: Windows-Defender-Client-Package~31bf3856ad364e35~x86~~10.0.14393.0.mum
Q: Why? For SAC unreleased editions, e.g. 15063.0\19041.1EnterpriseS, MSFT adds some package(s), which are already existent in other package, to its EditionSpecific package. EditionPack-Enterprise Code: <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-EnterpriseClientSync-Host-Package"/> <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-SMBDirect"/> <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-Backup-Package"/> <Resolve package="Microsoft-Windows-EditionPack-Enterprise-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-PortableWorkspaces-Creator-Package"/> EditionSpecific-EnterpriseS Code: <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-EnterpriseClientSync-Host-Package"/> <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-SMBDirect"/> <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-Backup-Package"/> <Resolve package="Microsoft-Windows-EditionSpecific-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.15063.0" update="Microsoft-Windows-PortableWorkspaces-Creator-Package"/>
In fact, many components are also dual or even multi-controllable. As Hyper_V says, packets are removed, but related services are still there
Windows Defender (Uninstallable), What does it mean, I have tried to uninstall Windows Defender, you can install it back
There is AntiMalware, which is independent package, in old Server. Microsoft-Antimalware-Scan-Interface-Core-Package (For new Server, it may be combined in some Core package. I don't use Server. No such research.)
About source image, it'd be advised to add this package in removal list in case that the source image is of Volume channel: Microsoft-Windows-Security-SPP-Component-SKU-Education-GVLK-Package~31bf3856ad364e35~x86~~10.0.15063.0 e.g. DelPack.txt Code: Microsoft-Windows-Security-SPP-Component-SKU-Education-GVLK-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-Windows-ContactSupport-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-Windows-BuildFlighting-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-Windows-FlightSettings-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-Windows-TestRoot-and-FlightSigning-Package~31bf3856ad364e35~x86~~10.0.15063.0 Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package~31bf3856ad364e35~x86~~10.0.15063.0 And add "if exist mount\Windows\servicing\Packages\%%x.mum" for the script. e.g. create.cmd Code: for /f %%x in ('findstr /i . files\DelPack.txt 2^>nul') do ( if exist mount\Windows\servicing\Packages\%%x.mum ( reg load HKLM\SOFTWARE1 mount\Windows\System32\config\SOFTWARE >nul reg add "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul reg delete "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul reg unload HKLM\SOFTWARE1 >nul echo. echo Removing %%x dism /english /quiet /scratchdir:temp /image:mount /Remove-package /Packagename:%%x ) )