:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
ifexist"%SysPath%\wlms\wlms.exe"(
ifexist"%SysPath%\wlms\wlms.exe"(
if%winbuild%LSS 9200 (
echo Checking Eval WLMS Service [Found]
echo Checking Eval WLMS Service [Found]
) else (
call:dk_color%Red%"Checking Eval WLMS Service [Found]"
%psc%"Get-WmiObject -Query 'SELECT Description FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL AND LicenseDependsOn IS NULL' | Select-Object -Property Description"%nul2%| findstr /i "KMS_"%nul1%||(
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
ifexist"%SysPath%\wlms\wlms.exe"(
ifexist"%SysPath%\wlms\wlms.exe"(
if%winbuild%LSS 9200 (
echo Checking Eval WLMS Service [Found]
echo Checking Eval WLMS Service [Found]
) else (
call:dk_color%Red%"Checking Eval WLMS Service [Found]"
%psc%"Get-WmiObject -Query 'SELECT Description FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL AND LicenseDependsOn IS NULL' | Select-Object -Property Description"%nul2%| findstr /i "KMS_"%nul1%||(
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
ifexist"%SysPath%\wlms\wlms.exe"(
ifexist"%SysPath%\wlms\wlms.exe"(
if%winbuild%LSS 9200 (
echo Checking Eval WLMS Service [Found]
echo Checking Eval WLMS Service [Found]
) else (
call:dk_color%Red%"Checking Eval WLMS Service [Found]"
%psc%"Get-WmiObject -Query 'SELECT Description FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL AND LicenseDependsOn IS NULL' | Select-Object -Property Description"%nul2%| findstr /i "KMS_"%nul1%||(
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
ifexist"%SysPath%\wlms\wlms.exe"(
ifexist"%SysPath%\wlms\wlms.exe"(
if%winbuild%LSS 9200 (
echo Checking Eval WLMS Service [Found]
echo Checking Eval WLMS Service [Found]
) else (
call:dk_color%Red%"Checking Eval WLMS Service [Found]"
%psc%"Get-WmiObject -Query 'SELECT Description FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL AND LicenseDependsOn IS NULL' | Select-Object -Property Description"%nul2%| findstr /i "KMS_"%nul1%||(
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
:: This "WLMS" service was included in previous Eval editions (which were activable) to automatically shut down the system every hour after the evaluation period expired and prevent SPPSVC from stopping.
ifexist"%SysPath%\wlms\wlms.exe"(
ifexist"%SysPath%\wlms\wlms.exe"(
if%winbuild%LSS 9200 (
echo Checking Eval WLMS Service [Found]
echo Checking Eval WLMS Service [Found]
) else (
call:dk_color%Red%"Checking Eval WLMS Service [Found]"
%psc%"Get-WmiObject -Query 'SELECT Description FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL AND LicenseDependsOn IS NULL' | Select-Object -Property Description"%nul2%| findstr /i "KMS_"%nul1%||(
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)
for/f"delims="%%a in('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' -TaskPath '\Microsoft\Windows\SoftwareProtectionPlatform\').State"%nul6%') do (set taskinfo=%%a)