From 250460a3ade97481992cd3c65eb78decf8445f89 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Fri, 19 Mar 2021 18:25:28 +0100 Subject: [PATCH] packages testing ... --- 04_FormatStick.cmd | 8 +- wim/packages-to-remove.csv | 40 +------- wim/packages-to-remove_COPY.csv | 169 ++++++++++++++++++++++++++++++++ 3 files changed, 176 insertions(+), 41 deletions(-) create mode 100644 wim/packages-to-remove_COPY.csv diff --git a/04_FormatStick.cmd b/04_FormatStick.cmd index c2ace5c..69ba1c0 100644 --- a/04_FormatStick.cmd +++ b/04_FormatStick.cmd @@ -2,9 +2,8 @@ set T=c:\TEMP set DPARTSCRIPT=%T%\diskpart.txt -rem create temp directory and cleanup ... +rem create temp directory ... mkdir %T% 1>nul 2>nul -del /Y %DPARTSCRIPT% 1>nul 2>nul echo ==================== echo Format USB Stick ... @@ -53,6 +52,7 @@ set answer= ) if /i "%answer:~,1%" EQU "N" ( echo ABORT. + del /F %DPARTSCRIPT% 1>nul 2>nul exit /b ) echo Please type Y or N. @@ -77,12 +77,16 @@ rem ===== diskpart /s %DPARTSCRIPT% 1>nul 2>nul if %errorlevel% NEQ 0 ( echo ERROR: while formatting the disk! + del /F %DPARTSCRIPT% 1>nul 2>nul exit /b ) echo READY. echo USB stick formatted. echo. +rem cleanup ... +del /F %DPARTSCRIPT% 1>nul 2>nul + rem ===== rem END rem ===== diff --git a/wim/packages-to-remove.csv b/wim/packages-to-remove.csv index 8cc9233..65297e5 100644 --- a/wim/packages-to-remove.csv +++ b/wim/packages-to-remove.csv @@ -1,21 +1,3 @@ -Adobe-Flash -Containers-ApplicationGuard -Containers-Client -Containers-DisposableClientVM -Containers-Guest-Gated -Containers-OptionalFeature -Containers-Server -DeviceAccess -HyperV -LanguageFeatures-WordBreaking -Media-FaceAnalysis -Media-Ocr -Microsoft-Composable-PlatformExtension -Microsoft-Hyper-V -Microsoft-IoTUAP-ShellExt-Tools -Microsoft-Mobile -Microsoft-PPIProjection -Microsoft-UtilityVM Microsoft-Windows-3DAudio Microsoft-Windows-ApiSetSchemaExtension-HyperV Microsoft-Windows-AppCompat @@ -146,24 +128,4 @@ Microsoft-Windows-WordBreaking Microsoft-Windows-WorkplaceJoin Microsoft-Windows-WPD-LegacyWmdmFeature Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature -Microsoft-Windows-Xps -Microsoft-Xbox -MSMQ-Driver-Package -MultiPoint -Networking-MPSSVC-Rules-EnterpriseEdition-Package -OpenSSH-Client-Package -openssh-client-package-Wrapper -RemoteDesktopServices -Sensors-Universal -Server-Help -Windows-Defender -WindowsSearchEngineSKU-Group -Microsoft-OneCore-Multimedia-CastingCommon -Microsoft-OneCore-Multimedia-CastingReceiver -Microsoft-OneCore-Multimedia-CastingTransmitter -Microsoft-OneCore-DeviceUpdateCenter -Microsoft-OneCore-DirectX-Database -Microsoft-OneCore-IsolatedUserMode -Microsoft-Onecore-SPP-VirtualDevice -Microsoft-OneCore-VirtualizationBasedSecurity -Microsoft-Windows-WMPNetworkSharingService +Microsoft-Windows-Xps \ No newline at end of file diff --git a/wim/packages-to-remove_COPY.csv b/wim/packages-to-remove_COPY.csv new file mode 100644 index 0000000..8cc9233 --- /dev/null +++ b/wim/packages-to-remove_COPY.csv @@ -0,0 +1,169 @@ +Adobe-Flash +Containers-ApplicationGuard +Containers-Client +Containers-DisposableClientVM +Containers-Guest-Gated +Containers-OptionalFeature +Containers-Server +DeviceAccess +HyperV +LanguageFeatures-WordBreaking +Media-FaceAnalysis +Media-Ocr +Microsoft-Composable-PlatformExtension +Microsoft-Hyper-V +Microsoft-IoTUAP-ShellExt-Tools +Microsoft-Mobile +Microsoft-PPIProjection +Microsoft-UtilityVM +Microsoft-Windows-3DAudio +Microsoft-Windows-ApiSetSchemaExtension-HyperV +Microsoft-Windows-AppCompat +Microsoft-Windows-AppManagement +Microsoft-Windows-AppServerClient +Microsoft-Windows-Backup +Microsoft-Windows-Basic-Http-Minio +Microsoft-Windows-BioEnrollment +Microsoft-Windows-BITS +Microsoft-Windows-Branding-Enterprise +Microsoft-Windows-Browser +Microsoft-Windows-BusinessScanning +Microsoft-Windows-Casting +Microsoft-Windows-Client-AssignedAccess +Microsoft-Windows-Client-EmbeddedExp +Microsoft-Windows-Client-Optional-Features +Microsoft-Windows-Client-ShellLauncher +Microsoft-Windows-Common-Modem +Microsoft-Windows-COM-MSMQ +Microsoft-Windows-Compression +Microsoft-Windows-ContactSupport +Microsoft-Windows-ContentDeliveryManager +Microsoft-Windows-CoreSystem-DebugTransports +Microsoft-Windows-Cortana +Microsoft-Windows-DataCenterBridging +Microsoft-Windows-DeviceSync +Microsoft-Windows-DirectoryServices +Microsoft-Windows-EnterpriseClientSync +Microsoft-Windows-FodMetadata +Microsoft-Windows-Geolocation +Microsoft-Windows-Hello-Face +Microsoft-Windows-Help +Microsoft-Windows-HVSI-Components +Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform +Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform +Microsoft-Windows-Identity-Foundation +Microsoft-Windows-IIS-WebServer +Microsoft-Windows-International +Microsoft-Windows-InternetExplorer +Microsoft-Windows-Internet +Microsoft-Windows-Killbits +Microsoft-Windows-LanguageEnablingComponents +Microsoft-Windows-LanguageFeatures +Microsoft-Windows-Legacy +Microsoft-Windows-Links +Microsoft-Windows-Lxss +Microsoft-Windows-Management-SecureAssessment +Microsoft-Windows-Migration +Microsoft-Windows-MiracastView +Microsoft-Windows-MobileBroadband +Microsoft-Windows-MobileCore +Microsoft-Windows-MobilePC +Microsoft-Windows-MRT10 +Microsoft-Windows-MSMQ +Microsoft-Windows-MultiPoint-Connector +Microsoft-Windows-Network-Connectivity-Assistant +Microsoft-Windows-NetworkDiagnostics +Microsoft-Windows-Network-QoS +Microsoft-Windows-NFS +Microsoft-Windows-Not-Supported-On-LTSB +Microsoft-Windows-OfflineFiles +Microsoft-Windows-OneCore-Containers +Microsoft-Windows-OneDrive +Microsoft-Windows-ParentalControls +Microsoft-Windows-PAW-Feature +Microsoft-Windows-PeerDist +Microsoft-Windows-PeerToPeer +Microsoft-Windows-PerformanceCounters +Microsoft-Windows-PhotoBasic +Microsoft-Windows-Portable-Devices +Microsoft-Windows-Printing-InternetPrinting-Client +Microsoft-Windows-Printing-LocalPrinting-Enterprise +Microsoft-Windows-Printing-PremiumTools +Microsoft-Windows-Printing-PrintToPDFServices +microsoft-windows-printing-wfs-fod-package-Wrapper +Microsoft-Windows-Printing-WFS-FoD-Package +Microsoft-Windows-Printing-XPSServices +Microsoft-Windows-Provisioning +Microsoft-Windows-Proximity +Microsoft-Windows-QuickAssist +Microsoft-Windows-RDC +Microsoft-Windows-RemoteAssistance +Microsoft-Windows-RemoteDesktop +Microsoft-Windows-RemoteFX +Microsoft-Windows-RetailDemo +Microsoft-Windows-Search2 +Microsoft-Windows-SearchEngine +Microsoft-Windows-SenseClient +Microsoft-Windows-Serial +Microsoft-Windows-ShareMedia +Microsoft-Windows-Shell-HomeGroup +Microsoft-Windows-Shell-SettingSync +Microsoft-Windows-Skype +Microsoft-Windows-SMB1Client-D +Microsoft-Windows-SMB1Deprecation-Group +Microsoft-Windows-SMB1 +Microsoft-Windows-SMB1Server-D-Opt +Microsoft-Windows-SmbDirect-Opt +Microsoft-Windows-SmbDirect +Microsoft-Windows-SnippingTool +Microsoft-Windows-SNMP +Microsoft-Windows-StorageService +Microsoft-Windows-Store +Microsoft-Windows-SystemRestore +Microsoft-Windows-TabletPC +Microsoft-Windows-TabletPCMath +microsoft-windows-tabletpcmath-package-Wrapper +Microsoft-Windows-TabShellExperience +Microsoft-Windows-TerminalServices +Microsoft-Windows-TextPrediction-Dictionaries +Microsoft-Windows-TextPrediction +Microsoft-Windows-TroubleShooting +Microsoft-Windows-TS +Microsoft-Windows-UpdateTargeting-ClientOS +Microsoft-Windows-UserExperience +microsoft-windows-userexperience-desktop-package-Wrapper +Microsoft-Windows-Virtualization-RemoteFX-User-Mode-Transport +Microsoft-Windows-Virtualization +Microsoft-Windows-VirtualPC +Microsoft-Windows-VirtualXP +Microsoft-Windows-WebcamExperience +Microsoft-Windows-WindowsFoundation-LanguagePack +Microsoft-Windows-WinOcr +Microsoft-Windows-WinRT +Microsoft-Windows-WinSATMediaFiles +Microsoft-Windows-WMIPerf +Microsoft-Windows-WordBreaking +Microsoft-Windows-WorkplaceJoin +Microsoft-Windows-WPD-LegacyWmdmFeature +Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature +Microsoft-Windows-Xps +Microsoft-Xbox +MSMQ-Driver-Package +MultiPoint +Networking-MPSSVC-Rules-EnterpriseEdition-Package +OpenSSH-Client-Package +openssh-client-package-Wrapper +RemoteDesktopServices +Sensors-Universal +Server-Help +Windows-Defender +WindowsSearchEngineSKU-Group +Microsoft-OneCore-Multimedia-CastingCommon +Microsoft-OneCore-Multimedia-CastingReceiver +Microsoft-OneCore-Multimedia-CastingTransmitter +Microsoft-OneCore-DeviceUpdateCenter +Microsoft-OneCore-DirectX-Database +Microsoft-OneCore-IsolatedUserMode +Microsoft-Onecore-SPP-VirtualDevice +Microsoft-OneCore-VirtualizationBasedSecurity +Microsoft-Windows-WMPNetworkSharingService