This commit is contained in:
Michael H.G. Schmidt 2021-01-10 15:49:37 +01:00
parent bb34d2e85c
commit 09b3c6ef11
71 changed files with 1319 additions and 712 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
tools/*
software/*
*.swp *.swp
*.wim *.wim
*.iso *.iso

125
CustomSetup.cmd Normal file
View File

@ -0,0 +1,125 @@
@echo off
set T=c:\TEMP
set TOOLS=c:\tools
mkdir %USERPROFILE%\workspace 1>nul 2>nul
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
echo ####### %0 #######
rem echo DISABLE firewall ...
rem netsh advfirewall set allprofiles state off
echo creating TEMP directory ...
mkdir %T% 1>nul 2>nul
echo killing ssh agent ...
taskkill /F /IM ssh-agent.exe
taskkill /F /IM ssh.exe
echo restart explorer ...
taskkill /F /IM explorer.exe & start explorer.exe
echo deleting %TOOLS% and %SCRIPTS% ...
rd /S /Q %TOOLS%
echo copying folder tools to %TOOLS% ...
robocopy tools %TOOLS% /MIR /256 /NJH /NFL /NDL
rem chdir to scripts folder ...
cd scripts
echo unpacking BGInfo ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\BGInfo.zip
del /Q %TOOLS%\BGInfo.zip 1>nul 2>nul
echo unpacking TOTAL commander ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\totalcmd.zip
del /Q %TOOLS%\totalcmd.zip 1>nul 2>nul
echo unpacking notepad++ ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\notepad++.zip
del /Q %TOOLS%\notepad++.zip 1>nul 2>nul
echo unpacking ImapCopy ...
%TOOLS%\7z x -aoa -o%TOOLS% %TOOLS%\ImapCopy.zip
del /Q %TOOLS%\ImapCopy.zip 1>nul 2>nul
echo installing GIT ...
call install-git.cmd
echo setting GIT_EDITOR variable (all users) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
/v GIT_EDITOR ^
/t REG_EXPAND_SZ ^
/d "%TOOLS%\vim.exe" ^
/f
echo setting GIT_SSH variable (all users) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
/v GIT_SSH ^
/t REG_EXPAND_SZ ^
/d "%TOOLS%\usr\bin\ssh.exe" ^
/f
rem installing startup links ...
call install-logonscript.cmd
rem installing desktop icons ...
call install-desktopicons.cmd
rem installing tweaks ...
call install-tweaks.cmd
rem changing power configuration ...
call install-powertweaks.cmd
rem uninstall OneDrive completely ...
call %SCRIPTS%\uninstall-onedrive.cmd
rem uninstall Edge completely ...
call %SCRIPTS%\uninstall-edge.cmd
rem allow execution of any powershell script ...
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine"
powershell -Command ^
"$T=Get-ExecutionPolicy ; if ($T -eq 'Bypass') { ^
write-host 'POWERSHELL: Execution Policy was set to BYPASS' ^
} ^
else { ^
write-host 'ERROR: CANNOT SET Execution Policy to BYPASS !' ^
}"
echo.
rem uninstall some Apps (but keep the store) ...
powershell %SCRIPTS%\uninstall-apps.ps1
echo setting PATH variable (all users) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
/v PATH ^
/t REG_EXPAND_SZ ^
/d "%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\wbem;%SYSTEMROOT%\system32\WindowsPowerShell\v1.0;%TOOLS%;%TOOLS%\git\bin;%TOOLS%\git\usr\bin;%TOOLS%\notepad++" ^
/f
echo cleanup startmenu ...
call %SCRIPTS%\cleanup-startmenu.cmd
powershell -Command %SCRIPTS%\cleanup-tiles.ps1
rem install openshell (fuck you microsoft) ...
call %SCRIPTS%\install-openshell.cmd
rem install Mozilla Firefox (fuck you google) ...
call %SCRIPTS%\install-firefox.cmd
rem install F-Secure Antivirus ...
call %SCRIPTS%\install-antivir.cmd
rem echo ENABLE firewall ...
rem netsh advfirewall set allprofiles state on
rem disable autologon for support user ...
call %SCRIPTS%\disable-autologon.cmd
echo ####### %0 #######
echo READY.
pause

View File

@ -1,35 +1,75 @@
@echo off @echo off
set TARGET=D:\ set SOURCES=c:\TEMP\W10\sources
set SOURCES=c:\TEMP\Win10\sources
echo ####### %0 ####### rem ===================
rem COMMANDLINE CHECKS
rem ===================
echo using drive %TARGET% ... IF %1.==. GOTO USAGE
set USBDRIVE=%1
if NOT EXIST %TARGET% ( if NOT EXIST %USBDRIVE% (
echo ERROR: drive %TARGET% not found! echo ERROR: file %USBDRIVE% does not exist!
exit /b
)
if /I %USBDRIVE% == C: (
echo ERROR: cannot use drive %USBDRIVE% !
exit /b
)
rem =====
rem MAIN
rem =====
echo using drive %USBDRIVE% ...
if NOT EXIST %USBDRIVE% (
echo ERROR: drive %USBDRIVE% not found!
exit /b exit /b
) )
:ask :ask
set /p answer="BIOS or UEFI setup (B/U)? " set /p answer="BIOS or UEFI setup (B/U)? "
if /i "%answer:~,1%" EQU "B" ( if /i "%answer:~,1%" EQU "B" (
copy /Y autounattend_BIOS.xml %TARGET%\autounattend.xml copy /Y autounattend_BIOS.xml %USBDRIVE%\autounattend.xml
goto cont GOTO CONT
) )
if /i "%answer:~,1%" EQU "U" ( if /i "%answer:~,1%" EQU "U" (
copy /Y autounattend_UEFI.xml %TARGET%\autounattend.xml copy /Y autounattend_UEFI.xml %USBDRIVE%\autounattend.xml
goto cont GOTO CONT
) )
echo Please type B for BIOS or U for UEFI setup. echo Please type B for BIOS or U for UEFI setup.
goto ask goto ask
:cont :CONT
if EXIST %SOURCES%\install_FINAL.esd ( if EXIST %SOURCES%\install_FINAL.esd (
robocopy %SOURCES% %TARGET%\sources install_FINAL.esd echo copying install.esd to drive %USBDRIVE% ...
del /Q %TARGET%\sources\install.esd 1>nul 2>nul robocopy %SOURCES% %USBDRIVE%\sources install_FINAL.esd /NFL /NDL
move /Y %TARGET%\sources\install_FINAL.esd %TARGET%\sources\install.esd 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 move /Y %SOURCES%\install_FINAL.esd %SOURCES%\install_FINAL_copy.esd
) )
echo ####### %0 ####### for %%P in (tools software scripts) do (
if EXIST %%P (
rd /S /Q %USBDRIVE%\%%P
echo copying folder %%P to drive %USBDRIVE% ...
robocopy %%P %USBDRIVE%\%%P /MIR /256 /NJH /NFL /NDL
)
)
echo copying custom setup script to %USBDRIVE% ...
copy /Y CustomSetup.cmd %USBDRIVE%\
rem =====
rem END
rem =====
GOTO END
:USAGE
echo "usage: %0 <USBDRIVE>"
:END

View File

@ -1,15 +0,0 @@
@echo off
set SCRIPTS=%WINDIR%\Setup\scripts
set LOG=C:\SetupComplete.txt
mkdir %SCRIPTS% 1>nul 2>nul
del /Q %LOG% 1>nul 2>nul
echo ####### %0 #######
copy /Y SetupComplete.cmd %SCRIPTS%
copy /Y ToolsDownload.* %SCRIPTS%
echo ####### %0 #######
call %SCRIPTS%\SetupComplete.cmd

View File

@ -128,7 +128,7 @@
<SynchronousCommand wcm:action="add"> <SynchronousCommand wcm:action="add">
<Order>2</Order> <Order>2</Order>
<Description>Initial Setup</Description> <Description>Initial Setup</Description>
<CommandLine>cmd /C c:\scripts\1st-setup.cmd</CommandLine> <CommandLine>cmd /C c:\windows\setup\scripts\StartCustomSetup.cmd</CommandLine>
</SynchronousCommand> </SynchronousCommand>
</FirstLogonCommands> </FirstLogonCommands>
</component> </component>

View File

@ -148,7 +148,7 @@
<SynchronousCommand wcm:action="add"> <SynchronousCommand wcm:action="add">
<Order>2</Order> <Order>2</Order>
<Description>Initial Setup</Description> <Description>Initial Setup</Description>
<CommandLine>cmd /C c:\scripts\1st-setup.cmd</CommandLine> <CommandLine>cmd /C c:\windows\setup\scripts\StartCustomSetup.cmd</CommandLine>
</SynchronousCommand> </SynchronousCommand>
</FirstLogonCommands> </FirstLogonCommands>
</component> </component>

View File

@ -1,8 +0,0 @@
set W10=c:\TEMP\Win10
rd /S /Q %W10% 1>nul 2>nul
mkdir %W10% 1>nul 2>nul
powershell Mount-DiskImage -ImagePath %W10%.iso
robocopy \\.\CDROM0 %W10% /MIR /256
powershell Dismount-Diskimage -ImagePath %W10%.iso

View File

@ -1,9 +0,0 @@
mkdir c:\TEMP 1>nul 2>nul
set ISOGLOB=c:\TEMP\Win10*.iso
set ISO=c:\TEMP\Win10.iso
del %ISOGLOB% 1>nul 2>nul
ftp -i -s:download-iso.ftp
move %ISOGLOB% %ISO%

View File

@ -1,9 +0,0 @@
open exabyte-systems.com
w10install
9054c6cf-c54c
binary
lcd c:\TEMP
cd iso
mget Win10*.iso
bye

5
iso/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.swp
*.wim
*.iso
*.exe
*.dll

View File

46
iso/extract-iso.cmd Normal file
View File

@ -0,0 +1,46 @@
@echo off
set T=c:\TEMP
set W10=%T%\W10
rem ===================
rem COMMANDLINE CHECKS
rem ===================
IF %1.==. GOTO USAGE
rem get fullpath of isofile ...
set ISOFILE=%~f1
if NOT EXIST %ISOFILE% (
echo ERROR: file %ISOFILE% not found!
exit /b
)
rem =====
rem MAIN
rem =====
echo preparing %T% ...
mkdir %T% 1>nul 2>nul
rd /S /Q %W10% 1>nul 2>nul
mkdir %W10% 1>nul 2>nul
echo mounting disk image (iso) with powershell ...
powershell Mount-DiskImage -ImagePath %ISOFILE%
echo copying files from image to targetpath %W10% ...
robocopy \\.\CDROM0 %W10% /MIR /256 /NFL /NDL
echo unmounting disk image (iso) ...
powershell Dismount-Diskimage -ImagePath %ISOFILE%
rem =====
rem END
rem =====
GOTO END
:USAGE
echo "usage: %0 <ISOFILE>"
:END

View File

@ -1,6 +0,0 @@
set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
mkdir %MNT%
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT%

View File

@ -1,55 +1,55 @@
@echo off @echo off
set LOG=c:\ToolsDownload.txt set LOG=c:\ToolsDownload.txt
set SETUPDIR=c:\Windows\Setup\scripts set SETUPDIR=c:\Windows\Setup\scripts
set FTPSCRIPT=ToolsDownload.ftp set FTPSCRIPT=ToolsDownload.ftp
set T=c:\TEMP set T=c:\TEMP
set TOOLS=c:\tools set TOOLS=c:\tools
set SCRIPTS=c:\scripts set SCRIPTS=c:\scripts
del /Q %LOG% 1>nul 2>nul del /F %LOG% 1>nul 2>nul
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
shift /1 shift /1
echo ####### %0 ####### echo ####### %0 #######
date /t date /t
time /t time /t
echo. echo.
echo killing some processes... echo killing some processes...
taskkill /F /IM ssh-agent.exe taskkill /F /IM ssh-agent.exe
taskkill /F /IM ssh.exe taskkill /F /IM ssh.exe
echo restart explorer ... echo restart explorer ...
taskkill /F /IM explorer.exe & start explorer.exe taskkill /F /IM explorer.exe & start explorer.exe
echo deleting %TOOLS% and %SCRIPTS% ... echo deleting %TOOLS% and %SCRIPTS% ...
rd /S /Q %TOOLS% rd /S /Q %TOOLS%
rd /S /Q %SCRIPTS% rd /S /Q %SCRIPTS%
echo creating directories ... echo creating directories ...
mkdir %T% 1>nul 2>nul mkdir %T% 1>nul 2>nul
mkdir %TOOLS% 1>nul 2>nul mkdir %TOOLS% 1>nul 2>nul
mkdir %SCRIPTS% 1>nul 2>nul mkdir %SCRIPTS% 1>nul 2>nul
mkdir %SCRIPTS%\conf 1>nul 2>nul mkdir %SCRIPTS%\conf 1>nul 2>nul
mkdir %SCRIPTS%\desktop 1>nul 2>nul mkdir %SCRIPTS%\desktop 1>nul 2>nul
mkdir %SCRIPTS%\tweaks 1>nul 2>nul mkdir %SCRIPTS%\tweaks 1>nul 2>nul
mkdir %SCRIPTS%\other 1>nul 2>nul mkdir %SCRIPTS%\other 1>nul 2>nul
echo DISABLE firewall (for FTP access) ... echo DISABLE firewall (for FTP access) ...
netsh advfirewall set allprofiles state off netsh advfirewall set allprofiles state off
echo getting TOOLS from webserver ... echo getting TOOLS from webserver ...
cd /D %SETUPDIR% cd /D %SETUPDIR%
if EXIST %FTPSCRIPT% ( if EXIST %FTPSCRIPT% (
echo EXECUTING ftp script %FTPSCRIPT% in path %SETUPDIR% ... echo EXECUTING ftp script %FTPSCRIPT% in path %SETUPDIR% ...
ftp -i -s:%FTPSCRIPT% ftp -i -s:%FTPSCRIPT%
) else ( ) else (
echo INFO: %FTPSCRIPT% not found in path %SETUPDIR% ! echo INFO: %FTPSCRIPT% not found in path %SETUPDIR% !
) )
echo. echo.
date /t date /t
time /t time /t
echo ####### %0 ####### echo ####### %0 #######

View File

@ -1,35 +1,35 @@
open exabyte-systems.com open exabyte-systems.com
w10install w10install
9054c6cf-c54c 9054c6cf-c54c
binary binary
cd tools cd tools
lcd c:\tools lcd c:\tools
mget * mget *
cd ../scripts cd ../scripts
lcd c:\scripts lcd c:\scripts
mget * mget *
cd conf cd conf
lcd c:\scripts\conf lcd c:\scripts\conf
mget * mget *
cd .. cd ..
cd other cd other
lcd c:\scripts\other lcd c:\scripts\other
mget * mget *
cd .. cd ..
cd desktop cd desktop
lcd c:\scripts\desktop lcd c:\scripts\desktop
mget * mget *
cd .. cd ..
cd tweaks cd tweaks
lcd c:\scripts\tweaks lcd c:\scripts\tweaks
mget * mget *
bye bye

View File

@ -1,179 +0,0 @@
set MNT=c:\TEMP\WIM
install_wim_tweak.exe /p %MNT% /c "Adobe-Flash" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-ApplicationGuard" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Client" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-DisposableClientVM" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Guest-Gated" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-OptionalFeature" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Server" /r /n
install_wim_tweak.exe /p %MNT% /c "DeviceAccess" /r /n
install_wim_tweak.exe /p %MNT% /c "HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "LanguageFeatures-WordBreaking" /r /n
install_wim_tweak.exe /p %MNT% /c "Media-FaceAnalysis" /r /n
install_wim_tweak.exe /p %MNT% /c "Media-Ocr" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Composable-PlatformExtension" /r /n
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
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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ApiSetSchemaExtension-HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppCompat" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppManagement" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppServerClient" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Backup" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Basic-Http-Minio" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BioEnrollment" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BITS" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Branding-Enterprise" /r /n
rem 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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContactSupport" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContentDeliveryManager" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-CoreSystem-DebugTransports" /r /n
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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Internet" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Killbits" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-LanguageEnablingComponents" /r /n
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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MiracastView" /r /n
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-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
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-OneDrive" /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
rem export remaining PACKAGE names ...
install_wim_tweak /p %MNT% /l
dir Packages.txt

5
scripts/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.swp
*.wim
*.iso
*.exe
*.dll

View File

@ -0,0 +1,24 @@
@echo off
echo ####### %0 #######
rem kill system processes and wait a short time ...
taskkill /f /im StartMenuExperienceHost.exe
taskkill /f /im shellexperiencehost.exe
taskkill /f /im explorer.exe
ping 127.0.0.1 -n 3 >nul 2>nul
rem kill dead entries in start menu and kill old live tiles ...
@echo on
del %LOCALAPPDATA%\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\TempState\* /q
del %LOCALAPPDATA%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\TempState\* /q
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell\StateStore" /V ResetCache /T REG_DWORD /D 1 /F
@echo off
rem start explorer again ...
ping 127.0.0.1 -n 1 >nul 2>nul
start explorer
echo ####### %0 #######

63
scripts/cleanup-tiles.ps1 Normal file
View File

@ -0,0 +1,63 @@
#
# this script loads a tile layout for the
# start menu with NO tiles at all!
# ( = deletes all tiles )
#
$LAYOUT='C:\Windows\StartLayout.xml'
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
echo "delete layout file if it already exists ..."
If(Test-Path $LAYOUT) {
Remove-Item $LAYOUT
}
echo "create a blank layout file [ $LAYOUT ] ..."
echo "<LayoutModificationTemplate xmlns:defaultlayout=""http://schemas.microsoft.com/Start/2014/FullDefaultLayout"" xmlns:start=""http://schemas.microsoft.com/Start/2014/StartLayout"" Version=""1"" xmlns=""http://schemas.microsoft.com/Start/2014/LayoutModification"">" > $LAYOUT
echo " <LayoutOptions StartTileGroupCellWidth=""6"" />" >> $LAYOUT
echo " <DefaultLayoutOverride>" >> $LAYOUT
echo " <StartLayoutCollection>" >> $LAYOUT
echo " <defaultlayout:StartLayout GroupCellWidth=""6"" />" >> $LAYOUT
echo " </StartLayoutCollection>" >> $LAYOUT
echo " </DefaultLayoutOverride>" >> $LAYOUT
echo "</LayoutModificationTemplate>" >> $LAYOUT
$regAliases = @("HKLM", "HKCU")
# assign the start layout and force it to apply with
# "LockedStartLayout" at both the machine and user level ...
echo "assign the start layout AND apply it ..."
foreach ($regAlias in $regAliases) {
$basePath = $regAlias + ":\SOFTWARE\Policies\Microsoft\Windows"
$keyPath = $basePath + "\Explorer"
IF(!(Test-Path -Path $keyPath)) {
New-Item -Path $basePath -Name "Explorer"
}
Set-ItemProperty -Path $keyPath -Name "LockedStartLayout" -Value 1
Set-ItemProperty -Path $keyPath -Name "StartLayoutFile" -Value "$LAYOUT"
}
# restart Explorer, open the start menu (necessary to load the new layout),
# and give it a few seconds to process ...
Start-Sleep -s 3
echo "restart explorer ..."
Stop-Process -name explorer
Start-Sleep -s 3
$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('^{ESCAPE}')
Start-Sleep -s 3
# enable the ability to pin items again by disabling "LockedStartLayout" ...
foreach ($regAlias in $regAliases) {
$basePath = $regAlias + ":\SOFTWARE\Policies\Microsoft\Windows"
$keyPath = $basePath + "\Explorer"
Set-ItemProperty -Path $keyPath -Name "LockedStartLayout" -Value 0
}
# restart Explorer and delete the layout file ...
echo "restart explorer ..."
Stop-Process -name explorer
Remove-Item $LAYOUT
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -0,0 +1,2 @@
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

View File

@ -0,0 +1,75 @@
// Mozilla GLOBAL Preferences
//
defaultPref("app.normandy.first_run", false);
defaultPref("app.shield.optoutstudies.enabled", false);
lockPref("app.update.service.enabled", false);
defaultPref("browser.bookmarks.restore_default_bookmarks", false);
defaultPref("browser.contentblocking.category", "standard");
defaultPref("browser.ctrlTab.recentlyUsedOrder", false);
lockPref("browser.download.useDownloadDir", false);
defaultPref("browser.download.viewableInternally.typeWasRegistered.svg", true);
defaultPref("browser.download.viewableInternally.typeWasRegistered.webp", true);
defaultPref("browser.download.viewableInternally.typeWasRegistered.xml", true);
lockPref("browser.formfill.enable", false);
defaultPref("browser.laterrun.enabled", true);
defaultPref("browser.launcherProcess.enabled", true);
defaultPref("browser.messaging-system.whatsNewPanel.enabled", false);
lockPref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
lockPref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
lockPref("browser.newtabpage.activity-stream.feeds.snippets", false);
lockPref("browser.newtabpage.activity-stream.feeds.topsites", false);
lockPref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false);
lockPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
lockPref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
lockPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
defaultPref("browser.newtabpage.activity-stream.showSponsored", false);
defaultPref("browser.newtabpage.enabled", true);
defaultPref("browser.privatebrowsing.autostart", false);
defaultPref("browser.search.region", "DE");
lockPref("browser.search.suggest.enabled", false);
defaultPref("browser.shell.checkDefaultBrowser", false);
defaultPref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true);
lockPref("browser.startup.homepage", "exabyte.systems");
defaultPref("browser.tabs.warnOnClose", false);
lockPref("browser.urlbar.suggest.bookmark", false);
lockPref("browser.urlbar.suggest.history", false);
lockPref("browser.urlbar.suggest.openpage", false);
lockPref("browser.urlbar.suggest.searches", false);
lockPref("browser.urlbar.suggest.topsites", false);
defaultPref("datareporting.healthreport.uploadEnabled", false);
lockPref("extensions.update.autoUpdateDefault", false);
defaultPref("layout.spellcheckDefault", 0);
lockPref("network.cookie.lifetimePolicy", 0);
defaultPref("permissions.default.camera", 2);
defaultPref("permissions.default.desktop-notification", 2);
defaultPref("permissions.default.geo", 2);
defaultPref("permissions.default.microphone", 2);
defaultPref("permissions.default.xr", 2);
defaultPref("pref.general.disable_button.default_browser", false);
defaultPref("pref.privacy.disable_button.cookie_exceptions", false);
lockPref("places.history.enabled", false);
lockPref("privacy.clearOnShutdown.cache", true);
lockPref("privacy.clearOnShutdown.cookies", false);
lockPref("privacy.clearOnShutdown.downloads", true);
lockPref("privacy.clearOnShutdown.formdata", true);
lockPref("privacy.clearOnShutdown.history", true);
lockPref("privacy.clearOnShutdown.offlineApps", true);
lockPref("privacy.clearOnShutdown.sessions", true);
lockPref("privacy.clearOnShutdown.siteSettings", false);
lockPref("privacy.history.custom", true);
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("privacy.cpd.offlineApps", true);
lockPref("privacy.cpd.siteSettings", true);
defaultPref("sanity-test.advanced-layers", true);
defaultPref("sanity-test.running", false);
defaultPref("sanity-test.webrender.force-disabled", false);
lockPref("signon.autofillForms", false);
lockPref("signon.generation.enabled", false);
lockPref("signon.management.page.breach-alerts.enabled", false);
lockPref("signon.rememberSignons", false);
lockPref("signon.usage.hasEntry", false);
defaultPref("toolkit.telemetry.pioneer-new-studies-available", false);
defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false);
defaultPref("trailhead.firstrun.didSeeAboutWelcome", true);

View File

@ -0,0 +1,6 @@
@echo off
taskkill /f /IM explorer.exe
del /f /s /q %LocalappData%\Microsoft\Windows\Explorer\*.*
del /f /s /q %LocalappData%\Iconcache.db
shutdown -g -t 0

18
scripts/deploy/logon.cmd Normal file
View File

@ -0,0 +1,18 @@
@echo off
set TOOLS=c:\tools
echo ####### %0 #######
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...
%TOOLS%\setbgcol
echo starting BGInfo ....
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
echo ####### %0 #######

15
scripts/deploy/pbc.cmd Normal file
View File

@ -0,0 +1,15 @@
@echo off
IF %1.==. GOTO USAGE
set WORK=c:\TEMP
set SOURCEFILE=%1
pbcompiler /EXE %WORK%\%1.exe /CONSOLE %SOURCEFILE%.pb
GOTO END
:USAGE
echo "usage: %0 <PureBasic SOURCEFILE>"
:END

View File

@ -0,0 +1,9 @@
ControlMaster=auto
ControlPersist=60s
ServerAliveInterval=30
StrictHostKeyChecking=no
UpdateHostKeys=no
CheckHostIP=no
UserKnownHostsFile=/dev/null
LogLevel=ERROR

View File

@ -0,0 +1,18 @@
@echo off
set TOOLS=c:\tools
rem set SOCKET for "ssh-add" ...
echo set SSH_AUTH_SOCK=%TEMP%\ssh-agent.txt
set SSH_AUTH_SOCK=%TEMP%\ssh-agent.txt
set GIT_SSH=%TOOLS%\git\usr\bin\ssh.exe
tasklist /FI "USERNAME eq %USERNAME%" /FI "IMAGENAME eq ssh-agent.exe" | findstr ssh-agent.exe
IF %ERRORLEVEL% GTR 0 (
attrib -S %TEMP%\ssh-agent.txt
del /f /s /q %TEMP%\ssh-agent.txt 1>nul 2>nul
ssh-agent -a %TEMP%\ssh-agent.txt
ssh-add
) ELSE (
echo SSH agent is running.
)

View File

@ -0,0 +1,11 @@
@echo off
echo ####### %0 #######
echo disabling autologon for admin ...
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultDomainName /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /f
echo ####### %0 #######

BIN
scripts/icons/CMD.lnk Normal file

Binary file not shown.

Binary file not shown.

BIN
scripts/icons/RDP.lnk Normal file

Binary file not shown.

BIN
scripts/icons/TOTALCMD.lnk Normal file

Binary file not shown.

BIN
scripts/icons/notepad++.lnk Normal file

Binary file not shown.

View File

@ -0,0 +1,21 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set EXE=F-SecureNetworkInstaller-AV_AVTR20F930_.exe
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/%EXE%"
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL% --output %EXE%
echo installing F-Secure Antivirus ...
%EXE% --silent
rem cleanup ...
del /Q %EXE% 1>nul 2>nul
echo ####### %0 #######

View File

@ -0,0 +1,12 @@
@echo off
set SOURCE=desktopicons
set TARGET=c:\Users\Public\Desktop
echo ####### %0 #######
echo copying desktop icons ...
xcopy /CDI /HERBY %SOURCE% %TARGET%
echo ####### %0 #######

View File

@ -0,0 +1,82 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set CONF=c:\scripts\conf
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/firefox"
set MSI=Firefox_Setup_83.0b9.msi
set FIREFOXBASE="C:\Program Files\Mozilla Firefox"
set BADGERFILE=privacy_badger-2020.12.10.xpi
set BADGERTARGET=jid1-MnnxcxisBPnSXQ@jetpack.xpi
set UBLOCKFILE=ublock_origin-1.32.0.xpi
set UBLOCKTARGET=uBlock0@raymondhill.net.xpi
set PASSWORD1FILE=1password-1.22.3.xpi
set PASSWORD1TARGET={d634138d-c276-4fc8-924b-40a0ea21d284}.xpi
set BITWARDENFILE=bitwarden-1.47.1.xpi
set BITWARDENTARGET={446900e4-71c2-419f-a6a7-df9c091e268b}.xpi
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL%/%MSI% --output %MSI%
@echo on
msiexec /i %MSI% /passive
@echo off
rem copy config ...
copy /Y %CONF%\local-settings.js %FIREFOXBASE%\defaults\pref
copy /Y %CONF%\mozilla.cfg %FIREFOXBASE%
echo disabling FireFox updates (all users) ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
/v DisableAppUpdate ^
/t REG_DWORD ^
/d 1 ^
/f
echo enabling FireFox Bookmarks-bar for all users ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
/v DisplayBookmarksToolbar ^
/t REG_DWORD ^
/d 1 ^
/f
echo creating extensions directory ...
mkdir %FIREFOXBASE%\distribution\extensions
echo download ...
curl --ftp-pasv %URL%/%BADGERFILE% --output %BADGERFILE%
echo installing badger(eff) to fight internet bullshit ...
move /Y %BADGERFILE% %FIREFOXBASE%\distribution\extensions\%BADGERTARGET%
echo download ...
curl --ftp-pasv %URL%/%UBLOCKFILE% --output %UBLOCKFILE%
echo installing uBlock to fight even more internet bullshit ...
move /Y %UBLOCKFILE% %FIREFOXBASE%\distribution\extensions\%UBLOCKTARGET%
echo download ...
curl --ftp-pasv %URL%/%PASSWORD1FILE% --output %PASSWORD1FILE%
echo installing 1Password plugin ...
move /Y %PASSWORD1FILE% %FIREFOXBASE%\distribution\extensions\%PASSWORD1TARGET%
echo download ...
curl --ftp-pasv %URL%/%BITWARDENFILE% --output %BITWARDENFILE%
echo installing Bitwarden plugin ...
move /Y %BITWARDENFILE% %FIREFOXBASE%\distribution\extensions\%BITWARDENTARGET%
rem cleanup ...
del /Q %MSI% 1>nul 2>nul
echo ####### %0 #######

19
scripts/install-git.cmd Normal file
View File

@ -0,0 +1,19 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set CONFIG=install-git.txt
set EXE=..\software\Git-2.29.0-64-bit.exe
echo ####### %0 #######
echo killing ssh processes...
taskkill /F /IM ssh-agent.exe
taskkill /F /IM ssh.exe
echo installing GIT ...
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
echo ####### %0 #######

23
scripts/install-git.txt Normal file
View File

@ -0,0 +1,23 @@
[Setup]
Lang=default
Dir=c:\tools\git
Group=Git
NoIcons=1
SetupType=default
Components=gitlfs
Tasks=
EditorOption=CustomEditor
CustomEditorPath=c:\tools\vim.exe
DefaultBranchOption=
PathOption=CmdTools
SSHOption=OpenSSH
TortoiseOption=false
CURLOption=OpenSSL
CRLFOption=CRLFCommitAsIs
BashTerminalOption=ConHost
GitPullBehaviorOption=Merge
UseCredentialManager=Disabled
PerformanceTweaksFSCache=Disabled
EnableSymlinks=Disabled
EnablePseudoConsoleSupport=Disabled

View File

@ -0,0 +1,21 @@
@echo off
set SOURCE=deploy/logon.cmd
set TARGET="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup"
echo ####### %0 #######
echo create link for logon script...
del /Q /F %TARGET%\logon* 1>nul 2>nul
mklink %TARGET%\logon.cmd %SOURCE%
echo create link on desktop...
del /Q /F "%USERPROFILE%\Desktop\Autostart*" 1>nul 2>nul
rmdir /Q "%USERPROFILE%\Desktop\Autostart" 1>nul 2>nul
mklink /D "%USERPROFILE%\Desktop\Autostart" %TARGET%
echo execute logon script...
call %TARGET%\logon.cmd
echo ####### %0 #######

View File

@ -0,0 +1,25 @@
@echo off
set T=c:\TEMP
mkdir %T% 1>nul 2>nul
cd /D %T%
set EXE=OpenShellSetup_4_4_160.exe
set MSI=OpenShellSetup64_4_4_160.msi
set URL="ftp://w10install:9054c6cf-c54c@exabyte-systems.com/software/%EXE%"
echo ####### %0 #######
echo download ...
curl --ftp-pasv %URL% --output %EXE%
@echo on
%EXE% extract64
msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
@echo off
rem cleanup ...
del /Q %MSI% 1>nul 2>nul
del /Q %EXE% 1>nul 2>nul
echo ####### %0 #######

View File

@ -0,0 +1,9 @@
@echo off
echo ####### %0 #######
echo disable hibernate ...
powercfg -H off
echo ####### %0 #######

View File

@ -0,0 +1,14 @@
@echo off
set TARGET=c:\scripts\tweaks
echo ####### %0 #######
IF EXIST "%TARGET%\*.reg" (
FOR /F "tokens=*" %%A IN ('DIR /B "%TARGET%\*.reg"') DO (
echo "%TARGET%\%%A"
regedit /S "%TARGET%\%%A"
)
)
echo ####### %0 #######

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"AllowOnlineTips"=dword:00000000

Binary file not shown.

View File

@ -0,0 +1,16 @@
# REMOVE all applications except the Store ...
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
$ErrorActionPreference = "SilentlyContinue"
# $progressPreference = 'SilentlyContinue'
Get-AppxPackage -AllUsers |
where-object {$_.name -notlike "*store*"} |
Remove-AppxPackage
Get-AppxProvisionedPackage -online |
where-object {$_.name -notlike "*store*"} |
Remove-AppxProvisionedPackage -online
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -0,0 +1,13 @@
@echo off
set EDGEROOT="C:\Program Files (x86)\Microsoft\Edge"
echo ####### %0 #######
cd /D C:\
cd %EDGEROOT%\Application\8*\Installer
setup.exe --uninstall --system-level --verbose-logging --force-uninstall
rd /S /Q %EDGEROOT%
echo ####### %0 #######

View File

@ -0,0 +1,33 @@
@echo off
set x86=%SYSTEMROOT%\System32\OneDriveSetup.exe
set x64=%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe
echo ####### %0 #######
echo KILLING OneDrive ...
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo UNINSTALLING OneDrive ...
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1
echo CLEANUP OneDrive ...
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
echo remove OneDrive from explorer ...
reg DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
reg DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
reg DELETE "HKEY_CURRENT_USER\Software\Classes\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f > NUL 2>&1
reg DELETE "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\ShellFolder" /f > NUL 2>&1
echo ####### %0 #######

5
source/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.swp
*.wim
*.iso
*.exe
*.dll

View File

@ -1,6 +0,0 @@
set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
dism /Unmount-Wim /MountDir:%MNT% /Discard
dism /Cleanup-Wim

5
wim/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.swp
*.wim
*.iso
*.exe
*.dll

20
wim/RunScriptTest.cmd Normal file
View File

@ -0,0 +1,20 @@
@echo off
set SCRIPTS=%WINDIR%\Setup\scripts
set LOG1=C:\SetupComplete.txt
set LOG2=C:\StartCustomSetup.txt
rem prepare ...
mkdir %SCRIPTS% 1>nul 2>nul
del /F %LOG1% 1>nul 2>nul
del /F %LOG2% 1>nul 2>nul
echo ####### %0 #######
copy /Y SetupComplete.cmd %SCRIPTS%
copy /Y StartCustomSetup.cmd %SCRIPTS%
echo ####### %0 #######
call %SCRIPTS%\SetupComplete.cmd
call %SCRIPTS%\StartCustomSetup.cmd

View File

@ -1,46 +1,34 @@
@echo off @echo off
set LOG=c:\SetupComplete.txt set LOG=c:\SetupComplete.txt
set SETUPDIR=c:\Windows\Setup\scripts
set FTPSCRIPT=ToolsDownload.cmd del /F %LOG% 1>nul 2>nul
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
del /Q %LOG% 1>nul 2>nul shift /1
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
shift /1 echo ####### %0 #######
date /t
echo ####### %0 ####### time /t
date /t echo.
time /t
echo. echo Disable Windows "Hi" Animation ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^
echo Disable Windows "Hi" Animation ... /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^
/v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^ echo.
/v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f
echo. rem allow execution of any powershell script ...
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine"
rem allow execution of any powershell script ... powershell -Command ^
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine" "$R=Get-ExecutionPolicy ; if ($R -eq 'Bypass') { ^
powershell -Command ^ write-host 'POWERSHELL: Execution Policy was set to BYPASS' ^
"$R=Get-ExecutionPolicy ; if ($R -eq 'Bypass') { ^ } ^
write-host 'POWERSHELL: Execution Policy was set to BYPASS' ^ else { ^
} ^ write-host 'ERROR: CANNOT SET Execution Policy to BYPASS !' ^
else { ^ }"
write-host 'ERROR: CANNOT SET Execution Policy to BYPASS !' ^ echo.
}"
echo. date /t
time /t
rem call initial download script ... echo ####### %0 #######
cd /D %SETUPDIR%
if EXIST %FTPSCRIPT% (
echo EXECUTING %FTPSCRIPT% ...
call %FTPSCRIPT%
) else (
echo INFO: %FTPSCRIPT% not found!
)
echo.
date /t
time /t
echo ####### %0 #######

32
wim/StartCustomSetup.cmd Normal file
View File

@ -0,0 +1,32 @@
@echo off
set LOG=c:\StartCustomSetup.txt
set BATCH=CustomSetup.cmd
if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1
shift /1
echo ####### %0 #######
date /t
time /t
echo.
for %%D in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do (
if EXIST %%D:\%BATCH% (
echo EXECUTING %%D:\%BATCH% ...
cd /D %%D:\
start cmd /C %BATCH%
GOTO END
) else (
echo INFO: %BATCH% not found on drive %%D!
)
)
:END
echo.
date /t
time /t
echo ####### %0 #######

View File

@ -1,11 +1,14 @@
set SOURCES=c:\TEMP\Win10\sources @echo off
set SOURCES=c:\TEMP\W10\sources
del %SOURCES%\install.wim 1>nul 2>nul
echo deleting old install.wim ...
dism /Export-Image ^ del %SOURCES%\install.wim 1>nul 2>nul
/SourceImageFile:%SOURCES%\install.esd ^
/DestinationImageFile:%SOURCES%\install.wim ^ echo exporting WIM image from %SOURCES%\install.esd ...
/SourceName:"Windows 10 Pro" ^ dism /Export-Image ^
/Compress:Max ^ /SourceImageFile:%SOURCES%\install.esd ^
/CheckIntegrity /DestinationImageFile:%SOURCES%\install.wim ^
/SourceName:"Windows 10 Pro" ^
/Compress:Max ^
/CheckIntegrity

View File

@ -1,30 +1,38 @@
@echo off @echo off
set SOURCES=c:\TEMP\Win10\sources set SOURCES=c:\TEMP\W10\sources
set MNT=c:\TEMP\WIM set MNT=c:\TEMP\WIM
rd /S /Q %MNT%\Windows\Setup\scripts 1>nul 2>nul rd /S /Q %MNT%\Windows\Setup\scripts 1>nul 2>nul
mkdir %MNT%\Windows\Setup\scripts 1>nul 2>nul mkdir %MNT%\Windows\Setup\scripts 1>nul 2>nul
echo copy SetupComplete script ... echo copying SetupComplete script to mountpoint %MNT% ...
copy /Y SetupComplete.cmd %MNT%\Windows\Setup\scripts copy /Y SetupComplete.cmd %MNT%\Windows\Setup\scripts
if %errorlevel% neq 0 exit /b %errorlevel% if %errorlevel% neq 0 exit /b %errorlevel%
echo copy ftp scripts ... echo copying script for custom setup to mountpoint %MNT% ...
copy /Y ToolsDownload.* %MNT%\Windows\Setup\scripts copy /Y StartCustomSetup.cmd %MNT%\Windows\Setup\scripts
if %errorlevel% neq 0 exit /b %errorlevel% if %errorlevel% neq 0 exit /b %errorlevel%
dir %MNT%\Windows\Setup\scripts echo showing directory contents :
dir %MNT%\Windows\Setup\scripts
dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
dism /Unmount-Wim /MountDir:%MNT% /Commit echo doing cleanup on mountpoint %MNT% ...
dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
dism /Export-Image ^
/SourceImageFile:%SOURCES%\install.wim ^ echo unmounting and committing changes to %SOURCES%\install.wim ...
/DestinationImageFile:%SOURCES%\install_FINAL.esd ^ dism /Unmount-Wim /MountDir:%MNT% /Commit
/SourceName:"Windows 10 Pro" ^
/Compress:Recovery ^ echo directory of %MNT% :
/CheckIntegrity dir %MNT%
del /Q %SOURCES%\install.wim echo exporting %SOURCES%\install.wim to %SOURCES%\install_FINAL.esd ...
dir %MNT% dism /Export-Image ^
/SourceImageFile:%SOURCES%\install.wim ^
/DestinationImageFile:%SOURCES%\install_FINAL.esd ^
/SourceName:"Windows 10 Pro" ^
/Compress:Recovery ^
/CheckIntegrity
echo deleting old %SOURCES%\install.wim
del /F %SOURCES%\install.wim

View File

@ -1,14 +1,15 @@
@echo off @echo off
set SOURCES=c:\TEMP\Win10\sources set SOURCES=c:\TEMP\W10\sources
set FILENAME=%1 set FILENAME=%1
IF %1.==. GOTO USAGE IF %1.==. GOTO USAGE
dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME% echo getting infos of %SOURCES%\%FILENAME% ...
GOTO END dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME%
GOTO END
:USAGE
echo "usage: %0 <FILENAME>" :USAGE
echo "usage: %0 <FILENAME>"
:END
:END

10
wim/mount-wim.cmd Normal file
View File

@ -0,0 +1,10 @@
@echo off
set SOURCES=c:\TEMP\W10\sources
set MNT=c:\TEMP\WIM
echo creating wim mountpoint ...
mkdir %MNT% 1>nul 2>nul
echo mounting install.wim to %MNT% ...
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT%

View File

@ -1,272 +1,272 @@
set MNT=c:\TEMP\WIM set MNT=c:\TEMP\WIM
install_wim_tweak.exe /p %MNT% /c "Adobe-Flash" /r /n install_wim_tweak.exe /p %MNT% /c "Adobe-Flash" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-ApplicationGuard" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-ApplicationGuard" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Client" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-Client" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-DisposableClientVM" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-DisposableClientVM" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Guest-Gated" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-Guest-Gated" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-OptionalFeature" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-OptionalFeature" /r /n
install_wim_tweak.exe /p %MNT% /c "Containers-Server" /r /n install_wim_tweak.exe /p %MNT% /c "Containers-Server" /r /n
install_wim_tweak.exe /p %MNT% /c "DeviceAccess" /r /n install_wim_tweak.exe /p %MNT% /c "DeviceAccess" /r /n
install_wim_tweak.exe /p %MNT% /c "HyperV" /r /n install_wim_tweak.exe /p %MNT% /c "HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "LanguageFeatures-WordBreaking" /r /n install_wim_tweak.exe /p %MNT% /c "LanguageFeatures-WordBreaking" /r /n
install_wim_tweak.exe /p %MNT% /c "Media-FaceAnalysis" /r /n install_wim_tweak.exe /p %MNT% /c "Media-FaceAnalysis" /r /n
install_wim_tweak.exe /p %MNT% /c "Media-Ocr" /r /n install_wim_tweak.exe /p %MNT% /c "Media-Ocr" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Composable-PlatformExtension" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Composable-PlatformExtension" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Hyper-V" /r /n 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-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-Media-Foundation" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Mobile" /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" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-AllJoyn" /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-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-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-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-Biometrics" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-BITS" /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-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-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-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-Containers" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-DebugCore" /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-DeviceUpdateCenter" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-EnergyEstimationEngine" /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-ESENT" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Gaming" /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-HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Indexer" /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-InkPlatform" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Maps" /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-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-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-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-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-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-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-NowPlayingSessionManager" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-PointOfService" /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-RemoteDesktopServices" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Sensors" /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-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-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-Tethering" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-TroubleShooting" /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-UserDataAccess" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-OneCore-Wallet" /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-WebService" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-PPIProjection" /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-UtilityVM" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-3DAudio" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-3DAudio" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ApiSetSchemaExtension-HyperV" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ApiSetSchemaExtension-HyperV" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppCompat" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppCompat" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppManagement" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppManagement" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppServerClient" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-AppServerClient" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Backup" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Backup" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Basic-Http-Minio" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Basic-Http-Minio" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BioEnrollment" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BioEnrollment" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BITS" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-BITS" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Branding-Enterprise" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Branding-Enterprise" /r /n
rem install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Browser" /r /n 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-BusinessScanning" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Casting" /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-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-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-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-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-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-COM-MSMQ" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Compression" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Compression" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContactSupport" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContactSupport" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContentDeliveryManager" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ContentDeliveryManager" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-CoreSystem-DebugTransports" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-CoreSystem-DebugTransports" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Cortana" /r /n 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-DataCenterBridging" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-DeviceSync" /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-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-EnterpriseClientSync" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-FodMetadata" /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-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-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-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-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-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-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-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-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-International" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-InternetExplorer" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-InternetExplorer" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Internet" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Internet" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Killbits" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Killbits" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-LanguageEnablingComponents" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-LanguageEnablingComponents" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-LanguageFeatures" /r /n 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-Legacy" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Links" /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-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-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-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-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" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Media-Streaming" /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-Migration" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MiracastView" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MiracastView" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MobileBroadband" /r /n 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-MobileCore" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-MobilePC" /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-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-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-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-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-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-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-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-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-FoD" /r /n
install_wim_tweak.exe /p %MNT% /c "microsoft-windows-notepad" /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-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-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-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-OneDrive" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ParentalControls" /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-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-PeerDist" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerToPeer" /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-PerformanceCounters" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PhotoBasic" /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-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-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-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-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" /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-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-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" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-XPSServices" /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-Provisioning" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Proximity" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Proximity" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-QuickAssist" /r /n 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-RDC" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RemoteAssistance" /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-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-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-RemoteFX" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-RetailDemo" /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 install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Search2" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SearchEngine" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SearchEngine" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SenseClient" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SenseClient" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Serial" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Serial" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ShareMedia" /r /n 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-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-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-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-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-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-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-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-Opt" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect" /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-SnippingTool" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SNMP" /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" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StorageService" /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-Store" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SystemRestore" /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-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-TabletPC" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TabShellExperience" /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-Client" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Telnet" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Telnet" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TerminalServices" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TerminalServices" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TextPrediction-Dictionaries" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TextPrediction-Dictionaries" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TextPrediction" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TextPrediction" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TFTP-Client" /r /n 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-TroubleShooting" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-TS" /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-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-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-Virtualization-RemoteFX-User-Mode-Transport" /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-Virtualization" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualPC" /r /n 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-VirtualXP" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WebcamExperience" /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-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" /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" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinOcr" /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-WinRT" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinSATMediaFiles" /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-WMIPerf" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordBreaking" /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-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-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-LegacyWmdmFeature" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Xps" /r /n install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Xps" /r /n
install_wim_tweak.exe /p %MNT% /c "Microsoft-Xbox" /r /n 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 "MSMQ-Driver-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Multimedia-MFCore" /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-RestrictedCodecsCore" /r /n
install_wim_tweak.exe /p %MNT% /c "Multimedia-RestrictedCodecsDolby" /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-Help" /r /n
install_wim_tweak.exe /p %MNT% /c "MultiPoint" /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 "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" /r /n
install_wim_tweak.exe /p %MNT% /c "openssh-client-package-Wrapper" /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-Base-Package" /r /n
install_wim_tweak.exe /p %MNT% /c "Sensors-Universal" /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 "Server-Help" /r /n
install_wim_tweak.exe /p %MNT% /c "Windows-Defender" /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 "WindowsSearchEngineSKU-Group" /r /n
rem ESSENTIAL (do NOT remove): rem ESSENTIAL (do NOT remove):
rem Microsoft-Client-License-Platform rem Microsoft-Client-License-Platform
rem Microsoft-Windows-20H2Enablement rem Microsoft-Windows-20H2Enablement
rem Microsoft-Windows-Client-Desktop-Required rem Microsoft-Windows-Client-Desktop-Required
rem Microsoft-Windows-Client-LanguagePack rem Microsoft-Windows-Client-LanguagePack
rem Microsoft-Windows-Common-Foundation rem Microsoft-Windows-Common-Foundation
rem Microsoft-Windows-Common-RegulatedPackages rem Microsoft-Windows-Common-RegulatedPackages
rem Microsoft-Windows-ConfigCI rem Microsoft-Windows-ConfigCI
rem Microsoft-Windows-Desktop-BCDTemplate rem Microsoft-Windows-Desktop-BCDTemplate
rem Microsoft-Windows-DesktopFileExplorer rem Microsoft-Windows-DesktopFileExplorer
rem Microsoft-Windows-DeviceGuard-GPEXT rem Microsoft-Windows-DeviceGuard-GPEXT
rem Microsoft-Windows-EditionPack-Professional rem Microsoft-Windows-EditionPack-Professional
rem Microsoft-Windows-EditionSpecific-Professional rem Microsoft-Windows-EditionSpecific-Professional
rem Microsoft-Windows-Editions-Professional rem Microsoft-Windows-Editions-Professional
rem Microsoft-Windows-Embedded-UnifiedWriteFilterCSP rem Microsoft-Windows-Embedded-UnifiedWriteFilterCSP
rem Microsoft-Windows-Enterprise-Desktop-Share rem Microsoft-Windows-Enterprise-Desktop-Share
rem Microsoft-Windows-FCI-Client rem Microsoft-Windows-FCI-Client
rem Microsoft-Windows-Foundation rem Microsoft-Windows-Foundation
rem Microsoft-Windows-GroupPolicy-ClientExtensions rem Microsoft-Windows-GroupPolicy-ClientExtensions
rem Microsoft-Windows-GroupPolicy-ClientTools rem Microsoft-Windows-GroupPolicy-ClientTools
rem Microsoft-Windows-Holographic-Desktop rem Microsoft-Windows-Holographic-Desktop
rem Microsoft-Windows-HVSI rem Microsoft-Windows-HVSI
rem Microsoft-Windows-MSPaint-FoD rem Microsoft-Windows-MSPaint-FoD
rem Microsoft-Windows-NetFx rem Microsoft-Windows-NetFx
rem Microsoft-Windows-NetFx2 rem Microsoft-Windows-NetFx2
rem Microsoft-Windows-NetFx3 rem Microsoft-Windows-NetFx3
rem Microsoft-Windows-NetFx4 rem Microsoft-Windows-NetFx4
rem Microsoft-Windows-NewTabPageHost rem Microsoft-Windows-NewTabPageHost
rem Microsoft-Windows-PowerShell-ISE-FOD rem Microsoft-Windows-PowerShell-ISE-FOD
rem Microsoft-Windows-Product-Data-EKB rem Microsoft-Windows-Product-Data-EKB
rem Microsoft-Windows-ProfessionalEdition rem Microsoft-Windows-ProfessionalEdition
rem Microsoft-Windows-Professional-SPP-Components rem Microsoft-Windows-Professional-SPP-Components
rem Microsoft-Windows-RegulatedPackages rem Microsoft-Windows-RegulatedPackages
rem Microsoft-Windows-Required-ShellExperiences-Desktop rem Microsoft-Windows-Required-ShellExperiences-Desktop
rem Microsoft-Windows-Runtime-Metadata-Desktop rem Microsoft-Windows-Runtime-Metadata-Desktop
rem Microsoft-Windows-SecureStartup rem Microsoft-Windows-SecureStartup
rem Microsoft-Windows-Security-SPP-Component-SKU rem Microsoft-Windows-Security-SPP-Component-SKU
rem Microsoft-Windows-ShellExperienceHost rem Microsoft-Windows-ShellExperienceHost
rem Microsoft-Windows-WMPNetworkSharingService rem Microsoft-Windows-WMPNetworkSharingService
rem CLEANUP: rem CLEANUP:
del SOFTWAREBKP 1>nul 2>nul del /F SOFTWAREBKP 1>nul 2>nul
rem export remaining PACKAGE names ... rem export remaining PACKAGE names ...
install_wim_tweak /p %MNT% /l install_wim_tweak /p %MNT% /l
dir Packages.txt dir Packages.txt

10
wim/umount-wim.cmd Normal file
View File

@ -0,0 +1,10 @@
@echo off
set SOURCES=c:\TEMP\W10\sources
set MNT=c:\TEMP\WIM
echo unmounting wim and discarding changes ...
dism /Unmount-Wim /MountDir:%MNT% /Discard
echo cleaning up ...
dism /Cleanup-Wim