Compare commits

...

2 Commits

Author SHA1 Message Date
WindowsAddict 4451a25e7f Differentiate between new and old outlook detection 2024-07-21 05:02:51 +05:30
WindowsAddict 886745f103 Detect sandboxing 2024-07-21 04:31:33 +05:30
4 changed files with 54 additions and 6 deletions

View File

@ -1096,6 +1096,18 @@ exit /b
set showfix=
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
set serv_cor=
@ -1283,7 +1295,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
if defined wmifailed (
set error=1
call :dk_color %Red% "Checking WMI [Not Working]"
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
set showfix=1
)

View File

@ -1234,6 +1234,18 @@ exit /b
set showfix=
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
set serv_cor=
@ -1421,7 +1433,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
if defined wmifailed (
set error=1
call :dk_color %Red% "Checking WMI [Not Working]"
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
set showfix=1
)

View File

@ -1284,7 +1284,7 @@ exit /b
set checkapps=
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 (
Access_msaccess.exe
@ -1301,7 +1301,7 @@ Word_winword.exe
Lime_lime.exe
) 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
@ -1544,6 +1544,18 @@ exit /b
set showfix=
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
set serv_cor=
@ -1731,7 +1743,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
if defined wmifailed (
set error=1
call :dk_color %Red% "Checking WMI [Not Working]"
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
set showfix=1
)

View File

@ -2545,6 +2545,18 @@ exit /b
set showfix=
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
set serv_cor=
@ -2732,7 +2744,7 @@ echo "%error_code%" | findstr /i "0x800410 0x800440" %nul1% && set wmifailed=1&
if defined wmifailed (
set error=1
call :dk_color %Red% "Checking WMI [Not Working]"
call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
if not defined showfix call :dk_color %Blue% "Go back to Main Menu, select Troubleshoot and run Fix WMI option."
set showfix=1
)