And in this section it is not necessary that it exactly matches. Everything that has at least some coincidence with this combination of names will be deleted. That is why this section is called: Removing packages from an image without specifying the full name.
Tried - artificially inflated popularity. But in fact, nothing interesting, as for me. The tool from SunLion is more flexible for working with the image and more interesting for discussion.
What exactly would you like me to share, please be more specific. I use the tool from SunLion. To get the Windows 11 IoT 24H2 LTSC [26200.5603] x64 build, I add these two updates to it: Windows11.0-KB5054156-x64.msu + Windows11.0-KB5058488-x64.msu. As a template, you need to use the .iso image of Windows 11 Enterprise LTSC 26100.1742 of the localization you need. All this is on the Internet, in the public domain.
The entire array I add to the SunLion tool looks something like this: Spoiler Code: echo. ECHO. ECHO ============================================================= ECHO Removing components from an image ECHO ============================================================= :: Removing Defender, Security Center, WebThreat rd /s /q "%~dp0Mount\Program Files (x86)\Windows Defender" rd /s /q "%~dp0Mount\Program Files (x86)\Windows Defender Advanced Threat Protection" rd /s /q "%~dp0Mount\Program Files\Windows Defender" rd /s /q "%~dp0Mount\Program Files\Windows Defender Advanced Threat Protection" rd /s /q "%~dp0Mount\ProgramData\Microsoft\Storage Health" rd /s /q "%~dp0Mount\ProgramData\Microsoft\Windows Defender" rd /s /q "%~dp0Mount\ProgramData\Microsoft\Windows Defender Advanced Threat Protection" rd /s /q "%~dp0Mount\ProgramData\Microsoft\Windows Security Health" rd /s /q "%~dp0Mount\Windows\bcastdvr" rd /s /q "%~dp0Mount\Windows\GameBarPresenceWriter" rd /s /q "%~dp0Mount\WINDOWS\System32\drivers\wd" rd /s /q "%~dp0Mount\Windows\System32\HealthAttestationClient" rd /s /q "%~dp0Mount\Windows\System32\SecurityHealth" rd /s /q "%~dp0Mount\Windows\System32\Sgrm" rd /s /q "%~dp0Mount\Windows\System32\Tasks\Microsoft\Windows\Windows Defender" rd /s /q "%~dp0Mount\Windows\System32\Tasks_Migrated\Microsoft\Windows\Windows Defender" rd /s /q "%~dp0Mount\Windows\System32\WebThreatDefSvc" rd /s /q "%~dp0Mount\Windows\System32\WindowsPowerShell\v1.0\Modules\Defender" rd /s /q "%~dp0Mount\Windows\System32\WindowsPowerShell\v1.0\Modules\DefenderPerformance" rd /s /q "%~dp0Mount\Windows\SystemApps\Microsoft.Windows.AppRep.ChxApp_cw5n1h2txyewy" rd /s /q "%~dp0Mount\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\Defender" rd /s /q "%~dp0Mount\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\DefenderPerformance" rd /s /q "%~dp0Mount\Windows\WinSxS\amd64_security-octagon*" rd /s /q "%~dp0Mount\Windows\WinSxS\amd64_windows-defender*" rd /s /q "%~dp0Mount\Windows\WinSxS\wow64_windows-defender*" rd /s /q "%~dp0Mount\Windows\WinSxS\x86_windows-defender*" del /s /q "%~dp0Mount\Windows\system32\drivers\msseccore.sys" del /s /q "%~dp0Mount\Windows\system32\drivers\MsSecFlt.sys" del /s /q "%~dp0Mount\Windows\system32\drivers\MsSecWfp.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\SgrmAgent.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\WdBoot.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\WdDevFlt.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\WdFilter.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\WdNisDrv.sys" del /s /q "%~dp0Mount\Windows\ELAMBKUP\WdBoot.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\wtd.sys" del /s /q "%~dp0Mount\Windows\System32\wbem\wscenter.mof" del /s /q "%~dp0Mount\Windows\System32\ActionCenter.dll" del /s /q "%~dp0Mount\Windows\System32\ActionCenterCPL.dll" del /s /q "%~dp0Mount\Windows\System32\apprepapi.dll" del /s /q "%~dp0Mount\Windows\System32\CompatTelRunner.exe" del /s /q "%~dp0Mount\Windows\System32\DeviceCensus.exe" del /s /q "%~dp0Mount\Windows\System32\DWWIN.EXE" del /s /q "%~dp0Mount\Windows\System32\GameBarPresenceWriter.exe" del /s /q "%~dp0Mount\Windows\System32\hcproviders.dll" del /s /q "%~dp0Mount\Windows\System32\hvsievaluator.exe" del /s /q "%~dp0Mount\Windows\System32\HvsiManagementApi.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityAndMaintenance.png" del /s /q "%~dp0Mount\Windows\System32\SecurityAndMaintenance_Alert.png" del /s /q "%~dp0Mount\Windows\System32\SecurityAndMaintenance_Error.png" del /s /q "%~dp0Mount\Windows\System32\SecurityCenterBroker.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityCenterBrokerPS.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthAgent.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthCore.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthHost.exe" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthProxyStub.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthService.exe" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthSSO.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthSsoUdk.dll" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthSystray.exe" del /s /q "%~dp0Mount\Windows\System32\SecurityHealthUdk.dll" del /s /q "%~dp0Mount\Windows\System32\SenseSubAuth.dll" del /s /q "%~dp0Mount\Windows\System32\SFAPE.dll" del /s /q "%~dp0Mount\Windows\System32\SFAPM.dll" del /s /q "%~dp0Mount\Windows\System32\smartscreen.dll" del /s /q "%~dp0Mount\Windows\System32\smartscreen.exe" del /s /q "%~dp0Mount\Windows\System32\smartscreenps.dll" del /s /q "%~dp0Mount\Windows\System32\SubAuthLoader.dll" del /s /q "%~dp0Mount\Windows\System32\ThreatAssessment.dll" del /s /q "%~dp0Mount\Windows\System32\ThreatExperienceManager.dll" del /s /q "%~dp0Mount\Windows\System32\ThreatIntelligence.dll" del /s /q "%~dp0Mount\Windows\System32\ThreatResponseEngine.dll" del /s /q "%~dp0Mount\Windows\System32\webthreatdefsvc.dll" del /s /q "%~dp0Mount\Windows\System32\webthreatdefusersvc.dll" del /s /q "%~dp0Mount\Windows\System32\windowsdefenderapplicationguardcsp.dll" del /s /q "%~dp0Mount\Windows\System32\winshfhc.dll" del /s /q "%~dp0Mount\Windows\System32\wscadminui.exe" del /s /q "%~dp0Mount\Windows\System32\wscapi.dll" del /s /q "%~dp0Mount\Windows\System32\wscinterop.dll" del /s /q "%~dp0Mount\Windows\System32\wscisvif.dll" del /s /q "%~dp0Mount\Windows\System32\wscproxystub.dll" del /s /q "%~dp0Mount\Windows\System32\wscsvc.dll" del /s /q "%~dp0Mount\Windows\System32\wscui.cpl" del /s /q "%~dp0Mount\Windows\System32\wtdccm.dll" del /s /q "%~dp0Mount\Windows\System32\wtdhost.dll" del /s /q "%~dp0Mount\Windows\System32\wtdsensor.dll" del /s /q "%~dp0Mount\Windows\WinSxS\FileMaps\amd64_windows-defender*.*" del /s /q "%~dp0Mount\Windows\WinSxS\FileMaps\wow64_windows-defender*.*" del /s /q "%~dp0Mount\Windows\WinSxS\FileMaps\x86_windows-defender*.*" del /s /q "%~dp0Mount\Windows\Containers\serviced\WindowsDefenderApplicationGuard.wim" del /s /q "%~dp0Mount\Windows\Containers\WindowsDefenderApplicationGuard.wim" del /s /q "%~dp0Mount\Windows\SysWOW64\ActionCenter.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\ActionCenterCPL.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\apprepapi.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\DWWIN.EXE" del /s /q "%~dp0Mount\Windows\SysWOW64\GameBarPresenceWriter.exe" del /s /q "%~dp0Mount\Windows\SysWOW64\hcproviders.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\HvsiManagementApi.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\SecurityAndMaintenance.png" del /s /q "%~dp0Mount\Windows\SysWOW64\SecurityAndMaintenance_Alert.png" del /s /q "%~dp0Mount\Windows\SysWOW64\SecurityAndMaintenance_Error.png" del /s /q "%~dp0Mount\Windows\SysWOW64\SecurityCenterBrokerPS.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\smartscreen.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\smartscreenps.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\windowsdefenderapplicationguardcsp.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\winshfhc.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wscadminui.exe" del /s /q "%~dp0Mount\Windows\SysWOW64\wscapi.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wscinterop.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wscisvif.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wscproxystub.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wscui.cpl" del /s /q "%~dp0Mount\Windows\SysWOW64\wtdccm.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\wtdsensor.dll" :: removing BitLocker del /s /q "%~dp0Mount\Windows\System32\drivers\dumpfve.sys" del /s /q "%~dp0Mount\Windows\system32\bdechangepin.exe" del /s /q "%~dp0Mount\Windows\system32\BdeHdCfg.exe" del /s /q "%~dp0Mount\Windows\system32\BdeHdCfgLib.dll" del /s /q "%~dp0Mount\Windows\system32\bderepair.dll" del /s /q "%~dp0Mount\Windows\system32\bdesvc.dll" del /s /q "%~dp0Mount\Windows\system32\BdeSysprep.dll" del /s /q "%~dp0Mount\Windows\system32\bdeui.dll" del /s /q "%~dp0Mount\Windows\system32\BdeUISrv.exe" del /s /q "%~dp0Mount\Windows\system32\bdeunlock.exe" del /s /q "%~dp0Mount\Windows\system32\BitLockerCsp.dll" del /s /q "%~dp0Mount\Windows\system32\BitLockerDeviceEncryption.exe" del /s /q "%~dp0Mount\Windows\system32\BitLockerWizard.exe" del /s /q "%~dp0Mount\Windows\system32\BitLockerWizardElev.exe" del /s /q "%~dp0Mount\Windows\system32\fveapi.dll" del /s /q "%~dp0Mount\Windows\system32\fveapibase.dll" del /s /q "%~dp0Mount\Windows\system32\fvecerts.dll" del /s /q "%~dp0Mount\Windows\system32\fvecpl.dll" del /s /q "%~dp0Mount\Windows\system32\fvenotify.exe" del /s /q "%~dp0Mount\Windows\system32\fveprompt.exe" del /s /q "%~dp0Mount\Windows\system32\fveskybackup.dll" del /s /q "%~dp0Mount\Windows\system32\fveui.dll" del /s /q "%~dp0Mount\Windows\system32\fvewiz.dll" del /s /q "%~dp0Mount\Windows\system32\manage-bde.exe" del /s /q "%~dp0Mount\Windows\system32\manage-bde.wsf" del /s /q "%~dp0Mount\Windows\system32\repair-bde.exe" del /s /q "%~dp0Mount\Windows\system32\SystemSettings.DeviceEncryptionHandlers.dll" del /s /q "%~dp0Mount\Windows\system32\WofTasks.dll" del /s /q "%~dp0Mount\Windows\system32\fmapi.dll" :: Examples Search and Indexing del /s /q "%~dp0Mount\Windows\system32\genpix.dll" del /s /q "%~dp0Mount\Windows\system32\mimefilt.dll" del /s /q "%~dp0Mount\Windows\system32\msscntrs.dll" del /s /q "%~dp0Mount\Windows\system32\mssitlb.dll" del /s /q "%~dp0Mount\Windows\system32\mssph.dll" del /s /q "%~dp0Mount\Windows\system32\mssprxy.dll" del /s /q "%~dp0Mount\Windows\system32\mssvp.dll" del /s /q "%~dp0Mount\Windows\system32\nlhtml.dll" del /s /q "%~dp0Mount\Windows\system32\offfilt.dll" del /s /q "%~dp0Mount\Windows\system32\rtffilt.dll" del /s /q "%~dp0Mount\Windows\system32\Search.ProtocolHandler.MAPI2.dll" del /s /q "%~dp0Mount\Windows\system32\SearchFilterHost.exe" del /s /q "%~dp0Mount\Windows\system32\SearchIndexer.exe" del /s /q "%~dp0Mount\Windows\system32\SearchProtocolHost.exe" del /s /q "%~dp0Mount\Windows\system32\SfSEnclave.dll" del /s /q "%~dp0Mount\Windows\system32\srchadmin.dll" del /s /q "%~dp0Mount\Windows\system32\Windows.UI.Search.dll" del /s /q "%~dp0Mount\Windows\system32\WSAIFabricHost.dll" del /s /q "%~dp0Mount\Windows\system32\wsepno.dll" del /s /q "%~dp0Mount\Windows\system32\xmlfilter.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\genpix.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\mimefilt.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\msscntrs.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\mssitlb.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\mssph.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\mssprxy.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\mssvp.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\nlhtml.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\offfilt.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\rtffilt.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\Search.ProtocolHandler.MAPI2.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\SearchFilterHost.exe" del /s /q "%~dp0Mount\Windows\SysWOW64\SearchIndexer.exe" del /s /q "%~dp0Mount\Windows\SysWOW64\SearchProtocolHost.exe" del /s /q "%~dp0Mount\Windows\SysWOW64\srchadmin.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\Windows.UI.Search.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\xmlfilter.dll" :: Removing Mail Contacts Calendar Sync del /s /q "%~dp0Mount\Windows\System32\accountaccessor.dll" del /s /q "%~dp0Mount\Windows\System32\AccountsRt.dll" del /s /q "%~dp0Mount\Windows\System32\ActiveSyncCsp.dll" del /s /q "%~dp0Mount\Windows\System32\ActiveSyncProvider.dll" del /s /q "%~dp0Mount\Windows\System32\APHostClient.dll" del /s /q "%~dp0Mount\Windows\System32\APHostRes.dll" del /s /q "%~dp0Mount\Windows\System32\APHostService.dll" del /s /q "%~dp0Mount\Windows\System32\DavSyncProvider.dll" del /s /q "%~dp0Mount\Windows\System32\EASPolicyManagerBrokerHost.exe" del /s /q "%~dp0Mount\Windows\System32\EasPolicyManagerBrokerPS.dll" del /s /q "%~dp0Mount\Windows\System32\InprocLogger.dll" del /s /q "%~dp0Mount\Windows\System32\internetmail.dll" del /s /q "%~dp0Mount\Windows\System32\InternetMailCsp.dll" del /s /q "%~dp0Mount\Windows\System32\MCCSEngineShared.dll" del /s /q "%~dp0Mount\Windows\System32\MCCSPal.dll" del /s /q "%~dp0Mount\Windows\System32\networkhelper.dll" del /s /q "%~dp0Mount\Windows\System32\SyncController.dll" del /s /q "%~dp0Mount\Windows\System32\SyncProxy.dll" del /s /q "%~dp0Mount\Windows\System32\SyncRes.dll" del /s /q "%~dp0Mount\Windows\System32\syncutil.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\accountaccessor.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\AccountsRt.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\ActiveSyncProvider.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\APHostClient.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\DavSyncProvider.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\MCCSEngineShared.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\networkhelper.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\SyncController.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\SyncProxy.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\SyncRes.dll" del /s /q "%~dp0Mount\Windows\SysWOW64\syncutil.dll" :: Removing Parental Controls rd /s /q "%~dp0Mount\Windows\SystemApps\ParentalControls_cw5n1h2txyewy" del /s /q "%~dp0Mount\Windows\system32\ApproveChildRequest.exe" del /s /q "%~dp0Mount\Windows\system32\cero.rs" del /s /q "%~dp0Mount\Windows\system32\cob-au.rs" del /s /q "%~dp0Mount\Windows\system32\csrr.rs" del /s /q "%~dp0Mount\Windows\system32\djctq.rs" del /s /q "%~dp0Mount\Windows\system32\esrb.rs" del /s /q "%~dp0Mount\Windows\system32\fpb.rs" del /s /q "%~dp0Mount\Windows\system32\grb.rs" del /s /q "%~dp0Mount\Windows\system32\oflc-nz.rs" del /s /q "%~dp0Mount\Windows\system32\pcbp.rs" del /s /q "%~dp0Mount\Windows\system32\pegi-pt.rs" del /s /q "%~dp0Mount\Windows\system32\pegi.rs" del /s /q "%~dp0Mount\Windows\system32\usk.rs" del /s /q "%~dp0Mount\Windows\system32\WEB.rs" del /s /q "%~dp0Mount\Windows\system32\Wpc.dll" del /s /q "%~dp0Mount\Windows\system32\WpcApi.dll" del /s /q "%~dp0Mount\Windows\system32\wpcatltoast.png" del /s /q "%~dp0Mount\Windows\system32\WpcDesktopMonSvc.dll" del /s /q "%~dp0Mount\Windows\system32\WpcMon.exe" del /s /q "%~dp0Mount\Windows\System32\wpcmon.png" del /s /q "%~dp0Mount\Windows\system32\WpcProxyStubs.dll" del /s /q "%~dp0Mount\Windows\system32\WpcWebFilter.dll" del /s /q "%~dp0Mount\Windows\System32\WpcRefreshTask.dll" del /s /q "%~dp0Mount\Windows\System32\WpcTok.exe" :: Removing Maps del /s /q "%~dp0Mount\Windows\system32\BingMaps.dll" del /s /q "%~dp0Mount\Windows\system32\BingOnlineServices.dll" del /s /q "%~dp0Mount\Windows\system32\Geocommon.dll" del /s /q "%~dp0Mount\Windows\system32\JpMapControl.dll" del /s /q "%~dp0Mount\Windows\system32\MapConfiguration.dll" del /s /q "%~dp0Mount\Windows\system32\MapControlCore.dll" del /s /q "%~dp0Mount\Windows\system32\MapControlStringsRes.dll" del /s /q "%~dp0Mount\Windows\system32\MapGeocoder.dll" del /s /q "%~dp0Mount\Windows\system32\MapRouter.dll" del /s /q "%~dp0Mount\Windows\system32\MapsBtSvc.dll" del /s /q "%~dp0Mount\Windows\system32\MapsBtSvcProxy.dll" del /s /q "%~dp0Mount\Windows\system32\MapsCSP.dll" del /s /q "%~dp0Mount\Windows\system32\MapsStore.dll" del /s /q "%~dp0Mount\Windows\system32\mapstoasttask.dll" del /s /q "%~dp0Mount\Windows\system32\mapsupdatetask.dll" del /s /q "%~dp0Mount\Windows\system32\Microsoft-Windows-MapControls.dll" del /s /q "%~dp0Mount\Windows\system32\Microsoft-Windows-MosHost.dll" del /s /q "%~dp0Mount\Windows\system32\moshost.dll" del /s /q "%~dp0Mount\Windows\system32\MosHostClient.dll" del /s /q "%~dp0Mount\Windows\system32\moshostcore.dll" del /s /q "%~dp0Mount\Windows\system32\MosStorage.dll" del /s /q "%~dp0Mount\Windows\system32\NmaDirect.dll" del /s /q "%~dp0Mount\Windows\system32\ztrace_maps.dll" del /s /q "%~dp0Mount\Windows\system32\Windows.UI.Xaml.Maps.dll" :: Removing Feedback and Telemetry rd /s /q "%~dp0Mount\Windows\DiagTrack" del /s /q "%~dp0Mount\Windows\System32\AggregatorHost.exe" del /s /q "%~dp0Mount\Windows\System32\CourtesyEngine.dll" del /s /q "%~dp0Mount\Windows\System32\DbgModel.dll" del /s /q "%~dp0Mount\Windows\System32\DeviceCensus.exe" del /s /q "%~dp0Mount\Windows\System32\diagnosticdataquery.dll" del /s /q "%~dp0Mount\Windows\System32\diagperf.dll" del /s /q "%~dp0Mount\Windows\System32\diagtrack.dll" del /s /q "%~dp0Mount\Windows\System32\dmclient.exe" del /s /q "%~dp0Mount\Windows\System32\DocumentPerformanceEvents.dll" del /s /q "%~dp0Mount\Windows\System32\dtdump.exe" del /s /q "%~dp0Mount\Windows\System32\DWWIN.EXE" del /s /q "%~dp0Mount\Windows\System32\runexehelper.exe" del /s /q "%~dp0Mount\Windows\System32\usbceip.dll" del /s /q "%~dp0Mount\Windows\System32\UtcDecoderHost.exe" del /s /q "%~dp0Mount\Windows\System32\werconcpl.dll" del /s /q "%~dp0Mount\Windows\System32\wercplsupport.dll" del /s /q "%~dp0Mount\Windows\System32\werdiagcontroller.dll" del /s /q "%~dp0Mount\Windows\System32\WerEnc.dll" del /s /q "%~dp0Mount\Windows\System32\WerFault.exe" del /s /q "%~dp0Mount\Windows\System32\WerFaultSecure.exe" del /s /q "%~dp0Mount\Windows\System32\wermgr.exe" del /s /q "%~dp0Mount\Windows\System32\werui.dll" del /s /q "%~dp0Mount\Windows\System32\StringFeedbackEngine.dll" :: Removing Xbox devices delete del /s /q "%~dp0Mount\Windows\INF\dc1-controller.inf" del /s /q "%~dp0Mount\Windows\System32\DriverStore\FileRepository\dc1-controller.inf_*" del /s /q "%~dp0Mount\Windows\INF\xboxgip.inf" del /s /q "%~dp0Mount\Windows\System32)\driverstore\FileRepository\xboxgip.inf_*" del /s /q "%~dp0Mount\Windows\System32\drivers\devauthe.sys" del /s /q "%~dp0Mount\Windows\System32\drivers\xboxgip.sys" del /s /q "%~dp0Mount\Windows\INF\xinputhid.inf" del /s /q "%~dp0Mount\Windows\System32\driverstore\FileRepository\xinputhid.inf_*" del /s /q "%~dp0Mount\Windows\System32\drivers\xinputhid.sys" del /s /q "%~dp0Mount\Windows\INF\xusb22.inf" del /s /q "%~dp0Mount\Windows\System32\driverstore\FileRepository\xusb22.inf_*" del /s /q "%~dp0Mount\Windows\INF\xboxgipsynthetic.inf" del /s /q "%~dp0Mount\Windows\System32\DriverStore\FileRepository\xboxgipsynthetic.inf_*" del /s /q "%~dp0Mount\Windows\System32\GameChatOverlayExt.dll" del /s /q "%~dp0Mount\Windows\System32\GameChatTranscription.dll" del /s /q "%~dp0Mount\Windows\System32\gamemode.dll" del /s /q "%~dp0Mount\Windows\System32\gamestreamingext.dll" del /s /q "%~dp0Mount\Windows\System32\Windows.Networking.XboxLive.ProxyStub.dll" del /s /q "%~dp0Mount\Windows\System32\XblAuthManager.dll" del /s /q "%~dp0Mount\Windows\System32\XblAuthManagerProxy.dll" del /s /q "%~dp0Mount\Windows\System32\XblAuthTokenBrokerExt.dll" del /s /q "%~dp0Mount\Windows\System32\xboxgipsvc.dll" del /s /q "%~dp0Mount\Windows\System32\XboxNetApiSvc.dll" del /s /q "%~dp0Mount\Windows\System32\xboxgipsynthetic.dll" echo. ECHO. ECHO ============================================================= ECHO Removing packages from an image without specifying the full name ECHO ============================================================= "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-OneDrive /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Hello-Face /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c microsoft-windows-hello-face-package-Wrapper /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.WindowsTerminal_2022.507.446.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.Xbox.TCUI_2022.507.446.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.XboxGameOverlay_2022.507.446.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.XboxGamingOverlay_2022.507.447.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.XboxIdentityProvider_2022.507.447.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft.XboxSpeechToTextOverlay_2022.507.446.0_neutral /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-3DAudio-HrtfApo /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AarSvc /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AccountHealth /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AI /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AIX /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AppID /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AppModel /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Assigned Access Lock App /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Audit /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-AuditPolicy /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Authentication-Aad-WamExtension /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-autopilot /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-BackgroundTransfer /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Backup and Restore /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Biometrics /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-BitLocker /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Block Level Backup Engine /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-BranchCache (PeerDist) /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-BsdTar /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Collaboration Data Objects /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Connected Devices Platform /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Content Delivery Manager /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-ContentDelivery /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-crypttpmeksvc /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Data Deduplication /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Data Usage Subscription Management /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Debugger Transports /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-DeferredCharging /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Delivery Optimization /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Device Directory /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-DeviceSync /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Diagnostics-Telemetry /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Electronic Software Delivery /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-EmbeddedMode /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Encrypted File System /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-energy /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Enhanced Storage /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Enterprise and Mobile Device Management /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Enterprise Data Protection /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-ETW /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Events-Container /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-ExploitGuard /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Fault Tolerant Heap /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Feedback and Telemetry /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-File Server Resource Management (FSRM) /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Games Explorer Folder /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Gaming Support APIs /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Geolocation /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Help /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-hwreqchk /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Hyper-V /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Immersive Control Panel /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-InputProcessors /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Isolated User Mode /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-LibreSSL /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Linux Subsystem /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Local Administrator Password Solution /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Local Security Authority /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-LockApp /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Mail Contacts Calendar Sync /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-MAPI /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-media /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Media APIs /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Microsoft-Windows-3DAudio-HrtfBins /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Microsoft-Windows-Payments /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Microsoft-Windows-Skype-ORTC /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-MobilePC /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Modems /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Natural Language Development Platform 6 /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Network Data Usage Monitoring Driver /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-NFC /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Notification Intelligence Platform /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Now Playing banner /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Offline Files /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-OneDrive /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-OpenSSH /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-p9np /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-PackageInspector /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Parental Controls /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-PenService /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Performance Counters /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-PersonalizationCSP /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-PointOfService /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Policy-based QoS /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Printing-Workflow /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Problem Steps Recorder /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Profile /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Program Compability Assistant /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Provisioning /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Proximity /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Push Notifications /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-RAS /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Recovery Environment /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Recovery Media Creator /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-ReFs /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Remote Assistance /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Remote Differential Compression /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Remote Registry /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Remove_Defender /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Resource Exhaustion Prevention /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Retail Demo /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Rights Managmenet Services /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Screensavers /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Sensors /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-servicing /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Share Media Control Panel /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-SharedPC /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Smart Card Subsystem /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-sort /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Speech /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Storage provider /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-System Assessment Tool /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-System Resource Usage Monitor /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-System Restore /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-SystemReset /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-SystemResources /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Telephony /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Telephony API /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-TelephonyInteractiveUser /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Terminal Services /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Time Travel Debugging /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-TPM /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Troubleshoot /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-UEV /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Unix /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-User Data Access /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-UserChoice Protection Driver /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Video Capture Filters /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Virtualization /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Web Services for Management /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows Diagnostics Infrastructure /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows Firewall /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows Performance Toolkit /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows Store /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows To Go /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Windows-Security-NaturalAuthentication /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Wordbreaker-Stemmer /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-Work Folders /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-Windows-XBox Controllers /r "%~dp0Tools\tweak.exe" /n /p "%~dp0Mount" /c Microsoft-DiagTrack /r
ReFs Spoiler: DEL \Windows\System32\drivers\refs.sys \Windows\System32\drivers\refsv1.sys \Windows\System32\ReFsDedupSvc.exe \Windows\System32\RefsDedupSvc.Proxy.dll \Windows\System32\refsutil.exe \Windows\System32\uReFS.dll \Windows\System32\uReFSv1.dll
TPM Spoiler: DEL \Windows\INF\tpm.inf \Windows\System32\drivers\tpm.sys \Windows\System32\DriverStore\FileRepository\tpm.inf_* \Windows\INF\tpmvsc.inf \Windows\System32\DriverStore\FileRepository\tpmvsc.inf_* \Windows\System32\immersivetpmvscmgrsvr.exe \Windows\System32\rmttpmvscmgrsvr.exe \Windows\system32\tpm.msc \Windows\system32\TpmCertResources.dll \Windows\system32\tpmcompc.dll \Windows\system32\TpmCoreProvisioning.dll \Windows\system32\TpmInit.exe \Windows\system32\TpmTasks.dll \Windows\system32\TpmTool.exe \Windows\System32\tpmvsc.dll \Windows\System32\tpmvscmgr.exe \Windows\System32\tpmvscmgrsvr.exe \Windows\System32\wbem\Win32_Tpm.dll \Windows\SysWOW64\wbem\Win32_Tpm.dll \Windows\System32\wbem\Win32_Tpm.mof
Screensavers Spoiler: DEL \Windows\System32\Bubbles.scr \Windows\System32\Mystify.scr \Windows\System32\PhotoScreensaver.scr \Windows\System32\Ribbons.scr \Windows\System32\scrnsave.scr \Windows\System32\ssText3d.scr
Time Travel Debugging Spoiler: DEL \Windows\System32\drivers\ProcLaunchMon.sys \Windows\System32\ttdinject.exe \Windows\System32\ttdloader.dll \Windows\System32\ttdrecord.dll \Windows\System32\ttdrecordcpu.dll \Windows\System32\tttracer.exe \Windows\System32\ttdplm.dll
This is all very cool and we are all very grateful to you for your very useful information. But could you not give it out in parts by teaspoon, but somehow generalize everything and lay out in one array what can and should be removed from the image without disrupting its functionality?
Unable to present in a systematic manner, one can only constantly try, practice, revise, and accumulate experience.
It's clear, judging by the information you posted, I got the impression that you have already accumulated experience and are simply sharing it with us in measured doses. Well, experience is a good and necessary thing, then we will accumulate our experience together in tests ...
Yes, I am testing the potential consequences of deleting more files. Some issues may require more testing to be discovered, as personal needs and limited devices are necessary.