Remove duplicacy of file infector checks
This commit is contained in:
parent
6f88a4bf90
commit
962f7e326a
@ -994,7 +994,6 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1003,14 +1002,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
echo sc start sppsvc [Error Code: %spperror%]
|
||||
)
|
||||
|
||||
echo "%spperror%" | findstr "577 225" %nul% && (
|
||||
echo:
|
||||
echo Your system is most likely infected with Mal%w%ware.
|
||||
echo:
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
)
|
||||
|
||||
echo:
|
||||
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
|
||||
exit /b
|
||||
|
@ -1087,7 +1087,6 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1096,14 +1095,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
echo sc start sppsvc [Error Code: %spperror%]
|
||||
)
|
||||
|
||||
echo "%spperror%" | findstr "577 225" %nul% && (
|
||||
echo:
|
||||
echo Your system is most likely infected with Mal%w%ware.
|
||||
echo:
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
)
|
||||
|
||||
echo:
|
||||
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
|
||||
exit /b
|
||||
|
@ -1460,7 +1460,6 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1469,14 +1468,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
echo sc start sppsvc [Error Code: %spperror%]
|
||||
)
|
||||
|
||||
echo "%spperror%" | findstr "577 225" %nul% && (
|
||||
echo:
|
||||
echo Your system is most likely infected with Mal%w%ware.
|
||||
echo:
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
)
|
||||
|
||||
echo:
|
||||
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
|
||||
exit /b
|
||||
|
@ -2400,7 +2400,6 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -2409,14 +2408,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
|
||||
echo sc start sppsvc [Error Code: %spperror%]
|
||||
)
|
||||
|
||||
echo "%spperror%" | findstr "577 225" %nul% && (
|
||||
echo:
|
||||
echo Your system is most likely infected with Mal%w%ware.
|
||||
echo:
|
||||
set fixes=%fixes% %mas%remove_mal%w%ware
|
||||
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
|
||||
)
|
||||
|
||||
echo:
|
||||
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
|
||||
exit /b
|
||||
|
Loading…
Reference in New Issue
Block a user