|
|
@ -1687,6 +1687,7 @@ for /f "delims=" %%a in ('%psc% "(Get-ScheduledTask -TaskName 'SvcRestartTask' - |
|
|
|
echo !taskinfo! | find /i "Ready" %nul% || ( |
|
|
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f %nul% |
|
|
|
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTask" %nul% || set taskinfo=Removed |
|
|
|
if "!taskinfo!"=="" set "taskinfo=Not Found" |
|
|
|
call :dk_color %Red% "Checking SvcRestartTask Status [!taskinfo!, System might deactivate later]" |
|
|
|
) |
|
|
|
) |
|
|
|