We hope MSMG will soon add psfx repack into next msmg toolkit update. Thanks @RaiyvaN Brother i am waiting for your next custom toolkit build . Great fan of your job
@MSMG, The new Icons Pack with Win32Calc icons replaces Win32Calc Pack Integration Menu option? Should we update the pack for the new icon file that is reduced size? The Tweak for "Windows 11 Bypass Hardware Requirements" does not have to be in the loop of indexes, even if there are no problems and be kept with it, can be moved out of the for loop. from Code: if "%Tweak%" equ "AllTweaks" echo.####Applying All Tweaks######################################################## if "%Tweak%" equ "Disable3RDPartyApps" echo.####Applying Disable Downloading and Installing 3rd Party Apps Tweak########### if "%Tweak%" equ "DisableCortanaApp" echo.####Applying Disable Cortana App Tweak######################################### if "%Tweak%" equ "DisableDriversUpdates" echo.####Applying Disable Automatic Driver Updates through Windows Update Tweak##### if "%Tweak%" equ "DisableReservedStorage" echo.####Applying Disable Microsoft Reserved Storage Space for Windows Updates###### if "%Tweak%" equ "DisableW11InstHardwareCheck" echo.####Applying Disable Windows 11 Installer Hardware Check####################### if "%Tweak%" equ "DisableWindowsDefender" echo.####Applying Disable Windows Defender Tweak#################################### if "%Tweak%" equ "DisableWindowsUpdate" echo.####Applying Disable Windows Update Tweak###################################### if "%Tweak%" equ "DisableWindowsUpgrade" echo.####Applying Disable Automatic Windows OS Upgrade Tweak######################## if "%Tweak%" equ "EnableFMP3ProCodec" echo.####Applying Enable Fraunhofer MP3 Professional Codec Tweak#################### if "%Tweak%" equ "EnableFullResetBase" echo.####Applying Enable DISM Image Cleanup with Full ResetBase Tweak############### if "%Tweak%" equ "EnablePhotoViewer" echo.####Applying Enable Windows Photo Viewer Tweak################################# if "%Tweak%" equ "ForceLatestNetFramework" echo.####Applying Force .NET Programs to Use Newest .NET Framework Tweak############ if "%Tweak%" equ "HideTaskViewIcon" echo.####Applying Hide Taskbar TaskView Icon Tweak##################################### if "%Tweak%" equ "HideMeetNowIcon" echo.####Applying Hide Taskbar Meet Now Icon Tweak################################## if "%Tweak%" equ "HideNewsAndInterests" echo.####Applying Hide Taskbar News ^& Interest Tweak############################### echo.------------------------------------------------------------------------------- for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" ( echo. if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================ if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================ echo. echo.Mounting Image Registry... call :MountImageRegistry "%InstallMount%\%%i" echo.Importing Registry Settings to Image Registry... if "%Tweak%" equ "DisableW11InstHardwareCheck" ( Reg load "HKLM\TK_BOOT_SYSTEM" "%BootMount%\2\Windows\System32\Config\SYSTEM" >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg unload "HKLM\TK_BOOT_SYSTEM" >nul 2>&1 ) if "%Tweak%" equ "DisableCortanaApp" ( to Code: if "%Tweak%" equ "AllTweaks" echo.####Applying All Tweaks######################################################## if "%Tweak%" equ "Disable3RDPartyApps" echo.####Applying Disable Downloading and Installing 3rd Party Apps Tweak########### if "%Tweak%" equ "DisableCortanaApp" echo.####Applying Disable Cortana App Tweak######################################### if "%Tweak%" equ "DisableDriversUpdates" echo.####Applying Disable Automatic Driver Updates through Windows Update Tweak##### if "%Tweak%" equ "DisableReservedStorage" echo.####Applying Disable Microsoft Reserved Storage Space for Windows Updates###### if "%Tweak%" equ "DisableWindowsDefender" echo.####Applying Disable Windows Defender Tweak#################################### if "%Tweak%" equ "DisableWindowsUpdate" echo.####Applying Disable Windows Update Tweak###################################### if "%Tweak%" equ "DisableWindowsUpgrade" echo.####Applying Disable Automatic Windows OS Upgrade Tweak######################## if "%Tweak%" equ "EnableFMP3ProCodec" echo.####Applying Enable Fraunhofer MP3 Professional Codec Tweak#################### if "%Tweak%" equ "EnableFullResetBase" echo.####Applying Enable DISM Image Cleanup with Full ResetBase Tweak############### if "%Tweak%" equ "EnablePhotoViewer" echo.####Applying Enable Windows Photo Viewer Tweak################################# if "%Tweak%" equ "ForceLatestNetFramework" echo.####Applying Force .NET Programs to Use Newest .NET Framework Tweak############ if "%Tweak%" equ "HideTaskViewIcon" echo.####Applying Hide Taskbar TaskView Icon Tweak##################################### if "%Tweak%" equ "HideMeetNowIcon" echo.####Applying Hide Taskbar Meet Now Icon Tweak################################## if "%Tweak%" equ "HideNewsAndInterests" echo.####Applying Hide Taskbar News ^& Interest Tweak############################### echo.------------------------------------------------------------------------------- if "%Tweak%" equ "DisableW11InstHardwareCheck" ( if "%IsBootImageSelected%" equ "Yes" ( :: Performing [Boot.wim, Index : 2] Image Tweak echo. echo.##### Applying Disable Windows 11 Installer Hardware Check #################### echo. echo.=============================[Boot.wim, Index : 2]============================= echo. echo.Mounting Image Registry... call :MountImageRegistry "%BootMount%\2" Reg add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d "1" /f >nul 2>&1 echo. echo.Un-Mounting Image Registry... call :UnMountImageRegistry echo. echo.##### Finished Disable Windows 11 Installer Hardware Check #################### goto :Stop ) ) for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" ( echo. if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================ if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================ echo. echo.Mounting Image Registry... call :MountImageRegistry "%InstallMount%\%%i" echo.Importing Registry Settings to Image Registry... if "%Tweak%" equ "DisableCortanaApp" ( I am curious about the "BypassStorageCheck" because disabling it can generate recording problems when you are working with some storage that is almost full. He loses that limiter who leaves a free space reserved for work. I think there may be other reasons... but I have no idea what reasons. Or that I did not correctly understand what I read. So, would not it be better to leave this tweak out? I'm waiting for some illuminating information. After the changes in :SaveSource, when the changes were applied on WinRE, there is a WinRE related part (Cleaning up Image folder) that stood inside the loop of indexes as well, without needing to stay there. I do not know if the loss of performance is perceived in the execution of the script, in both cases. But you can optimize here too. from Code: echo. echo.------------------------------------------------------------------------------- echo.Cleaning up Image folder... echo.------------------------------------------------------------------------------- echo. echo.Cleaning up Image temporary and log files or folders. :: Performing [Boot.wim, Index : 1 and 2] Image Windows folder cleanup if "%IsBootImageSelected%" equ "Yes" ( for /l %%i in (1, 1, 2) do ( if exist "%BootMount%\%%i\Users\Default\*.LOG1" del /f /q "%BootMount%\%%i\Users\Default\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.LOG2" del /f /q "%BootMount%\%%i\Users\Default\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.TM.blf" del /f /q "%BootMount%\%%i\Users\Default\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.regtrans-ms" del /f /q "%BootMount%\%%i\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\inf\*.log" del /f /q "%BootMount%\%%i\Windows\inf\*.log" >nul 2>&1 if exist "%BootMount%\%%i\Windows\CbsTemp\*" ( for /f %%i in ('"dir /s /b /ad "%BootMount%\%%i\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%i >nul 2>&1) del /s /f /q "%BootMount%\%%i\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%BootMount%\%%i\Windows\System32\config\*.LOG1" del /f /q "%BootMount%\%%i\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.LOG2" del /f /q "%BootMount%\%%i\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.TM.blf" del /f /q "%BootMount%\%%i\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.regtrans-ms" del /f /q "%BootMount%\%%i\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Backup\*.*" del /f /q "%BootMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%BootMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%BootMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" del /s /f /q "%BootMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 ) ) for /l %%i in (1, 1, %ImageCount%) do ( :: Performing [Install.wim] Image Windows folder cleanup if exist "%InstallMount%\%%i" ( if exist "%InstallMount%\%%i\$Recycle.Bin" rd /q /s "%InstallMount%\%%i\$Recycle.Bin" >nul 2>&1 if exist "%InstallMount%\%%i\PerfLogs" rd /q /s "%InstallMount%\%%i\PerfLogs" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.LOG1" del /f /q "%InstallMount%\%%i\Users\Default\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.LOG2" del /f /q "%InstallMount%\%%i\Users\Default\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.TM.blf" del /f /q "%InstallMount%\%%i\Users\Default\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\inf\*.log" del /f /q "%InstallMount%\%%i\Windows\inf\*.log" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\CbsTemp\*" ( for /f %%i in ('"dir /s /b /ad "%InstallMount%\%%i\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%i >nul 2>&1) del /s /f /q "%InstallMount%\%%i\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%InstallMount%\%%i\Windows\System32\config\*.LOG1" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.LOG2" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.TM.blf" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Backup\*.*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%InstallMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 :: Performing [WinRE.wim, Index : 1] Image Windows folder cleanup if "%IsRecoveryImageSelected%" equ "Yes" ( if exist "%WinReMount%\Users\Default\*.LOG1" del /f /q "%WinReMount%\Users\Default\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.LOG2" del /f /q "%WinReMount%\Users\Default\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.TM.blf" del /f /q "%WinReMount%\Users\Default\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.regtrans-ms" del /f /q "%WinReMount%\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\inf\*.log" del /f /q "%WinReMount%\Windows\inf\*.log" >nul 2>&1 if exist "%WinReMount%\Windows\CbsTemp\*" ( for /f %%j in ('"dir /s /b /ad "%WinReMount%\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%j >nul 2>&1) del /s /f /q "%WinReMount%\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%WinReMount%\Windows\System32\config\*.LOG1" del /f /q "%WinReMount%\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.LOG2" del /f /q "%WinReMount%\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.TM.blf" del /f /q "%WinReMount%\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.regtrans-ms" del /f /q "%WinReMount%\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Backup\*.*" del /f /q "%WinReMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%WinReMount%\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%WinReMount%\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Temp\TransformerRollbackData\*" del /s /f /q "%WinReMount%\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 ) ) ) echo. ) :: Saving & Un-Mounting Source Boot Images to Code: echo. echo.------------------------------------------------------------------------------- echo.Cleaning up Image folder... echo.------------------------------------------------------------------------------- echo. echo.Cleaning up Image temporary and log files or folders. :: Performing [Boot.wim, Index : 1 and 2] Image Windows folder cleanup if "%IsBootImageSelected%" equ "Yes" ( for /l %%i in (1, 1, 2) do ( if exist "%BootMount%\%%i\Users\Default\*.LOG1" del /f /q "%BootMount%\%%i\Users\Default\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.LOG2" del /f /q "%BootMount%\%%i\Users\Default\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.TM.blf" del /f /q "%BootMount%\%%i\Users\Default\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Users\Default\*.regtrans-ms" del /f /q "%BootMount%\%%i\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\inf\*.log" del /f /q "%BootMount%\%%i\Windows\inf\*.log" >nul 2>&1 if exist "%BootMount%\%%i\Windows\CbsTemp\*" ( for /f %%i in ('"dir /s /b /ad "%BootMount%\%%i\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%i >nul 2>&1) del /s /f /q "%BootMount%\%%i\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%BootMount%\%%i\Windows\System32\config\*.LOG1" del /f /q "%BootMount%\%%i\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.LOG2" del /f /q "%BootMount%\%%i\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.TM.blf" del /f /q "%BootMount%\%%i\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\config\*.regtrans-ms" del /f /q "%BootMount%\%%i\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%BootMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Backup\*.*" del /f /q "%BootMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%BootMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%BootMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%BootMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" del /s /f /q "%BootMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 ) ) :: Performing [WinRE.wim, Index : IndexNo] Image Windows folder cleanup if "%IsRecoveryImageSelected%" equ "Yes" ( if exist "%WinReMount%\Users\Default\*.LOG1" del /f /q "%WinReMount%\Users\Default\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.LOG2" del /f /q "%WinReMount%\Users\Default\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.TM.blf" del /f /q "%WinReMount%\Users\Default\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Users\Default\*.regtrans-ms" del /f /q "%WinReMount%\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\inf\*.log" del /f /q "%WinReMount%\Windows\inf\*.log" >nul 2>&1 if exist "%WinReMount%\Windows\CbsTemp\*" ( for /f %%j in ('"dir /s /b /ad "%WinReMount%\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%j >nul 2>&1) del /s /f /q "%WinReMount%\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%WinReMount%\Windows\System32\config\*.LOG1" del /f /q "%WinReMount%\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.LOG2" del /f /q "%WinReMount%\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.TM.blf" del /f /q "%WinReMount%\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Windows\System32\config\*.regtrans-ms" del /f /q "%WinReMount%\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%WinReMount%\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%WinReMount%\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Backup\*.*" del /f /q "%WinReMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%WinReMount%\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%WinReMount%\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%WinReMount%\Windows\WinSxS\Temp\TransformerRollbackData\*" del /s /f /q "%WinReMount%\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 ) for /l %%i in (1, 1, %ImageCount%) do ( :: Performing [Install.wim] Image Windows folder cleanup if exist "%InstallMount%\%%i" ( if exist "%InstallMount%\%%i\$Recycle.Bin" rd /q /s "%InstallMount%\%%i\$Recycle.Bin" >nul 2>&1 if exist "%InstallMount%\%%i\PerfLogs" rd /q /s "%InstallMount%\%%i\PerfLogs" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.LOG1" del /f /q "%InstallMount%\%%i\Users\Default\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.LOG2" del /f /q "%InstallMount%\%%i\Users\Default\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.TM.blf" del /f /q "%InstallMount%\%%i\Users\Default\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Users\Default\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Users\Default\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\inf\*.log" del /f /q "%InstallMount%\%%i\Windows\inf\*.log" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\CbsTemp\*" ( for /f %%i in ('"dir /s /b /ad "%InstallMount%\%%i\Windows\CbsTemp\*"" 2^>nul') do (rd /q /s %%i >nul 2>&1) del /s /f /q "%InstallMount%\%%i\Windows\CbsTemp\*" >nul 2>&1 ) if exist "%InstallMount%\%%i\Windows\System32\config\*.LOG1" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.LOG2" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.TM.blf" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\config\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Windows\System32\config\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG1" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.LOG2" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.TM.blf" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" del /f /q "%InstallMount%\%%i\Windows\System32\SMI\Store\Machine\*.regtrans-ms" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Backup\*.*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Backup\*.*" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" del /f /q "%InstallMount%\%%i\Windows\WinSxS\ManifestCache\*.bin" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Temp\PendingDeletes\*" >nul 2>&1 if exist "%InstallMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" del /f /q "%InstallMount%\%%i\Windows\WinSxS\Temp\TransformerRollbackData\*" >nul 2>&1 ) ) echo. ) :: Saving & Un-Mounting Source Boot Images
The new Icons pack only replaces the icon resources but leaves the rest of the bitmaps or PNG resources, the Win32Calc skin contains metro skin including icons, bitmaps or PNG resources. The Windows 11 Bypass Hardware Requirements can be moved out of the loop like this and the "BypassStorageCheck" key needs to be verified if it will create any hardware issues. The :SaveSource, Winre Cleanup can be moved outside the loop. Have done the changes suggested. Code: if "%Tweak%" equ "DisableW11InstHardwareCheck" ( echo. echo.Mounting Image Registry... Reg load "HKLM\TK_BOOT_SYSTEM" "%BootMount%\2\Windows\System32\Config\SYSTEM" >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d "1" /f >nul 2>&1 Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d "1" /f >nul 2>&1 echo. echo.Un-Mounting Image Registry... Reg unload "HKLM\TK_BOOT_SYSTEM" >nul 2>&1 )
Just a thought, seeing as mdl hasn't so far given a sub forum for msmg, why not create a discord server and then its easier to seperate things and also pin those questions that keep being repeated here
Can anyone tell me the purpose of DOT NET 5. Is it really necessary like the dot net fx 3.5 or 4.8 which is required by some softwares. Because today i checked with dot net detector and I came to know that Dot NET 5 is just the core and not the framework like 3.5 or 4.8. Is it only required for developers or its better to have it even for other purpose. Thank you
Yes, it's missing. VC ++ 2022 replaces and supports VC ++ 2019. Get the new Toolkit.cmd in the Mega.nz Repo.
@MSMG, About ToolkitHelper.exe: I think that if they are unrestricted we can already test the removal of components and inform about the errors found, in which components, components that are no longer present by default (this is previously informed and is relatively simple to obtain information), etc. . And since a component is not present the Toolkit Helper already displays a message that the component has already been removed, this is not a problem. But for the best identification of which component has already been removed, the Toolkit Helper displays the name of the component removed as well. This brings the benefit of not having to worry about adding support to each built released, only when very discrepant differences require intervention. So... Would it be interesting to make unrestricted for build versions above the releases? An example: At Custom Toolkit, I have already left a ready bypass, for when Windows 11 starts to be identified through ImageVersion with version 11.0. Since this Windows 11 build is based on a 21h1, I also left (at your own risk - for testing purposes)most of the components to could be integrated with the 19041.1 packs, but when the Specific Build Pack is present it integrates the correct version. In the case, Build 22000.1 (for now - NetFX3.5, Dart and OpenSSH).
https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110 Sent an 2021-08-25 New Custom Toolkit updated file attached in the link above. Spoiler: CHANGELOG 2021-08-25 Merge made with the fourth version of the Official Toolkit 11.7 on the day 2021-08-23. 1. Fixed "Sun Valley Icons Skin" integration: * for w7 and w81, thnks to @Bira suggestion. * for w10 build 18362 by changing geq "18363" to geq "18362". * Added "Windows Photo Viewer Skin" and "Icons Skin" in the Custom Integrate for W7 and W81 menu. NOTE: "Windows Media Player Skin" break Windows Media Player for W7 and W81. Thnks by tests made by @Bira. 2. Added the condition to Integrate Windows Portable Devices :: Checking whether exists N Editions supported for Windows Portable Devices Integration are selected as source. If only non-N editions are selected, the following message will be displayed: 3. VirtualCreate_ImageIndexEditions.zip (2021-08-24 updated with @abbodi1406 "uup-converter-wimlib-69" Thnks!
MSMG, Checking the CPU compliance is no less important than checking RAM and Storage. Please add more bypassing the CPU check: Code: Reg add "HKLM\TK_BOOT_SYSTEM\Setup\LabConfig" /v "BypassCPUCheck" /t REG_DWORD /d "1" /f >nul 2>&1 I use this tweak (for boot.wim) in my builds 22000.100 - 22000.160, everything is fine: Code: Windows Registry Editor Version 5.00 ; Bypass_TPM-SecureBoot-RAM-Storage-CPU_Check [HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig] "BypassTPMCheck"=dword:00000001 "BypassSecureBootCheck"=dword:00000001 "BypassRAMCheck"=dword:00000001 "BypassStorageCheck"=dword:00000001 "BypassCPUCheck"=dword:00000001
Good morning I noticed that version 11.7 supports Windows 11 V21H2 (All Editions), I'm using the W11 Build 22000.160. I tried to insert, as usual, the RemovePkgsList and when making the procedure [3] Remove > [2] Remove Windows Components Using Package List…’Y’ The message "Finished Removing Components Using Package List" appears immediately without removing anything. Maybe it's still early for this Windows release? Thanks.
Great, this ISO is just what you need. It remains only before removing the components to integrate into it a SU that is compatible with the current version ToolkitHelper.exe. In this case, it is 17763.2061 (according to Changelog.txt). To download only the update files on the page uupdump.net you need to select the release version (button 1809 at the top right). The set of updates for build 17763.2061 is presented in two versions: Cumulative update and Feature update. If you want to get a completely updated ISO, including updated installer files (DVD\sources) - > Select "Feature update to Windows 10, version 1809 (17763.2061) amd64" -> Select the language, the source version (Home, Pro, or all together), and then use the "Browse the list of updates" button -> Download all updates, place them at the path: Toolkit_v11. 7\WHD\w10\x64\10.0.17763\ -> Then rename the files using the Rename.cmd script (you will see the code text below on the page.) In the Toolkit: (2) Integrate -> (4) Windows Updates -> Integrate WHD Updates -> Integrate WHD General Update Pack -> (4) Integrate to Boot, Install and Recovery Images
For ToolkitHelper.exe support for removing components has not yet been added for 22000.xxx builds. Under your responsibility! (for the purpose of testing). (!) Only for the DISM method: Spoiler: Edit the Toolkit. cmd Edit the Toolkit. cmd as follows: Find "Function to Remove Windows Components Using Package List" Edit from: Code: if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19044" ( In: Code: if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "22000" ( And further, below from: Code: if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19044" ( In: Code: if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "22000" ( Windows Apps can be deleted using this List: Spoiler: RemoveAppsList.txt A025C540.Yandex.Music Microsoft.549981C3F5F10 Microsoft.BingNews Microsoft.BingWeather Microsoft.DesktopAppInstaller Microsoft.GamingApp Microsoft.GetHelp Microsoft.Getstarted Microsoft.HEIFImageExtension Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftStickyNotes Microsoft.Paint Microsoft.People Microsoft.Photos.MediaEngineDLC Microsoft.PowerAutomateDesktop Microsoft.ScreenSketch Microsoft.SecHealthUI Microsoft.StorePurchaseApp Microsoft.Todos Microsoft.UI.Xaml.2.4 Microsoft.VCLibs.140.00 Microsoft.VP9VideoExtensions Microsoft.WebMediaExtensions Microsoft.WebpImageExtension Microsoft.Windows.Photos Microsoft.WindowsAlarms Microsoft.WindowsCalculator Microsoft.WindowsCamera microsoft.windowscommunicationsapps Microsoft.WindowsFeedbackHub Microsoft.WindowsMaps Microsoft.WindowsNotepad Microsoft.WindowsSoundRecorder Microsoft.WindowsStore Microsoft.WindowsTerminal Microsoft.Xbox.TCUI Microsoft.XboxGameOverlay Microsoft.XboxGamingOverlay Microsoft.XboxIdentityProvider Microsoft.XboxSpeechToTextOverlay Microsoft.YourPhone Microsoft.ZuneMusic Microsoft.ZuneVideo MicrosoftWindows.Client.WebExperience