:: Don't create renewal task if Windows/Office volume IDs are not found, even if script is set to create it by default
:: Don't create renewal task if only Windows volume ID is found and OEM BIOS error is present on Windows 7, even if script is set to create it by default
set_deltask=
ifnot%_norentsk%==0 set_deltask=1
ifnotdefined_deltask(
if%_actwin%==0 call:_taskgetids sppwid %slp% windows
if%_norentsk%==0 call:dk_color%Gray%"Skipping to create activation renewal task..."
call:ks_clearstuff%nul%
ifnotdefined_server(
if%winbuild%GEQ 9200 (
@ -1704,6 +1720,7 @@ call :dk_color %Red% "%prodname% cannot be KMS-activated on this computer due to
@@ -1704,6 +1720,7 @@ call :dk_color %Red% "%prodname% cannot be KMS-activated on this computer due to