KMSPico_setup.exe is the filename for the KMS Pico exe. If you remove or shorten this timeout then it may not install the KMS properly so best to leave this bit alone. The /T 25 timeout is to wait 25 seconds for the KMSPico to complete its tasks as you won't see anything on the screen. Have :: (Remarked) this out so it not 'run' - remove the :: if you wish to use that check. The first part checks if the OS is already activated and if so to bypass installing the KMS as the OS is already activated. IF EXIST "%KPLoc% KMSpico_setup.exe" DEL /F /Q "%KPLoc% KMSpico_setup.exe" >nulĭEL /F /Q %0% >nulSave as SetupComplete.cmd and place in the \Sources\$OEM$\$$\Setup\Scripts folder of your ISO/USB. SHUTDOWN /r /f /t 180 -d p:2:4 -c "Rebooting shortly to allow KMS to be installed, you can manually reboot if you wish." >nul There maybe more but you get the idea how to set them. IF EXIST "%KPLoc% KMSpico_setup.exe" "%KPLoc% KMSpico_setup.exe" /verysilent /noicons IF EXIST "%Windir%\Sysnative\slmgr.vbs" (cscript //nologo "%WinDir%\Sysnative\slmgr.vbs" /upk >nul) ELSE (cscript //nologo "%WinDir%\System32\slmgr.vbs" /upk >nul) :: WMIC /NAMESPACE:\\root\CIMV2 PATH SoftwareLicensingProduct WHERE LicenseStatus=1 GET LicenseStatus | findstr "1" >nul :: Remove the :: from the two lines below if you wish to have the script check if already activated and to bypass KMS. download it from here įor preactivating copy the $OEM$ folder found in kms vl all and replace this in windows iso $OEM$ folder. I found that kms vl all is better than kmspico. REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%WinDir%\SECOH-QAD.exe" /t REG_DWORD /d 0 /f >nul 2>&1ĭEL /F /Q "%0%" >nulSave as SetupComplete.cmd and place in the \Sources\$OEM$\$$\Setup\Scripts folder of your ISO/USB. 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 "%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\KMSELDI.exe" /t REG_DWORD /d 0 /f >nul 2>&1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |