mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-22 15:46:41 +00:00
Compare commits
No commits in common. "962f7e326afd53c1ac4e1d2bc1570c5fced07f8d" and "dd3d788bfac0af29ccca04e062d741aeb3f606b0" have entirely different histories.
962f7e326a
...
dd3d788bfa
@ -994,6 +994,7 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1002,6 +1003,14 @@ 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,6 +1087,7 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1095,6 +1096,14 @@ 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,6 +1460,7 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -1468,6 +1469,14 @@ 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
|
||||
|
@ -984,9 +984,7 @@ for %%# in (%_oIds%) do (
|
||||
|
||||
set skipprocess=
|
||||
if %_NoEditionChange%==1 if not defined _oBranding (
|
||||
set foundprod=
|
||||
call :ksdata chkprod %%#
|
||||
if not defined foundprod (
|
||||
echo %%# | findstr /i "Retail" %nul% && (
|
||||
set skipprocess=1
|
||||
echo Skipping Because NoEditionChange Mode [%%#]
|
||||
)
|
||||
@ -2400,6 +2398,7 @@ exit /b
|
||||
|
||||
:dk_sppissue
|
||||
|
||||
set w=
|
||||
sc start sppsvc %nul%
|
||||
set spperror=%errorlevel%
|
||||
|
||||
@ -2408,6 +2407,14 @@ 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
|
||||
@ -3403,10 +3410,6 @@ if %1==winkey if %osSKU%==%%C if not defined key (
|
||||
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 /i "%2"=="%%D" (
|
||||
set key=%%B
|
||||
|
Loading…
Reference in New Issue
Block a user