This commit is contained in:
Michael H.G. Schmidt 2021-01-10 23:14:52 +01:00
parent de9700e31f
commit 5651e5663c
9 changed files with 252 additions and 314 deletions

View File

@ -23,9 +23,6 @@ rd /S /Q %TOOLS%
echo copying folder tools to %TOOLS% ...
robocopy tools %TOOLS% /MIR /256 /NJH /NFL /NDL
rem delete .gitignore in tools folder ...
del /F %TOOLS%\.gitignore
rem cd to scripts folder ...
cd scripts
@ -34,8 +31,8 @@ echo unpacking BGInfo ...
del /F %TOOLS%\BGInfo.zip 1>nul 2>nul
echo unpacking TOTAL commander ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\totalcmd.zip
del /F %TOOLS%\totalcmd.zip 1>nul 2>nul
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\totalcmd_951.zip
del /F %TOOLS%\totalcmd_951.zip 1>nul 2>nul
echo unpacking notepad++ ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\notepad++.zip

View File

@ -46,7 +46,7 @@ if NOT EXIST %USBDRIVE% (
if EXIST %SOURCES%\install_FINAL.esd (
echo copying install.esd to drive %USBDRIVE% ...
robocopy %SOURCES% %USBDRIVE%\sources install_FINAL.esd /NJH
robocopy %SOURCES% %USBDRIVE%\sources install_FINAL.esd /J /NJH
del /F %USBDRIVE%\sources\install.esd
move /Y %USBDRIVE%\sources\install_FINAL.esd %USBDRIVE%\sources\install.esd
move /Y %SOURCES%\install_FINAL.esd %SOURCES%\install_FINAL_copy.esd
@ -54,12 +54,14 @@ if EXIST %SOURCES%\install_FINAL.esd (
for %%P in (tools software scripts) do (
if EXIST %%P (
rd /S /Q %USBDRIVE%\%%P 1>nul 2>nul
echo.
echo copying folder %%P to drive %USBDRIVE% ...
robocopy %%P %USBDRIVE%\%%P /MIR /256 /NJH /NFL /NDL
robocopy %%P %USBDRIVE%\%%P /COPY:DT /FFT /XO /MIR /256 /NJH /NJS /NDL /XF .gitignore
del /F %USBDRIVE%\%%P\.gitignore 1>nul 2>nul
)
)
echo.
echo copying custom setup script to %USBDRIVE% ...
copy /Y CustomSetup.cmd %USBDRIVE%\

View File

@ -4,15 +4,19 @@ set TOOLS=c:\tools
echo ####### %0 #######
echo remove wallpaper...
echo remove wallpaper ...
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
echo set desktop colour...
echo set desktop colour ...
%TOOLS%\setbgcol
echo starting BGInfo ....
echo starting BGInfo ...
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
echo start workstation service ...
net start workstation 1>nul 2>nul
net config workstation
echo ####### %0 #######

View File

@ -1,7 +1,7 @@
@echo off
set SOURCE=icons
set TARGET=c:\Users\Public\Desktop
set TARGET=%PUBLIC%\Desktop
echo ####### %0 #######

View File

@ -16,6 +16,8 @@ msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
rem cleanup ...
del /Q %MSI% 1>nul 2>nul
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Open-Shell\Open-Shell Readme.lnk" 1>nul 2>nul
cd %SCRIPTS%
echo ####### %0 #######

View File

@ -10,5 +10,8 @@ echo ####### %0 #######
rd /S /Q %EDGEROOT% 1>nul 2>nul
rd /S /Q %EDGEUPDATE% 1>nul 2>nul
del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" 1>nul 2>nul
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 1>nul 2>nul
echo ####### %0 #######

5
wim/list-packages.cmd Normal file
View File

@ -0,0 +1,5 @@
@echo off
set MNT=c:\TEMP\WIM
dism /Image:%MNT% /Get-Packages /Format:Table

View File

@ -18,42 +18,8 @@ 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
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-ApplicationModel-Sync" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Biometrics" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-BITS" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-CameraCaptureUI" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Connectivity-NFC" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Connectivity-Serial" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Containers" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-DebugCore" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-DeviceUpdateCenter" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-EnergyEstimationEngine" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-ESENT" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Gaming" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Indexer" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-InkPlatform" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Maps" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Miracast" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Multimedia-CastingCommon" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Multimedia-CastingReceiver" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Multimedia-CastingTransmitter" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Multimedia-MFPMP" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Networking-MobileBroadbandApi" /r /n
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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Wallet" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-WebService" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-onecore-applicationmodel-sync-desktop-fod-package-Wrapper" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Onecore-SPP-VirtualDevice-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-PPIProjection" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-UtilityVM" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-3DAudio" /r /n
@ -82,8 +48,7 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-CoreSystem-DebugTransports"
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Cortana" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DataCenterBridging" /r /n
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-DirectoryServices" /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
@ -107,6 +72,7 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Management-SecureAssessment
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-MediaPlayer-Payload-Package" /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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MiracastView" /r /n
@ -114,16 +80,18 @@ 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-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-NetFx2-OC-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx3-OC-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx3-OnDemand-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx3-WCF-OC-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx4-US-OC-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-NetFx4-WCF-US-OC-Package" /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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-OneCore-Containers" /r /n
@ -138,10 +106,11 @@ 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-PMCPPC-FoD-Package" /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-wfs-fod-package-Wrapper" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-WFS-FoD-Package" /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
@ -149,7 +118,6 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-QuickAssist" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RDC" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RemoteAssistance" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RemoteDesktop" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-RemoteFX-clientVM-RemoteFXWDDMDriver" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RemoteFX" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RetailDemo" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Search2" /r /n
@ -168,13 +136,13 @@ 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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StepsRecorder-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StorageService" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Store" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SystemRestore" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-tabletpcmath" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TabletPCMath" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TabletPC" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TabletPCMath" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-tabletpcmath-package-Wrapper" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TabShellExperience" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Telnet-Client" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Telnet" /r /n
@ -185,8 +153,8 @@ install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TFTP-Client" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TroubleShooting" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TS" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-UpdateTargeting-ClientOS" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-UserExperience-Desktop" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-userexperience" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-UserExperience" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-userexperience-desktop-package-Wrapper" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Virtualization-RemoteFX-User-Mode-Transport" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Virtualization" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualPC" /r /n
@ -194,7 +162,7 @@ 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-WindowsMediaPlayer-Troubleshooters-Package" /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
@ -210,59 +178,16 @@ 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
install_wim_tweak.exe /p %MNT% /c "OpenSSH-Client-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "openssh-client-package-Wrapper" /r /n
install_wim_tweak.exe /p %MNT% /c "RemoteDesktopServices-Base-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "RemoteDesktopServices" /r /n
install_wim_tweak.exe /p %MNT% /c "Sensors-Universal" /r /n
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
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 /F SOFTWAREBKP 1>nul 2>nul