windows builder, I added to setupcomplete.cmd, but that didn't help. A registry key was not created! reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "TamperProtection" /t REG_DWORD /d "0" /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
Do you integrate updates and remove components in the same session or do you integrate updates and save after you mount the image again and remove components? I have no problems with ToolKit v8.8 here. The only difference is that I integrate updates with WHD-W81UI. The Toolkit removes the contents of the folder \Windows\WinSxS\Backup when you save so if you integrate updates and remove components in different sessions this may be the problem. I edit the script by commenting out the line that removes that folder to have more control and better compare the size of install.wim when removing certain components. I also comment out the line with $Recycle.Bin and PerfLogs to keep the image as close to the original. Code: :: Performing [Install.wim] Image Windows Folder Cleanup if "%ImageIndexNo%" equ "*" ( for /L %%k in (1, 1, %ImageCount%) do ( rem if exist "%InstallMount%\%%k\$Recycle.Bin" rd /q /s "%InstallMount%\%%k\$Recycle.Bin" >nul 2>&1 rem if exist "%InstallMount%\%%k\PerfLogs" rd /q /s "%InstallMount%\%%k\PerfLogs" >nul 2>&1 rem if exist "%InstallMount%\%%k\Windows\WinSxS\Backup\*.*" del /f /q rd /q /s "%InstallMount%\%%k\Windows\WinSxS\Backup\*.*" >nul 2>&1 ... ) ) else ( rem if exist "%InstallMount%\$Recycle.Bin" rd /q /s "%InstallMount%\$Recycle.Bin" >nul 2>&1 rem if exist "%InstallMount%\PerfLogs" rd /q /s "%InstallMount%\PerfLogs" >nul 2>&1 rem if exist "%InstallMount%\Windows\WinSxS\Backup\*.*" del /f /q rd /q /s "%InstallMount%\Windows\WinSxS\Backup\*.*" >nul 2>&1 ... )
Thanks. I integrated the latest CU and I've checked and I have the latest build but for some reason WU detected the CU I integrated and successfully installed it. Maybe it's because I used NTLite after using MSMG ToolKit. Will you release a future to remove the returning components after installing windows updates?
I did it in two different sessions. One with version 9.5 to integrate the updates then 8.8 to remove the components. The monthly rollup with older servicing stack did not cause any problems and everything went smoothly with 8.8 so it's either the newer version of the toolkit or the servicing stack update that was causing the issue.
It seems then that something has changed with the new servicing stack. Try editing the toolkit 9.5 as I indicated adding the word rem in front of the commands and see if it resolves. Just search for "Performing [Install.wim] Image Windows Folder Cleanup".
Is it possible to apply registry tweaks with mounting during the installation of windows that disable the defender. Other settings apply this method without problems, but I could not disable it in this way. I used the settings from the Toolkit.cmd file. The image configured by Toolkit before installation disables protection without problems. I need to mount and apply registry settings during installation. Is it possible to do this or just before installation? The problem is only with the defender.
Try: Code: Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows Defender\Features" /v "TamperProtection" /t REG_DWORD /d "0" /f Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
@MSMG I'm attempting to add THEME.PACKS to Windows 10 ISO. I was told to extract the Theme Pack(s) and put the in the Custom\Files\w10\x64\Windows\Resources\Themes . There is only one problem, every THEME PACK has the same default folder, DeskTopBackground. Is there something I'm missing? I would really appreciate any and all feedback concerning this matter. Thank you...