How to make Preactivated Windows 10 iso with Kmspico?

SOLUTION

Code:
@echo OFF
CD /D "%~dp0"
REM Defender Exclusions...
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%ProgramFiles%\KMSpico\KMSELDI.exe" /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%ProgramFiles%\KMSpico\Service_KMS.exe" /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%ProgramFiles%\KMSpico\Autopico.exe" /t REG_DWORD /d 0 /f >nul 2>&1
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%WinDir%\SECOH-QAD.exe" /t REG_DWORD /d 0 /f >nul 2>&1

"KMSpico_setup.exe" /VerySilent
TIMEOUT /T 2 >nul
DEL /F /Q "%0%" >nul

Save as SetupComplete.cmd and place in the \Sources\$OEM$\$$\Setup\Scripts folder of your ISO/USB. As well as the KMSPico_setup.exe file. and done.

Although
I found that kms vl all is better than kmspico. download it from here https://forums.mydigitallife.net/th…pro-and-office-2013.49686/page-76#post-838808

for preactivating copy the $OEM$ folder found in kms vl all and replace this in windows iso $OEM$ folder. done.