From 95b31fd691da952e405caef6d7c52c6281741d53 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Wed, 30 Dec 2020 11:12:12 +0100 Subject: [PATCH] . --- wimscripts/aux-packages.cmd | 64 -------------------------------- wimscripts/remove-components.cmd | 52 ++++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 68 deletions(-) delete mode 100644 wimscripts/aux-packages.cmd diff --git a/wimscripts/aux-packages.cmd b/wimscripts/aux-packages.cmd deleted file mode 100644 index eadb9da..0000000 --- a/wimscripts/aux-packages.cmd +++ /dev/null @@ -1,64 +0,0 @@ -set MNT=c:\TEMP\WIM - -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-FodMetadata" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Identity-Foundation" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Notepad-FoD" /r /n - -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Client-License-Platform" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-20H2Enablement" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-Desktop-Required" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-LanguagePack" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Common-Foundation" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Common-RegulatedPackages" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ConfigCI-Package" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ConfigCI-Onecore" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Desktop-BCDTemplate" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DesktopFileExplorer" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DeviceGuard-GPEXT" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-EditionPack-Professional" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Editions-Professional" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-EditionSpecific-Professional" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Embedded-UnifiedWriteFilterCSP" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Enterprise-Desktop-Share" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-FCI-Client" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Foundation" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-GroupPolicy-ClientExtensions" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-GroupPolicy-ClientTools" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Holographic-Desktop" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HVSI" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MSPaint-FoD" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx2" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx3" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx4" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NewTabPageHost" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PowerShell-ISE-FOD" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Product-Data-EKB" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Product-Data-EKB" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Professional-SPP-Components" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ProfessionalEdition" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RegulatedPackages" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Required-ShellExperiences-Desktop" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Runtime-Metadata-Desktop" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SecureStartup" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SecureStartup-Subsystem" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-Education-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-Enterprise" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-IoTEnterprise-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-Professional-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-ProfessionalCountrySpecific-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-ProfessionalEducation-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-ProfessionalSingleLanguage-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-ProfessionalWorkstation-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU-ServerRdsh-License" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ShellExperienceHost" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMPNetworkSharingService" /r /n - -rem CLEANUP: -del SOFTWAREBKP 1>nul 2>nul - -rem export remaining PACKAGE names ... -install_wim_tweak /p %MNT% /l -dir Packages.txt - diff --git a/wimscripts/remove-components.cmd b/wimscripts/remove-components.cmd index 1b5b5f9..4268d8f 100644 --- a/wimscripts/remove-components.cmd +++ b/wimscripts/remove-components.cmd @@ -85,12 +85,14 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DeviceSync" /r /n install_wim_tweak.exe /p %MNT% /c "microsoft-windows-directoryservices-adam" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DirectoryServices-ADAM" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-EnterpriseClientSync" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-FodMetadata" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Geolocation" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Hello-Face" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Help" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HVSI-Components" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Identity-Foundation" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-IIS-WebServer" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-International" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-InternetExplorer" /r /n @@ -102,6 +104,8 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Legacy" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Links" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Lxss" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Management-SecureAssessment" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Format" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MediaPlayback-OC" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MediaPlayer" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Streaming" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Migration" /r /n @@ -118,6 +122,7 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Network-Connectivity-Assist install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetworkDiagnostics" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Network-QoS" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NFS" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Notepad-FoD" /r /n install_wim_tweak.exe /p %MNT% /c "microsoft-windows-notepad" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Not-Supported-On-LTSB" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-OfflineFiles" /r /n @@ -188,11 +193,14 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualPC" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualXP" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WebcamExperience" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsFoundation-LanguagePack" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinOcr" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinRT" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinSATMediaFiles" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMIPerf" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordBreaking" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad-FoD" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WorkplaceJoin" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-LegacyWmdmFeature" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature" /r /n @@ -213,11 +221,47 @@ install_wim_tweak.exe /p %MNT% /c "Server-Help" /r /n install_wim_tweak.exe /p %MNT% /c "Windows-Defender" /r /n install_wim_tweak.exe /p %MNT% /c "WindowsSearchEngineSKU-Group" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Format" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MediaPlayback-OC" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n +rem ESSENTIAL (do NOT remove): + +rem Microsoft-Client-License-Platform +rem Microsoft-Windows-20H2Enablement +rem Microsoft-Windows-Client-Desktop-Required +rem Microsoft-Windows-Client-LanguagePack +rem Microsoft-Windows-Common-Foundation +rem Microsoft-Windows-Common-RegulatedPackages +rem Microsoft-Windows-ConfigCI +rem Microsoft-Windows-Desktop-BCDTemplate +rem Microsoft-Windows-DesktopFileExplorer +rem Microsoft-Windows-DeviceGuard-GPEXT +rem Microsoft-Windows-EditionPack-Professional +rem Microsoft-Windows-EditionSpecific-Professional +rem Microsoft-Windows-Editions-Professional +rem Microsoft-Windows-Embedded-UnifiedWriteFilterCSP +rem Microsoft-Windows-Enterprise-Desktop-Share +rem Microsoft-Windows-FCI-Client +rem Microsoft-Windows-Foundation +rem Microsoft-Windows-GroupPolicy-ClientExtensions +rem Microsoft-Windows-GroupPolicy-ClientTools +rem Microsoft-Windows-Holographic-Desktop +rem Microsoft-Windows-HVSI +rem Microsoft-Windows-MSPaint-FoD +rem Microsoft-Windows-NetFx +rem Microsoft-Windows-NetFx2 +rem Microsoft-Windows-NetFx3 +rem Microsoft-Windows-NetFx4 +rem Microsoft-Windows-NewTabPageHost +rem Microsoft-Windows-PowerShell-ISE-FOD +rem Microsoft-Windows-Product-Data-EKB +rem Microsoft-Windows-ProfessionalEdition +rem Microsoft-Windows-Professional-SPP-Components +rem Microsoft-Windows-RegulatedPackages +rem Microsoft-Windows-Required-ShellExperiences-Desktop +rem Microsoft-Windows-Runtime-Metadata-Desktop +rem Microsoft-Windows-SecureStartup +rem Microsoft-Windows-Security-SPP-Component-SKU +rem Microsoft-Windows-ShellExperienceHost +rem Microsoft-Windows-WMPNetworkSharingService rem CLEANUP: del SOFTWAREBKP 1>nul 2>nul