Compare commits

..

No commits in common. "962f7e326afd53c1ac4e1d2bc1570c5fced07f8d" and "dd3d788bfac0af29ccca04e062d741aeb3f606b0" have entirely different histories.

4 changed files with 37 additions and 7 deletions

View File

@ -994,6 +994,7 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1002,6 +1003,14 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] 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: 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'}" %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 exit /b

View File

@ -1087,6 +1087,7 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1095,6 +1096,14 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] 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: 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'}" %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 exit /b

View File

@ -1460,6 +1460,7 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1468,6 +1469,14 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] 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: 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'}" %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 exit /b

View File

@ -984,9 +984,7 @@ for %%# in (%_oIds%) do (
set skipprocess= set skipprocess=
if %_NoEditionChange%==1 if not defined _oBranding ( if %_NoEditionChange%==1 if not defined _oBranding (
set foundprod= echo %%# | findstr /i "Retail" %nul% && (
call :ksdata chkprod %%#
if not defined foundprod (
set skipprocess=1 set skipprocess=1
echo Skipping Because NoEditionChange Mode [%%#] echo Skipping Because NoEditionChange Mode [%%#]
) )
@ -2400,6 +2398,7 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -2408,6 +2407,14 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] 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: 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'}" %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 exit /b
@ -3403,10 +3410,6 @@ if %1==winkey if %osSKU%==%%C if not defined key (
echo "!allapps!" | find /i "%%A" %nul1% && set key=%%B echo "!allapps!" | find /i "%%A" %nul1% && set key=%%B
) )
if %1==chkprod if "%oVer%"=="%%C" if not defined foundprod (
echo "%%D" | findstr /I "\<%2.*" %nul% && set foundprod=1
)
if %1==getinfo if not defined key if "%oVer%"=="%%C" ( if %1==getinfo if not defined key if "%oVer%"=="%%C" (
if /i "%2"=="%%D" ( if /i "%2"=="%%D" (
set key=%%B set key=%%B