From 83d905282e54d4a6687b8dcf5652937a1d0d7578 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 27 Dec 2020 22:57:00 +0100 Subject: [PATCH] . --- wimscripts/aux-packages.cmd | 73 +++++++++----------------------- wimscripts/remove-components.cmd | 36 +++++++++++++--- 2 files changed, 52 insertions(+), 57 deletions(-) diff --git a/wimscripts/aux-packages.cmd b/wimscripts/aux-packages.cmd index 5760040..ad699e6 100644 --- a/wimscripts/aux-packages.cmd +++ b/wimscripts/aux-packages.cmd @@ -1,65 +1,34 @@ set MNT=c:\TEMP\WIM -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-EmbeddedExp" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-Optional-Features" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-ShellLauncher" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Management-SecureAssessment" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MultiPoint-Connector" /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-OneCore-Containers" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PAW-Feature" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Portable-Devices" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-WFS-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PremiumTools" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PMCPPC-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-InternetPrinting-Client" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-LocalPrinting-Enterprise" /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-SecureStartup" /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-Embedded-UnifiedWriteFilterCSP" /r /n +rem Critical ? : +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Format" /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-FCI-Client" /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-FodMetadata" /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-Hello-Face" /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-MediaPlayback-OC" /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-RegulatedPackages" /r /n - -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMPNetworkSharingService" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Security-SPP-Component-SKU" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Client-D" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Deprecation-Group" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Server-D-Opt" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect-Opt" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMPNetworkSharingService" /r /n - -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Onecore-SPP-VirtualDevice" /r /n rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ConfigCI" /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-Product-Data-EKB" /r /n +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Identity-Foundation" /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-Client-License-Platform" /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-Components" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Multimedia-RestrictedCodecsDolby" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Format" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MSMQ-Client" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MSMQ-MMC-OptGroup" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PhotoBasic" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Presentation" /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-Security-SPP-Component-SKU" /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-WMPNetworkSharingService" /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-Embedded-UnifiedWriteFilterCSP" /r /n +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MediaPlayback-OC" /r /n + +rem cannot remove ? : +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer" /r /n +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n +rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMPNetworkSharingService" /r /n rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad" /r /n rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad-FoD" /r /n -rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Identity-Foundation" /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-Desktop-BCDTemplate" /r /n - rem CLEANUP: del SOFTWAREBKP 1>nul 2>nul diff --git a/wimscripts/remove-components.cmd b/wimscripts/remove-components.cmd index 4888804..8c7cdf9 100644 --- a/wimscripts/remove-components.cmd +++ b/wimscripts/remove-components.cmd @@ -17,7 +17,6 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Hyper-V" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-IoTUAP-ShellExt-Tools" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Media-Foundation" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Mobile" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-AllJoyn" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-AllowTelemetry" /r /n install_wim_tweak.exe /p %MNT% /c "microsoft-onecore-applicationmodel-sync-desktop" /r /n @@ -46,8 +45,10 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Networking-MobileBroadbandA install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-NowPlayingSessionManager" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-PointOfService" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-RemoteDesktopServices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Sensors" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-SpeechComponents" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Onecore-SPP-VirtualDevice" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Tethering" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-TroubleShooting" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-UserDataAccess" /r /n @@ -69,6 +70,9 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Browser" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BusinessScanning" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Casting" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-AssignedAccess" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-EmbeddedExp" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-Optional-Features" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Client-ShellLauncher" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Common-Modem" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-COM-MSMQ" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Compression" /r /n @@ -82,7 +86,11 @@ install_wim_tweak.exe /p %MNT% /c "microsoft-windows-directoryservices-adam" /r 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-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-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 @@ -93,6 +101,7 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-LanguageFeatures" /r /n 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-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 @@ -101,19 +110,33 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MobileBroadband" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MobileCore" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MobilePC" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MRT10" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MSMQ-Client" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MSMQ-MMC-OptGroup" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-msmq" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MultiPoint-Connector" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Network-Connectivity-Assistant" /r /n 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" /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 +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-OneCore-Containers" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-OneDrive" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ParentalControls" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PAW-Feature" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerDist" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerToPeer" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PerformanceCounters" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PhotoBasic" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Portable-Devices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Presentation" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-InternetPrinting-Client" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-LocalPrinting-Enterprise" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PMCPPC-FoD" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PremiumTools" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PrintToPDFServices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-WFS-FoD" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-XPSServices" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Provisioning" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Proximity" /r /n @@ -132,6 +155,12 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ShareMedia" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Shell-HomeGroup" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Shell-SettingSync" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Skype" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Client-D" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Deprecation-Group" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Server-D-Opt" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect-Opt" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SnippingTool" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SNMP" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StepsRecorder" /r /n @@ -159,15 +188,11 @@ 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-WMPNetworkSharingService" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordBreaking" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad" /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 @@ -176,6 +201,7 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Xbox" /r /n install_wim_tweak.exe /p %MNT% /c "MSMQ-Driver-Package" /r /n install_wim_tweak.exe /p %MNT% /c "Multimedia-MFCore" /r /n install_wim_tweak.exe /p %MNT% /c "Multimedia-RestrictedCodecsCore" /r /n +install_wim_tweak.exe /p %MNT% /c "Multimedia-RestrictedCodecsDolby" /r /n install_wim_tweak.exe /p %MNT% /c "MultiPoint-Help" /r /n install_wim_tweak.exe /p %MNT% /c "MultiPoint" /r /n install_wim_tweak.exe /p %MNT% /c "Networking-MPSSVC-Rules-EnterpriseEdition-Package" /r /n