mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-25 15:39:26 +00:00
Compare commits
No commits in common. "4451a25e7f98e539ca6dd00718f8abf38cac4735" and "5728ba26868a617b0fb8a7fb94c4821965544413" have entirely different histories.
4451a25e7f
...
5728ba2686
|
@ -1096,18 +1096,6 @@ exit /b
|
||||||
set showfix=
|
set showfix=
|
||||||
call :dk_chkmal
|
call :dk_chkmal
|
||||||
|
|
||||||
:: Check Sandboxing
|
|
||||||
|
|
||||||
sc query Null %nul% || (
|
|
||||||
set error=1
|
|
||||||
set showfix=1
|
|
||||||
call :dk_color %Red% "Checking Sandboxing [Found. Script may not work properly.]"
|
|
||||||
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
|
|
||||||
echo:
|
|
||||||
)
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
|
||||||
|
|
||||||
:: Check corrupt services
|
:: Check corrupt services
|
||||||
|
|
||||||
set serv_cor=
|
set serv_cor=
|
||||||
|
@ -1295,7 +1283,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
|
||||||
if defined wmifailed (
|
if defined wmifailed (
|
||||||
set error=1
|
set error=1
|
||||||
call :dk_color %Red% "Checking WMI [Not Working]"
|
call :dk_color %Red% "Checking WMI [Not Working]"
|
||||||
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
||||||
set showfix=1
|
set showfix=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1234,18 +1234,6 @@ exit /b
|
||||||
set showfix=
|
set showfix=
|
||||||
call :dk_chkmal
|
call :dk_chkmal
|
||||||
|
|
||||||
:: Check Sandboxing
|
|
||||||
|
|
||||||
sc query Null %nul% || (
|
|
||||||
set error=1
|
|
||||||
set showfix=1
|
|
||||||
call :dk_color %Red% "Checking Sandboxing [Found. Script may not work properly.]"
|
|
||||||
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
|
|
||||||
echo:
|
|
||||||
)
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
|
||||||
|
|
||||||
:: Check corrupt services
|
:: Check corrupt services
|
||||||
|
|
||||||
set serv_cor=
|
set serv_cor=
|
||||||
|
@ -1433,7 +1421,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
|
||||||
if defined wmifailed (
|
if defined wmifailed (
|
||||||
set error=1
|
set error=1
|
||||||
call :dk_color %Red% "Checking WMI [Not Working]"
|
call :dk_color %Red% "Checking WMI [Not Working]"
|
||||||
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
||||||
set showfix=1
|
set showfix=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1284,7 +1284,7 @@ exit /b
|
||||||
|
|
||||||
set checkapps=
|
set checkapps=
|
||||||
set checknames=
|
set checknames=
|
||||||
for /f "tokens=1" %%i in ('tasklist ^| findstr /I ".exe" %nul6%') do (set "checkapps=!checkapps! -%%i-")
|
for /f "tokens=1" %%i in ('tasklist ^| findstr /I ".exe" %nul6%') do (set "checkapps=!checkapps! %%i")
|
||||||
|
|
||||||
for %%# in (
|
for %%# in (
|
||||||
Access_msaccess.exe
|
Access_msaccess.exe
|
||||||
|
@ -1301,7 +1301,7 @@ Word_winword.exe
|
||||||
Lime_lime.exe
|
Lime_lime.exe
|
||||||
) do (
|
) do (
|
||||||
for /f "tokens=1-2 delims=_" %%A in ("%%#") do (
|
for /f "tokens=1-2 delims=_" %%A in ("%%#") do (
|
||||||
echo !checkapps! | find /i "-%%B-" %nul1% && (if defined checknames (set "checknames=!checknames! %%A") else (set "checknames=%%A"))
|
echo !checkapps! | find /i "%%B" %nul1% && (if defined checknames (set "checknames=!checknames! %%A") else (set "checknames=%%A"))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
exit /b
|
exit /b
|
||||||
|
@ -1544,18 +1544,6 @@ exit /b
|
||||||
set showfix=
|
set showfix=
|
||||||
call :dk_chkmal
|
call :dk_chkmal
|
||||||
|
|
||||||
:: Check Sandboxing
|
|
||||||
|
|
||||||
sc query Null %nul% || (
|
|
||||||
set error=1
|
|
||||||
set showfix=1
|
|
||||||
call :dk_color %Red% "Checking Sandboxing [Found. Script may not work properly.]"
|
|
||||||
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
|
|
||||||
echo:
|
|
||||||
)
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
|
||||||
|
|
||||||
:: Check corrupt services
|
:: Check corrupt services
|
||||||
|
|
||||||
set serv_cor=
|
set serv_cor=
|
||||||
|
@ -1743,7 +1731,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
|
||||||
if defined wmifailed (
|
if defined wmifailed (
|
||||||
set error=1
|
set error=1
|
||||||
call :dk_color %Red% "Checking WMI [Not Working]"
|
call :dk_color %Red% "Checking WMI [Not Working]"
|
||||||
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
||||||
set showfix=1
|
set showfix=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -2545,18 +2545,6 @@ exit /b
|
||||||
set showfix=
|
set showfix=
|
||||||
call :dk_chkmal
|
call :dk_chkmal
|
||||||
|
|
||||||
:: Check Sandboxing
|
|
||||||
|
|
||||||
sc query Null %nul% || (
|
|
||||||
set error=1
|
|
||||||
set showfix=1
|
|
||||||
call :dk_color %Red% "Checking Sandboxing [Found. Script may not work properly.]"
|
|
||||||
call :dk_color %Blue% "If you are using any third-party antivirus, check if it is blocking the script."
|
|
||||||
echo:
|
|
||||||
)
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
|
||||||
|
|
||||||
:: Check corrupt services
|
:: Check corrupt services
|
||||||
|
|
||||||
set serv_cor=
|
set serv_cor=
|
||||||
|
@ -2744,7 +2732,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
|
||||||
if defined wmifailed (
|
if defined wmifailed (
|
||||||
set error=1
|
set error=1
|
||||||
call :dk_color %Red% "Checking WMI [Not Working]"
|
call :dk_color %Red% "Checking WMI [Not Working]"
|
||||||
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
|
||||||
set showfix=1
|
set showfix=1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue