From 09b3c6ef119654c580125f2868e01d758a4bd7df Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 10 Jan 2021 15:49:37 +0100 Subject: [PATCH] . --- .gitignore | 2 + CustomSetup.cmd | 125 ++++ PrepareStick.cmd | 70 ++- RunScriptTest.cmd | 15 - autounattend_BIOS.xml | 2 +- autounattend_UEFI.xml | 2 +- copy-iso.cmd | 8 - download-iso.cmd | 9 - download-iso.ftp | 9 - iso/.gitignore | 5 + iso/PUT_ISO_FILE_HERE.txt | 0 iso/extract-iso.cmd | 46 ++ mount-wim.cmd | 6 - .../ToolsDownload.cmd | 110 ++-- .../ToolsDownload.ftp | 70 +-- reduced-remove.cmd | 179 ------ scripts/.gitignore | 5 + scripts/cleanup-startmenu.cmd | 24 + scripts/cleanup-tiles.ps1 | 63 ++ scripts/deploy/firefox/local-settings.js | 2 + scripts/deploy/firefox/mozilla.cfg | 75 +++ scripts/deploy/killiconcache.cmd | 6 + scripts/deploy/logon.cmd | 18 + scripts/deploy/pbc.cmd | 15 + scripts/deploy/ssh_config | 9 + scripts/deploy/start-ssh-agent.cmd | 18 + scripts/disable-autologon.cmd | 11 + scripts/icons/CMD.lnk | Bin 0 -> 1780 bytes scripts/icons/PowerShell.lnk | Bin 0 -> 2522 bytes scripts/icons/RDP.lnk | Bin 0 -> 1300 bytes scripts/icons/TOTALCMD.lnk | Bin 0 -> 1144 bytes scripts/icons/notepad++.lnk | Bin 0 -> 1146 bytes scripts/install-antivir.cmd | 21 + scripts/install-desktopicons.cmd | 12 + scripts/install-firefox.cmd | 82 +++ scripts/install-git.cmd | 19 + scripts/install-git.txt | 23 + scripts/install-logonscript.cmd | 21 + scripts/install-openshell.cmd | 25 + scripts/install-powertweaks.cmd | 9 + scripts/install-tweaks.cmd | 14 + scripts/tweaks/add_seconds_to_clock.reg | Bin 0 -> 334 bytes scripts/tweaks/contextmenu_explorer.reg | Bin 0 -> 456 bytes scripts/tweaks/contextmenu_paint.reg | Bin 0 -> 414 bytes .../tweaks/contextmenu_resourcemonitor.reg | Bin 0 -> 564 bytes scripts/tweaks/contextmenu_snippingtool.reg | Bin 0 -> 448 bytes scripts/tweaks/contextmenu_systemsettings.reg | Bin 0 -> 626 bytes scripts/tweaks/contextmenu_systemstart.reg | Bin 0 -> 448 bytes scripts/tweaks/contextmenu_taskmanager.reg | Bin 0 -> 420 bytes scripts/tweaks/contextmenu_winversion.reg | Bin 0 -> 668 bytes scripts/tweaks/deactivate_UAC.reg | Bin 0 -> 560 bytes scripts/tweaks/disable_dumpstack_logging.reg | Bin 0 -> 286 bytes scripts/tweaks/explorer_remove_onedrive.reg | Bin 0 -> 344 bytes scripts/tweaks/fast_reboot_and_shutdown.reg | Bin 0 -> 508 bytes .../systemsettings_remove_onlinetips.reg | 5 + scripts/tweaks/win10_disable_lockscreen.reg | Bin 0 -> 884 bytes scripts/uninstall-apps.ps1 | 16 + scripts/uninstall-edge.cmd | 13 + scripts/uninstall-onedrive.cmd | 33 ++ source/.gitignore | 5 + umount-wim.cmd | 6 - wim/.gitignore | 5 + wim/RunScriptTest.cmd | 20 + SetupComplete.cmd => wim/SetupComplete.cmd | 80 ++- wim/StartCustomSetup.cmd | 32 ++ export-image.cmd => wim/export-image.cmd | 25 +- finish-image.cmd => wim/finish-image.cmd | 68 ++- get-wiminfo.cmd => wim/get-wiminfo.cmd | 29 +- wim/mount-wim.cmd | 10 + .../remove-components.cmd | 544 +++++++++--------- wim/umount-wim.cmd | 10 + 71 files changed, 1319 insertions(+), 712 deletions(-) create mode 100644 CustomSetup.cmd delete mode 100644 RunScriptTest.cmd delete mode 100644 copy-iso.cmd delete mode 100644 download-iso.cmd delete mode 100644 download-iso.ftp create mode 100644 iso/.gitignore create mode 100644 iso/PUT_ISO_FILE_HERE.txt create mode 100644 iso/extract-iso.cmd delete mode 100644 mount-wim.cmd rename ToolsDownload.cmd => obsolete/ToolsDownload.cmd (93%) rename ToolsDownload.ftp => obsolete/ToolsDownload.ftp (89%) delete mode 100644 reduced-remove.cmd create mode 100644 scripts/.gitignore create mode 100644 scripts/cleanup-startmenu.cmd create mode 100644 scripts/cleanup-tiles.ps1 create mode 100644 scripts/deploy/firefox/local-settings.js create mode 100644 scripts/deploy/firefox/mozilla.cfg create mode 100644 scripts/deploy/killiconcache.cmd create mode 100644 scripts/deploy/logon.cmd create mode 100644 scripts/deploy/pbc.cmd create mode 100644 scripts/deploy/ssh_config create mode 100644 scripts/deploy/start-ssh-agent.cmd create mode 100644 scripts/disable-autologon.cmd create mode 100644 scripts/icons/CMD.lnk create mode 100644 scripts/icons/PowerShell.lnk create mode 100644 scripts/icons/RDP.lnk create mode 100644 scripts/icons/TOTALCMD.lnk create mode 100644 scripts/icons/notepad++.lnk create mode 100644 scripts/install-antivir.cmd create mode 100644 scripts/install-desktopicons.cmd create mode 100644 scripts/install-firefox.cmd create mode 100644 scripts/install-git.cmd create mode 100644 scripts/install-git.txt create mode 100644 scripts/install-logonscript.cmd create mode 100644 scripts/install-openshell.cmd create mode 100644 scripts/install-powertweaks.cmd create mode 100644 scripts/install-tweaks.cmd create mode 100644 scripts/tweaks/add_seconds_to_clock.reg create mode 100644 scripts/tweaks/contextmenu_explorer.reg create mode 100644 scripts/tweaks/contextmenu_paint.reg create mode 100644 scripts/tweaks/contextmenu_resourcemonitor.reg create mode 100644 scripts/tweaks/contextmenu_snippingtool.reg create mode 100644 scripts/tweaks/contextmenu_systemsettings.reg create mode 100644 scripts/tweaks/contextmenu_systemstart.reg create mode 100644 scripts/tweaks/contextmenu_taskmanager.reg create mode 100644 scripts/tweaks/contextmenu_winversion.reg create mode 100644 scripts/tweaks/deactivate_UAC.reg create mode 100644 scripts/tweaks/disable_dumpstack_logging.reg create mode 100644 scripts/tweaks/explorer_remove_onedrive.reg create mode 100644 scripts/tweaks/fast_reboot_and_shutdown.reg create mode 100644 scripts/tweaks/systemsettings_remove_onlinetips.reg create mode 100644 scripts/tweaks/win10_disable_lockscreen.reg create mode 100644 scripts/uninstall-apps.ps1 create mode 100644 scripts/uninstall-edge.cmd create mode 100644 scripts/uninstall-onedrive.cmd create mode 100644 source/.gitignore delete mode 100644 umount-wim.cmd create mode 100644 wim/.gitignore create mode 100644 wim/RunScriptTest.cmd rename SetupComplete.cmd => wim/SetupComplete.cmd (73%) create mode 100644 wim/StartCustomSetup.cmd rename export-image.cmd => wim/export-image.cmd (62%) rename finish-image.cmd => wim/finish-image.cmd (54%) rename get-wiminfo.cmd => wim/get-wiminfo.cmd (65%) create mode 100644 wim/mount-wim.cmd rename remove-components.cmd => wim/remove-components.cmd (97%) create mode 100644 wim/umount-wim.cmd diff --git a/.gitignore b/.gitignore index 0a5d427..c8f15e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +tools/* +software/* *.swp *.wim *.iso diff --git a/CustomSetup.cmd b/CustomSetup.cmd new file mode 100644 index 0000000..8576e94 --- /dev/null +++ b/CustomSetup.cmd @@ -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 + diff --git a/PrepareStick.cmd b/PrepareStick.cmd index 2892193..06e41fe 100644 --- a/PrepareStick.cmd +++ b/PrepareStick.cmd @@ -1,35 +1,75 @@ @echo off -set TARGET=D:\ -set SOURCES=c:\TEMP\Win10\sources +set SOURCES=c:\TEMP\W10\sources -echo ####### %0 ####### +rem =================== +rem COMMANDLINE CHECKS +rem =================== -echo using drive %TARGET% ... +IF %1.==. GOTO USAGE +set USBDRIVE=%1 -if NOT EXIST %TARGET% ( - echo ERROR: drive %TARGET% not found! +if NOT EXIST %USBDRIVE% ( + 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 ) :ask set /p answer="BIOS or UEFI setup (B/U)? " if /i "%answer:~,1%" EQU "B" ( - copy /Y autounattend_BIOS.xml %TARGET%\autounattend.xml - goto cont + copy /Y autounattend_BIOS.xml %USBDRIVE%\autounattend.xml + GOTO CONT ) if /i "%answer:~,1%" EQU "U" ( - copy /Y autounattend_UEFI.xml %TARGET%\autounattend.xml - goto cont + copy /Y autounattend_UEFI.xml %USBDRIVE%\autounattend.xml + GOTO CONT ) echo Please type B for BIOS or U for UEFI setup. goto ask -:cont +:CONT if EXIST %SOURCES%\install_FINAL.esd ( - robocopy %SOURCES% %TARGET%\sources install_FINAL.esd - del /Q %TARGET%\sources\install.esd 1>nul 2>nul - move /Y %TARGET%\sources\install_FINAL.esd %TARGET%\sources\install.esd + echo copying install.esd to drive %USBDRIVE% ... + robocopy %SOURCES% %USBDRIVE%\sources install_FINAL.esd /NFL /NDL + 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 ) -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 " + +:END + diff --git a/RunScriptTest.cmd b/RunScriptTest.cmd deleted file mode 100644 index 6731fbc..0000000 --- a/RunScriptTest.cmd +++ /dev/null @@ -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 - diff --git a/autounattend_BIOS.xml b/autounattend_BIOS.xml index c37d513..bf2574e 100644 --- a/autounattend_BIOS.xml +++ b/autounattend_BIOS.xml @@ -128,7 +128,7 @@ 2 Initial Setup - cmd /C c:\scripts\1st-setup.cmd + cmd /C c:\windows\setup\scripts\StartCustomSetup.cmd diff --git a/autounattend_UEFI.xml b/autounattend_UEFI.xml index 414ce9f..7557aeb 100644 --- a/autounattend_UEFI.xml +++ b/autounattend_UEFI.xml @@ -148,7 +148,7 @@ 2 Initial Setup - cmd /C c:\scripts\1st-setup.cmd + cmd /C c:\windows\setup\scripts\StartCustomSetup.cmd diff --git a/copy-iso.cmd b/copy-iso.cmd deleted file mode 100644 index 8626607..0000000 --- a/copy-iso.cmd +++ /dev/null @@ -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 diff --git a/download-iso.cmd b/download-iso.cmd deleted file mode 100644 index 624be7b..0000000 --- a/download-iso.cmd +++ /dev/null @@ -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% - diff --git a/download-iso.ftp b/download-iso.ftp deleted file mode 100644 index 744da08..0000000 --- a/download-iso.ftp +++ /dev/null @@ -1,9 +0,0 @@ -open exabyte-systems.com -w10install -9054c6cf-c54c -binary -lcd c:\TEMP -cd iso -mget Win10*.iso -bye - diff --git a/iso/.gitignore b/iso/.gitignore new file mode 100644 index 0000000..5988f97 --- /dev/null +++ b/iso/.gitignore @@ -0,0 +1,5 @@ +*.swp +*.wim +*.iso +*.exe +*.dll diff --git a/iso/PUT_ISO_FILE_HERE.txt b/iso/PUT_ISO_FILE_HERE.txt new file mode 100644 index 0000000..e69de29 diff --git a/iso/extract-iso.cmd b/iso/extract-iso.cmd new file mode 100644 index 0000000..fa7abe4 --- /dev/null +++ b/iso/extract-iso.cmd @@ -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 " + +:END + diff --git a/mount-wim.cmd b/mount-wim.cmd deleted file mode 100644 index 94b6efd..0000000 --- a/mount-wim.cmd +++ /dev/null @@ -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% - diff --git a/ToolsDownload.cmd b/obsolete/ToolsDownload.cmd similarity index 93% rename from ToolsDownload.cmd rename to obsolete/ToolsDownload.cmd index fa5b501..3e61933 100644 --- a/ToolsDownload.cmd +++ b/obsolete/ToolsDownload.cmd @@ -1,55 +1,55 @@ -@echo off -set LOG=c:\ToolsDownload.txt -set SETUPDIR=c:\Windows\Setup\scripts -set FTPSCRIPT=ToolsDownload.ftp - -set T=c:\TEMP -set TOOLS=c:\tools -set SCRIPTS=c:\scripts - -del /Q %LOG% 1>nul 2>nul -if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 -shift /1 - -echo ####### %0 ####### -date /t -time /t -echo. - -echo killing some processes... -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% -rd /S /Q %SCRIPTS% - -echo creating directories ... -mkdir %T% 1>nul 2>nul -mkdir %TOOLS% 1>nul 2>nul -mkdir %SCRIPTS% 1>nul 2>nul -mkdir %SCRIPTS%\conf 1>nul 2>nul -mkdir %SCRIPTS%\desktop 1>nul 2>nul -mkdir %SCRIPTS%\tweaks 1>nul 2>nul -mkdir %SCRIPTS%\other 1>nul 2>nul - -echo DISABLE firewall (for FTP access) ... -netsh advfirewall set allprofiles state off - -echo getting TOOLS from webserver ... -cd /D %SETUPDIR% -if EXIST %FTPSCRIPT% ( - echo EXECUTING ftp script %FTPSCRIPT% in path %SETUPDIR% ... - ftp -i -s:%FTPSCRIPT% -) else ( - echo INFO: %FTPSCRIPT% not found in path %SETUPDIR% ! -) - -echo. -date /t -time /t -echo ####### %0 ####### - +@echo off +set LOG=c:\ToolsDownload.txt +set SETUPDIR=c:\Windows\Setup\scripts +set FTPSCRIPT=ToolsDownload.ftp + +set T=c:\TEMP +set TOOLS=c:\tools +set SCRIPTS=c:\scripts + +del /F %LOG% 1>nul 2>nul +if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 +shift /1 + +echo ####### %0 ####### +date /t +time /t +echo. + +echo killing some processes... +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% +rd /S /Q %SCRIPTS% + +echo creating directories ... +mkdir %T% 1>nul 2>nul +mkdir %TOOLS% 1>nul 2>nul +mkdir %SCRIPTS% 1>nul 2>nul +mkdir %SCRIPTS%\conf 1>nul 2>nul +mkdir %SCRIPTS%\desktop 1>nul 2>nul +mkdir %SCRIPTS%\tweaks 1>nul 2>nul +mkdir %SCRIPTS%\other 1>nul 2>nul + +echo DISABLE firewall (for FTP access) ... +netsh advfirewall set allprofiles state off + +echo getting TOOLS from webserver ... +cd /D %SETUPDIR% +if EXIST %FTPSCRIPT% ( + echo EXECUTING ftp script %FTPSCRIPT% in path %SETUPDIR% ... + ftp -i -s:%FTPSCRIPT% +) else ( + echo INFO: %FTPSCRIPT% not found in path %SETUPDIR% ! +) + +echo. +date /t +time /t +echo ####### %0 ####### + diff --git a/ToolsDownload.ftp b/obsolete/ToolsDownload.ftp similarity index 89% rename from ToolsDownload.ftp rename to obsolete/ToolsDownload.ftp index 384d70b..f5a8560 100644 --- a/ToolsDownload.ftp +++ b/obsolete/ToolsDownload.ftp @@ -1,35 +1,35 @@ -open exabyte-systems.com -w10install -9054c6cf-c54c - -binary - -cd tools -lcd c:\tools -mget * - -cd ../scripts -lcd c:\scripts -mget * - -cd conf -lcd c:\scripts\conf -mget * -cd .. - -cd other -lcd c:\scripts\other -mget * -cd .. - -cd desktop -lcd c:\scripts\desktop -mget * -cd .. - -cd tweaks -lcd c:\scripts\tweaks -mget * - -bye - +open exabyte-systems.com +w10install +9054c6cf-c54c + +binary + +cd tools +lcd c:\tools +mget * + +cd ../scripts +lcd c:\scripts +mget * + +cd conf +lcd c:\scripts\conf +mget * +cd .. + +cd other +lcd c:\scripts\other +mget * +cd .. + +cd desktop +lcd c:\scripts\desktop +mget * +cd .. + +cd tweaks +lcd c:\scripts\tweaks +mget * + +bye + diff --git a/reduced-remove.cmd b/reduced-remove.cmd deleted file mode 100644 index 1532e56..0000000 --- a/reduced-remove.cmd +++ /dev/null @@ -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 - diff --git a/scripts/.gitignore b/scripts/.gitignore new file mode 100644 index 0000000..5988f97 --- /dev/null +++ b/scripts/.gitignore @@ -0,0 +1,5 @@ +*.swp +*.wim +*.iso +*.exe +*.dll diff --git a/scripts/cleanup-startmenu.cmd b/scripts/cleanup-startmenu.cmd new file mode 100644 index 0000000..a5480ba --- /dev/null +++ b/scripts/cleanup-startmenu.cmd @@ -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 ####### + diff --git a/scripts/cleanup-tiles.ps1 b/scripts/cleanup-tiles.ps1 new file mode 100644 index 0000000..0dd30f0 --- /dev/null +++ b/scripts/cleanup-tiles.ps1 @@ -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 "" > $LAYOUT +echo " " >> $LAYOUT +echo " " >> $LAYOUT +echo " " >> $LAYOUT +echo " " >> $LAYOUT +echo " " >> $LAYOUT +echo " " >> $LAYOUT +echo "" >> $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),'#######' + diff --git a/scripts/deploy/firefox/local-settings.js b/scripts/deploy/firefox/local-settings.js new file mode 100644 index 0000000..43a9768 --- /dev/null +++ b/scripts/deploy/firefox/local-settings.js @@ -0,0 +1,2 @@ +pref("general.config.filename", "mozilla.cfg"); +pref("general.config.obscure_value", 0); diff --git a/scripts/deploy/firefox/mozilla.cfg b/scripts/deploy/firefox/mozilla.cfg new file mode 100644 index 0000000..f69feba --- /dev/null +++ b/scripts/deploy/firefox/mozilla.cfg @@ -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); + diff --git a/scripts/deploy/killiconcache.cmd b/scripts/deploy/killiconcache.cmd new file mode 100644 index 0000000..b416c67 --- /dev/null +++ b/scripts/deploy/killiconcache.cmd @@ -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 + diff --git a/scripts/deploy/logon.cmd b/scripts/deploy/logon.cmd new file mode 100644 index 0000000..c229089 --- /dev/null +++ b/scripts/deploy/logon.cmd @@ -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 ####### + diff --git a/scripts/deploy/pbc.cmd b/scripts/deploy/pbc.cmd new file mode 100644 index 0000000..a5d0a03 --- /dev/null +++ b/scripts/deploy/pbc.cmd @@ -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 " + +:END + diff --git a/scripts/deploy/ssh_config b/scripts/deploy/ssh_config new file mode 100644 index 0000000..0488c0d --- /dev/null +++ b/scripts/deploy/ssh_config @@ -0,0 +1,9 @@ +ControlMaster=auto +ControlPersist=60s +ServerAliveInterval=30 +StrictHostKeyChecking=no +UpdateHostKeys=no +CheckHostIP=no +UserKnownHostsFile=/dev/null +LogLevel=ERROR + diff --git a/scripts/deploy/start-ssh-agent.cmd b/scripts/deploy/start-ssh-agent.cmd new file mode 100644 index 0000000..cb039af --- /dev/null +++ b/scripts/deploy/start-ssh-agent.cmd @@ -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. +) + diff --git a/scripts/disable-autologon.cmd b/scripts/disable-autologon.cmd new file mode 100644 index 0000000..8e41e4f --- /dev/null +++ b/scripts/disable-autologon.cmd @@ -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 ####### + diff --git a/scripts/icons/CMD.lnk b/scripts/icons/CMD.lnk new file mode 100644 index 0000000000000000000000000000000000000000..99a6dbd9c226dfa2f4b1bed6065748e564595e61 GIT binary patch literal 1780 zcmah}e@xV682=oaK%H{z0Dn}#=`hrBKfFLW#zq~%6$t1Vn7a((z9P|a7vGaRw>F)B zG;6rkQpX?4&ZglX)#g?shdFJ-KOAeU6&1@eT_bbN!RAJ-jXuwNcN|A01InDV`;yf4QZzcVc5s9CO%hB$su^jiW*mhVQ;;|CbmMOrc z+g%FIp$*;Wg&#pgpc7Moy@{w7n!es;g7=Uf)&kD0!1IgZicjLYavm1<$z!j>i$jbT zhK2x~;Bu@%t8kWX+i{|*7@YyXRf}qi@;y-{9*Jw%lZyMch-&0_7aBSl&krl(MoE${ z@Dk}MlGG=>j3nblQZ8v3=}2tfb`v?+%0#Dp$=ZC$R8YvsR`?QgdT)IHtI3D-Y*wQL zFBA0wcAdf1f^I=E7U1vWJBpmf4TzfRuAzY${Bbft%h>!Vgi zUB?0P4s>x{FKyPu-cr+JK&*uPCQ0glf_kLs+PdkCSDQv^trtJrIXEJ|b`pCLQ_ZF9 z*YuunFjRJMe`Te=s|R}zYY+6hD;wT1PkXLd#zqIOZyx$BbT>D)XbE%*Z2W9zL&MT>;E|n zWdA;=?$`(Qp$5_Y;^L5ho+LSC@rwl*jYeSG6wGH=!FB2;#&U{qZ1o_nod(9o$I;*4 zkE-ZA3a%T`F*%88Pb)sh5dNMykJ;H-tYxFJS<4@c>F~CAGgq`3Pc8e!eWv4%<%eHe zHp;nLL6U+oPZGmQl5`*Qw1`2ayx5Q>2(wHag5bYPUm|FQnCB1#vq(3n5*3UNL9o(v z#N%REjF1kcCC2Jf29eK_q)z)x$;kcsb*A$(8SMi@_dbzxr8X?0AaS4LZ;Ply=*L0I zU9?#eJ_txkOurXEK5Z&X5t6T;$g7mjDfvW-Q9UX(;;D6BlJ`@@S4fiJU-qx2+<3Qs zcy7XcPT#-2ns#*x`ya?(~MIVd|(N!rG_l5>UfIbo+SW)19QGdU%cd;-3%%fb) zb2v^<#)7KFn#uID(*UO$+**-!(E+coy)_syuoSt-#)s>1S8Tq_%q34jzAz3{=Y
%IGEy4#c*t&};DdT82UQZp@eD~ok>z(d(O{QN{uZBozG6@BNd*yXf4 zfU-0lf{TvBgX-AD)pl?RtdvU2nWVU@Yf2$P!HC{rwCR4oUEi&PdQuVg=EYs!Jdv6B z#_E>{hfGTi(^5Mv-c16gliEpBlPjeyAxR04CX$Ac4BPv#B(UC7?K5_On<1HNEtR1Z z;1)|gVyPzXYXdD`P7m$SGV09OYK&=S1~p`I3>JM2spx6=ozDd*!fMoGJyxO`4Oqh+ zx02XT)Qw6slBbAPMi{*g?BIS1p#@tRvn9mS?Q0-Mkh@K|jelsjm1*GVi5B$-ydfA2 z7imWFc>HbfnZcn@{!a#mLga>)4{{^r$eCdKfF!q99>}l+b^BpaI#zG zwvc#)qMO)C@#}h9&>wJ?^$*e2b-CxtMqBOSzT)18d$+kBkC>_XN?wk;9>Ua{wl8^q zn!iIid~>5s_>2P>JLdpqCMBmDD_;WOC=YQJZ;W={7D2umEo{O2rV%v?4P!Gu;ISvmp!(AlXP%d956fAkl@BkFsqE#TH$U+mH8 zZiFMwlxlGWtr(?S`--J2XD+gy_k39w#;Z5b9k);x-aKn9j+;Z z4fUu+16rUkCIp9;S*r@t$!cy>nyhw%9>`e5D|5noYLh44uT@hpqm6t`u)+=l_&LI0 z5zW${=hbyZ!LBqZHCk({6`9M-+w;E|1;SibA2R- zv4xN-MH>id#Y89}T)XGb90;H;Z8+X+w}RWcylWO`otBlfu!AdTne}S<_kLOasng;i zzaW^9N*?!b6}LT-%zS{JXzCAyRI!fZmV&W}X|IZc;Y{t|z2fd+nX4pNQBOIwv^ra( zwc6HLyEFn88kM2(k)Fb9Sy$&?h8n%cdwct;_kRmKonD>wV9_V;fAcB4(SGDVNWyq? zk@=_Y$$Jyd=L{@3f_jy@?P>I@i$&51A>0o<3Naqb-o;pH9fS~1T`13foR@5R^ed=y zXSe;uN&3AdK#1cAGh%roW064URZEY(>9tFry(k2`V_{t_U`h~eq-ZKi)C!I#H2@=1O2 z;#@CdF`VyR=v=i4T{_=h3vaNzz-G!L^vMSs2$jzD$KcpTNRs`>YGTs5UIh-l!D!*T zFh@T9+XyvDF+ATk_XF~DQ-uZGtEGhoL+qJ%J5J;dI};(%*xa4&Ve@W!4T}l0`Jb)XHfg;C1_gmq z1ikbR2}=w`Bvug>>PwHU9!5n_4?&QHND$IPbk5yWRMK<#o$ve3{oUU=-}&z61|S%9 zAc{c#_+)p@Tv~W?y=&kUji{I#yrfGDV$-n36f*o3?+}bA@qSTK;`i!a z!~OR;I4VhZ_oCcU?O!3SPQ0*ci-gZC8^m}d5{jV)xzJs>BZYa!Egsqm(@)8Omf0!46tUcA0x1-1n$8$!ja#XPjKxgBcXwCC#bzz_sD1V?9Y_wk*g{* zMV3+$3;b*RYV-UXHtnZ$|1Y$FimxWM%@hKeQb$^8Wb5jUcAn{taz8a&ipG*}o{cEC zoHu^GEwt%NJrjAwmidCgDe2CkM|u5Qy?;Ud$puEZUDjrA^H1sJM+dGpj4h>hjmEkT z9;djLtb`_f66?=ZMA?RI93~#yG=W8>Mf1~zhJA(yi@Lzjz4;0LU$--XMe_-pb%}Yq zvpm>%^&`^5*NKBWc+HdLyJV)ho`WpSIqW!#^XMesfdTT}6yp!_2pPHTZRGVi0vG(S zFIZN4^IbtQjTz-bQL2UF#Y|w;1B9&)Zu6sOEjDg1C!F3BmM4e%U1KhrWwbUiw4dTV bOmGptT}!rI`8rkqyy??yx%uyFjxXCk{{G&h literal 0 HcmV?d00001 diff --git a/scripts/icons/notepad++.lnk b/scripts/icons/notepad++.lnk new file mode 100644 index 0000000000000000000000000000000000000000..58e89eca588500b8f02de0308487cfc1be0900a5 GIT binary patch literal 1146 zcmeZaU|?VrVFHp23Vi>C7m?ARq9+|AN9Rt4x7KH#iuy4GiW=GUz*7#lRII7y%51V9xBo&#MF! zO7in_iWzJeI2l+N-tU_kxT_8%t_M_60#;Rt&geY3?Oe$4%A=K05@CDHNusF!3V|sCo4eahh&0`l>iY)pkdk!EavM0ZL0uc z1_l`*4u#U7zyl$w-Tlmg)~ zF#ISg-gaAlRjS*cVM|IAX(q(@mjF)lffM2ReS}63#32>8+=sV{@z_m zVChGugr0e?*XRPpxj;%l2J-_KCQtSXCe$HG9%1|KJ@PPOr1}rzJ0@*Ae zL6ET^^BsW(mjly99?%=5Kr$UD2GRhs5^NkSKZ5v$Kn!y1vaDnc+o_iXw_am7;D1x% zLMTvN4x|8Nsv-~*6Lt6^A7mB?SOPJ~!i{3NE^B)WJeGSn=q<6W=#d4AXMhxV0P*ww Xt+8!S*1PQrx^qxp_1|%jI1B&)2H^4; literal 0 HcmV?d00001 diff --git a/scripts/install-antivir.cmd b/scripts/install-antivir.cmd new file mode 100644 index 0000000..27a9384 --- /dev/null +++ b/scripts/install-antivir.cmd @@ -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 ####### + diff --git a/scripts/install-desktopicons.cmd b/scripts/install-desktopicons.cmd new file mode 100644 index 0000000..9ed72ae --- /dev/null +++ b/scripts/install-desktopicons.cmd @@ -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 ####### + diff --git a/scripts/install-firefox.cmd b/scripts/install-firefox.cmd new file mode 100644 index 0000000..3f3badc --- /dev/null +++ b/scripts/install-firefox.cmd @@ -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 ####### + diff --git a/scripts/install-git.cmd b/scripts/install-git.cmd new file mode 100644 index 0000000..0c18f3f --- /dev/null +++ b/scripts/install-git.cmd @@ -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 ####### + diff --git a/scripts/install-git.txt b/scripts/install-git.txt new file mode 100644 index 0000000..a8de56b --- /dev/null +++ b/scripts/install-git.txt @@ -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 + diff --git a/scripts/install-logonscript.cmd b/scripts/install-logonscript.cmd new file mode 100644 index 0000000..4a48342 --- /dev/null +++ b/scripts/install-logonscript.cmd @@ -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 ####### + diff --git a/scripts/install-openshell.cmd b/scripts/install-openshell.cmd new file mode 100644 index 0000000..db2d005 --- /dev/null +++ b/scripts/install-openshell.cmd @@ -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 ####### + diff --git a/scripts/install-powertweaks.cmd b/scripts/install-powertweaks.cmd new file mode 100644 index 0000000..074066f --- /dev/null +++ b/scripts/install-powertweaks.cmd @@ -0,0 +1,9 @@ +@echo off + +echo ####### %0 ####### + +echo disable hibernate ... +powercfg -H off + +echo ####### %0 ####### + diff --git a/scripts/install-tweaks.cmd b/scripts/install-tweaks.cmd new file mode 100644 index 0000000..d113c73 --- /dev/null +++ b/scripts/install-tweaks.cmd @@ -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 ####### + diff --git a/scripts/tweaks/add_seconds_to_clock.reg b/scripts/tweaks/add_seconds_to_clock.reg new file mode 100644 index 0000000000000000000000000000000000000000..081b4af5637ff4153baee875ecc892834ef5ee97 GIT binary patch literal 334 zcmY+9QA+|*5QV?z!2clr0MUnDf*wKwMe1Q!i)bUnz1EWM#;&#b=dJIq5Xj{+b7sz* zne%&mq@X0HqNSlvLg39>!=9Rhm0P=os1o;iuwUCP#HIL>AtPUpi|#)&W$w%quS{5~ zmx%6Jh?k`137N5Cqh`xWwP58=#kF~*_NkX~ep{yAmyF0Sojt!KQ~8HawoXSzt>%rF zf4iYnIhen67Y^M1E~_;LJJCn()|oNYadaNoxh-m~`C!1cjJ8wGx$68z&!;#3_x=a? C^gD(C literal 0 HcmV?d00001 diff --git a/scripts/tweaks/contextmenu_explorer.reg b/scripts/tweaks/contextmenu_explorer.reg new file mode 100644 index 0000000000000000000000000000000000000000..da5cf214853b71860464c9b99e53f39332c2c815 GIT binary patch literal 456 zcmchUy$ZrW5QM*4@Et-PKx`}pe?d_YR1`51L_-W3BZ;EEygGa7EG%W&Vs_?cXSw%l zNy3>u8FvairbNV=6Hquth^WdVX<*_Uqx7TMV56k4! oR7YQ`nwvyoENRPWzMV?W`2SxKxb!KhF17zCuPSr?zQyu>0MHXoEdT%j literal 0 HcmV?d00001 diff --git a/scripts/tweaks/contextmenu_paint.reg b/scripts/tweaks/contextmenu_paint.reg new file mode 100644 index 0000000000000000000000000000000000000000..e7d06dc422fd5605a63106927ca501991e7f559e GIT binary patch literal 414 zcmcJLT?+wG5Qd*?1t-qiUvJuj1?{A zO1lS&2|i72Njcc9XX>okNCny)bFn{zdj!*S@KNHhK7VYatggQtnuvhGE%h^s)ZBoRrjiv!b{;3y7Ux>99TYa$+c!4 z$ry0MITOW5nTdO>nBo|UrQyw3S6nb>AykOD=ELrBns`;$yTaL3jV40Xt2b9qWf%Nh zHnZ(1SE`1~Qcjf}sfzka&2_}&#IjSa#Zht0k-e>iJTH6BuFzJQ8t0iY1z&#ePq=OE pkG;W#|8l^Y@=6-!=3sOrUO%93I@`Y;+?f2~hBvLz-?kS)-#3umV^RPB literal 0 HcmV?d00001 diff --git a/scripts/tweaks/contextmenu_snippingtool.reg b/scripts/tweaks/contextmenu_snippingtool.reg new file mode 100644 index 0000000000000000000000000000000000000000..d1568cbb4874bd45e440092e22e4ae10cb545d49 GIT binary patch literal 448 zcmchT$qK?i5JcZu@E<}xAb9a8xCImiK}8WGK~!Qe8;PR+yjn9k3!bECnChjvdfu-! zF&Rg4?o>F;IT0yWai!#`jIU}emWw;AR4-MH#WV3X9xb6s!^V~o6U}T088D^CLhu!# zv}eMSfT2_>E>^Xm&z^%=B;}l&^%H2~tgb{b?@SvD!MKg2kqZesyVGT?dE>{WqxjbC iN$;U>?NrzH)^Fqfzs>{eI3?BX=Kt$UYEQrUH=aLU%S_?` literal 0 HcmV?d00001 diff --git a/scripts/tweaks/contextmenu_systemsettings.reg b/scripts/tweaks/contextmenu_systemsettings.reg new file mode 100644 index 0000000000000000000000000000000000000000..fe6061cf8e24c12b5c9cc73b5f2571af05839939 GIT binary patch literal 626 zcmc(c(MrQm42J(}!FMQy-PvL1ta>51tp!0raH5EnF>0yBZI!h{hxqF1chZ6L2_&3z zlAPqvpXB@NPNf!lQl&T5@^r0S1-@F1mRjRU_${$2Y)`lRFZnI87ubjDY9HCvj-3ac z>w=tnO*GP_1{xy?X9D&Wa-&o+D79V;^;JVnm0=YiS6UgLl#FMhW{A_*#wgc(^RA4C zi!JnMm3=s6#>&^Je07NY&2q>U^*W&a#XC^Xd?naZ&|H6xU6;OH^*sed9D(S1JTvTV zJ|66HkQ?edHuWabMgPY%Qk%lux^bIrr_=Iod+=@kGgudN-0&uP=gyeDv)cK6u+<3Z nA+e6xbb#gF2(6DqLW&^w3^5N%op{Ru@ukWoa2NSR5gp+@!c)$zJ()iQ>|<;>hUeDi*- ziAgz-ai_pyK}e)tK}pV29Y@nxE|a%dX`X8u%ct@kTC`P78b({jOtrJYXUL2`uF8>o zWzSVhJVr_>IGfZf0|NGPk&-iRhR4&!Nxv>Ck8es>WEEjZV%|WTB|Af4Gf`SaXVaCc dAGJSPyTuPc#kGN9t=-sH%z-Oe=Z}w6nyc&5$NjRaf$q zJyy+d=_n=TXsKsfY}l&vl^k<19#FW+H ku_EV9a?IN>M}B@Y|CiS_&XCZ4u_NctnX=CxbLt=A3r12#q5uE@ literal 0 HcmV?d00001 diff --git a/scripts/tweaks/contextmenu_winversion.reg b/scripts/tweaks/contextmenu_winversion.reg new file mode 100644 index 0000000000000000000000000000000000000000..8515b838ead6e141ee130ced327194d6ff42a25a GIT binary patch literal 668 zcmc(dTT8=05QV>I!T%8Qq)>_`)~XQy%PHro zxnaOD7aVdW=|~6a-IerkoTy8|lXZRJhz#_F8&W_+9~9+mYhar|bv%;L^ojyY48 zl2y#U)h<{gVVym;*`;AT8^WUiZw9y>;8u;>>fvice_Hz!G4(lH0UioF;}>aK<)lgm zrMJS#686kecIuoI&$6oenfQVJH2z~c@xSiI*-j=*wBz#5s$EsQ=XQJVc2P}z7gEpm E8-##j*Z=?k literal 0 HcmV?d00001 diff --git a/scripts/tweaks/deactivate_UAC.reg b/scripts/tweaks/deactivate_UAC.reg new file mode 100644 index 0000000000000000000000000000000000000000..56a7e3867264082b4ed25c907e8c2ba5780e99bc GIT binary patch literal 560 zcmb7>QA+|*5QV?zp#LELfas-{pocP}C{r|(a6?SDT1r=TEAh`)-wp-#wsE=4ojG^T zoOAEj=ZK6Yb8^;{H0YD^WUb_lf{m57Xl9n1H@FoqL^JcH`2lq}h v{ePH;F~6wE+g8Dp2fd}fbc}4{&iK0uk!c}#kgJo literal 0 HcmV?d00001 diff --git a/scripts/tweaks/disable_dumpstack_logging.reg b/scripts/tweaks/disable_dumpstack_logging.reg new file mode 100644 index 0000000000000000000000000000000000000000..f9005c475d857bdfb5459bc9af2d13a89e367705 GIT binary patch literal 286 zcmZ9H!3x4K5JcxJ_z$HYAYQx(9waD=R>6uQDxz4lAPJ;O@#oc-Kra%)W@a|Cv)|8F zrL3-Us#Ph`N`-E4m7el?!;DZ%kOL>$pnKF3Y{5Ns)aA6*ig&MxX8hUdq`8(d8d6Wn zs0MAS1?oXL9l6%LGmy~>SC6-4l8N47zSD!Q0xtA~i47aD*O?^uKjj#6q&Qpj3l0Sd Z99xY^9Z;$PJJoQW+K>6e4$WzH`2iw7Fo*yE literal 0 HcmV?d00001 diff --git a/scripts/tweaks/explorer_remove_onedrive.reg b/scripts/tweaks/explorer_remove_onedrive.reg new file mode 100644 index 0000000000000000000000000000000000000000..de71023bd443484a8d706aa2960fec3bb8f79406 GIT binary patch literal 344 zcmXw#ZA$`C5QU%5LH|MayP^5g3kbcqkt7)@hFD0nOYDbsLnD#!uUC%)a=6?xbLP%H zGk?EN6qICCtXWaxk(_sPE52B=F_WqmMwM}msrpj2FfNTd9MKSm9K@M(%bjm#EVyRK zC1a6#7WN*A3D2R78PJ#i_`1odykovA>a^u8v12Xu6WJM8k*#wq+SaGusdtkb?=D+j z!ovkU5`QZ7+ShHtw=4-Q(a9#J%lXjzK>lDw8P%EYD(-nz%dPyBy~!qa$)iWlZLDJ# O8Rs$iZu&j;Tlfb_i8K5F literal 0 HcmV?d00001 diff --git a/scripts/tweaks/fast_reboot_and_shutdown.reg b/scripts/tweaks/fast_reboot_and_shutdown.reg new file mode 100644 index 0000000000000000000000000000000000000000..53a76c72e8de1f14f1a8e06cc6863e32377b4238 GIT binary patch literal 508 zcmaKp+e*Vw5JlIs;6H?XfKPo0m&`LPW?AdeK zGx_|OQc&?k;Ejfe33C?48dlW28#$9LL_r*JBVWrF;!1qX0X@Hc_PTe+IRk5M$+=`q zLSLIR)FyHljAUn|W~5~LLs7!ouC=`@Cna6)c7C8VYi_K~X(xV1@4IO+Qyw~Xne0HX z+*H)OiXN@av@hD=j1@5_zN1caPwy|?3D@3XqPCIMxhU12{L&C{<@CzlrQE5u;n^91 uCI9K`%P)U)jd$vbz1Q0Q3vahwv3rx)%y!G5-uAC%>T5MMo4pUWHvR(TzEW5K literal 0 HcmV?d00001 diff --git a/scripts/tweaks/systemsettings_remove_onlinetips.reg b/scripts/tweaks/systemsettings_remove_onlinetips.reg new file mode 100644 index 0000000..5671cfb --- /dev/null +++ b/scripts/tweaks/systemsettings_remove_onlinetips.reg @@ -0,0 +1,5 @@ +Windows Registry Editor Version 5.00 + +[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] +"AllowOnlineTips"=dword:00000000 + diff --git a/scripts/tweaks/win10_disable_lockscreen.reg b/scripts/tweaks/win10_disable_lockscreen.reg new file mode 100644 index 0000000000000000000000000000000000000000..84000dcaca5016e92904595c053b857c86d1db2e GIT binary patch literal 884 zcmbu7T}uLC5QWcm(0^FGU(+B1ql>blFHN+PXhYPtT+-ceSC;zm)ibYcXb=%GEbq?O znVB>5{?=2ZSocblE0w2?LOo(jm1(9IEQfd_v;^JLHU1gi2t7vMQdt#bU2E>!!PX!m z)PS6jTu(!A>bzZzvF0vspBStB^kbIcTh^)O{Du5gU00qqsaK`4)wFt-L@fG?z@NCR zF_uivWYo2R?lu5nPK50y#=pAB03>5^{OL6`+u&l)0bL~Ah3({uF06x) zO2r)g})rnjJNLY$8M;Q|Fh8sd*T?0T%Q39{?1RE ZSi5bT((WkI>k 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 ####### + diff --git a/source/.gitignore b/source/.gitignore new file mode 100644 index 0000000..5988f97 --- /dev/null +++ b/source/.gitignore @@ -0,0 +1,5 @@ +*.swp +*.wim +*.iso +*.exe +*.dll diff --git a/umount-wim.cmd b/umount-wim.cmd deleted file mode 100644 index bbf6898..0000000 --- a/umount-wim.cmd +++ /dev/null @@ -1,6 +0,0 @@ -set SOURCES=c:\TEMP\Win10\sources -set MNT=c:\TEMP\WIM - -dism /Unmount-Wim /MountDir:%MNT% /Discard -dism /Cleanup-Wim - diff --git a/wim/.gitignore b/wim/.gitignore new file mode 100644 index 0000000..5988f97 --- /dev/null +++ b/wim/.gitignore @@ -0,0 +1,5 @@ +*.swp +*.wim +*.iso +*.exe +*.dll diff --git a/wim/RunScriptTest.cmd b/wim/RunScriptTest.cmd new file mode 100644 index 0000000..c1dc93c --- /dev/null +++ b/wim/RunScriptTest.cmd @@ -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 + diff --git a/SetupComplete.cmd b/wim/SetupComplete.cmd similarity index 73% rename from SetupComplete.cmd rename to wim/SetupComplete.cmd index d98a51d..08422af 100644 --- a/SetupComplete.cmd +++ b/wim/SetupComplete.cmd @@ -1,46 +1,34 @@ -@echo off -set LOG=c:\SetupComplete.txt -set SETUPDIR=c:\Windows\Setup\scripts -set FTPSCRIPT=ToolsDownload.cmd - -del /Q %LOG% 1>nul 2>nul -if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 -shift /1 - -echo ####### %0 ####### -date /t -time /t -echo. - -echo Disable Windows "Hi" Animation ... -reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^ - /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f -reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^ - /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f -echo. - -rem allow execution of any powershell script ... -powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine" -powershell -Command ^ -"$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 !' ^ -}" -echo. - -rem call initial download script ... -cd /D %SETUPDIR% -if EXIST %FTPSCRIPT% ( - echo EXECUTING %FTPSCRIPT% ... - call %FTPSCRIPT% -) else ( - echo INFO: %FTPSCRIPT% not found! -) - -echo. -date /t -time /t -echo ####### %0 ####### - +@echo off +set LOG=c:\SetupComplete.txt + +del /F %LOG% 1>nul 2>nul +if not "%1"=="STDOUT_TO_FILE" %0 STDOUT_TO_FILE %* 1>%LOG% 2>&1 +shift /1 + +echo ####### %0 ####### +date /t +time /t +echo. + +echo Disable Windows "Hi" Animation ... +reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" ^ + /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f +reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ^ + /v EnableFirstLogonAnimation /t REG_DWORD /d 0 /f +echo. + +rem allow execution of any powershell script ... +powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine" +powershell -Command ^ +"$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 !' ^ +}" +echo. + +date /t +time /t +echo ####### %0 ####### + diff --git a/wim/StartCustomSetup.cmd b/wim/StartCustomSetup.cmd new file mode 100644 index 0000000..8f6ed9a --- /dev/null +++ b/wim/StartCustomSetup.cmd @@ -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 ####### + diff --git a/export-image.cmd b/wim/export-image.cmd similarity index 62% rename from export-image.cmd rename to wim/export-image.cmd index a4b41d6..722d481 100644 --- a/export-image.cmd +++ b/wim/export-image.cmd @@ -1,11 +1,14 @@ -set SOURCES=c:\TEMP\Win10\sources - -del %SOURCES%\install.wim 1>nul 2>nul - -dism /Export-Image ^ - /SourceImageFile:%SOURCES%\install.esd ^ - /DestinationImageFile:%SOURCES%\install.wim ^ - /SourceName:"Windows 10 Pro" ^ - /Compress:Max ^ - /CheckIntegrity - +@echo off +set SOURCES=c:\TEMP\W10\sources + +echo deleting old install.wim ... +del %SOURCES%\install.wim 1>nul 2>nul + +echo exporting WIM image from %SOURCES%\install.esd ... +dism /Export-Image ^ + /SourceImageFile:%SOURCES%\install.esd ^ + /DestinationImageFile:%SOURCES%\install.wim ^ + /SourceName:"Windows 10 Pro" ^ + /Compress:Max ^ + /CheckIntegrity + diff --git a/finish-image.cmd b/wim/finish-image.cmd similarity index 54% rename from finish-image.cmd rename to wim/finish-image.cmd index 96fb9c9..d814030 100644 --- a/finish-image.cmd +++ b/wim/finish-image.cmd @@ -1,30 +1,38 @@ -@echo off -set SOURCES=c:\TEMP\Win10\sources -set MNT=c:\TEMP\WIM - -rd /S /Q %MNT%\Windows\Setup\scripts 1>nul 2>nul -mkdir %MNT%\Windows\Setup\scripts 1>nul 2>nul - -echo copy SetupComplete script ... -copy /Y SetupComplete.cmd %MNT%\Windows\Setup\scripts -if %errorlevel% neq 0 exit /b %errorlevel% - -echo copy ftp scripts ... -copy /Y ToolsDownload.* %MNT%\Windows\Setup\scripts -if %errorlevel% neq 0 exit /b %errorlevel% - -dir %MNT%\Windows\Setup\scripts - -dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase -dism /Unmount-Wim /MountDir:%MNT% /Commit - -dism /Export-Image ^ - /SourceImageFile:%SOURCES%\install.wim ^ - /DestinationImageFile:%SOURCES%\install_FINAL.esd ^ - /SourceName:"Windows 10 Pro" ^ - /Compress:Recovery ^ - /CheckIntegrity - -del /Q %SOURCES%\install.wim -dir %MNT% - +@echo off +set SOURCES=c:\TEMP\W10\sources +set MNT=c:\TEMP\WIM + +rd /S /Q %MNT%\Windows\Setup\scripts 1>nul 2>nul +mkdir %MNT%\Windows\Setup\scripts 1>nul 2>nul + +echo copying SetupComplete script to mountpoint %MNT% ... +copy /Y SetupComplete.cmd %MNT%\Windows\Setup\scripts +if %errorlevel% neq 0 exit /b %errorlevel% + +echo copying script for custom setup to mountpoint %MNT% ... +copy /Y StartCustomSetup.cmd %MNT%\Windows\Setup\scripts +if %errorlevel% neq 0 exit /b %errorlevel% + +echo showing directory contents : +dir %MNT%\Windows\Setup\scripts + +echo doing cleanup on mountpoint %MNT% ... +dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase + +echo unmounting and committing changes to %SOURCES%\install.wim ... +dism /Unmount-Wim /MountDir:%MNT% /Commit + +echo directory of %MNT% : +dir %MNT% + +echo exporting %SOURCES%\install.wim to %SOURCES%\install_FINAL.esd ... +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 + diff --git a/get-wiminfo.cmd b/wim/get-wiminfo.cmd similarity index 65% rename from get-wiminfo.cmd rename to wim/get-wiminfo.cmd index 0f14221..7bf295b 100644 --- a/get-wiminfo.cmd +++ b/wim/get-wiminfo.cmd @@ -1,14 +1,15 @@ -@echo off -set SOURCES=c:\TEMP\Win10\sources -set FILENAME=%1 - -IF %1.==. GOTO USAGE - -dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME% -GOTO END - -:USAGE -echo "usage: %0 " - -:END - +@echo off +set SOURCES=c:\TEMP\W10\sources +set FILENAME=%1 + +IF %1.==. GOTO USAGE + +echo getting infos of %SOURCES%\%FILENAME% ... +dism /Get-WimInfo /WimFile:%SOURCES%\%FILENAME% +GOTO END + +:USAGE +echo "usage: %0 " + +:END + diff --git a/wim/mount-wim.cmd b/wim/mount-wim.cmd new file mode 100644 index 0000000..5e84195 --- /dev/null +++ b/wim/mount-wim.cmd @@ -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% + diff --git a/remove-components.cmd b/wim/remove-components.cmd similarity index 97% rename from remove-components.cmd rename to wim/remove-components.cmd index 009b8d0..3954e5e 100644 --- a/remove-components.cmd +++ b/wim/remove-components.cmd @@ -1,272 +1,272 @@ -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 -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ParentalControls" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PAW-Feature" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerDist" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerToPeer" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PerformanceCounters" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PhotoBasic" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Portable-Devices" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Presentation" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-InternetPrinting-Client" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-LocalPrinting-Enterprise" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PMCPPC-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PremiumTools" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PrintToPDFServices" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-WFS-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-XPSServices" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Provisioning" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Proximity" /r /n -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 -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-Serial" /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-SettingSync" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Skype" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Client-D" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Deprecation-Group" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Server-D-Opt" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect-Opt" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SnippingTool" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SNMP" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StepsRecorder" /r /n -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-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 -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" /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-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-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 -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualXP" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WebcamExperience" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsFoundation-LanguagePack" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinOcr" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinRT" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinSATMediaFiles" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMIPerf" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordBreaking" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad-FoD" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WorkplaceJoin" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-LegacyWmdmFeature" /r /n -install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature" /r /n -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 "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 "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 SOFTWAREBKP 1>nul 2>nul - -rem export remaining PACKAGE names ... -install_wim_tweak /p %MNT% /l -dir Packages.txt - +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 +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 +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-ParentalControls" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PAW-Feature" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerDist" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PeerToPeer" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PerformanceCounters" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-PhotoBasic" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Portable-Devices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Presentation" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-InternetPrinting-Client" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-LocalPrinting-Enterprise" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PMCPPC-FoD" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PremiumTools" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-PrintToPDFServices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-WFS-FoD" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Printing-XPSServices" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Provisioning" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Proximity" /r /n +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 +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-Serial" /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-SettingSync" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-Skype" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Client-D" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Deprecation-Group" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SMB1Server-D-Opt" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect-Opt" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SmbDirect" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SnippingTool" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-SNMP" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-StepsRecorder" /r /n +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-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 +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" /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-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-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 +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-VirtualXP" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WebcamExperience" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsFoundation-LanguagePack" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WindowsMediaPlayer-Troubleshooters" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinOcr" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinRT" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WinSATMediaFiles" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WMIPerf" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordBreaking" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WordPad-FoD" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WorkplaceJoin" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-LegacyWmdmFeature" /r /n +install_wim_tweak.exe /p %MNT% /c "Microsoft-Windows-WPD-UltimatePortableDeviceFeature-Feature" /r /n +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 "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 "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 + +rem export remaining PACKAGE names ... +install_wim_tweak /p %MNT% /l +dir Packages.txt + diff --git a/wim/umount-wim.cmd b/wim/umount-wim.cmd new file mode 100644 index 0000000..cb1608a --- /dev/null +++ b/wim/umount-wim.cmd @@ -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 +