Browse Source

Change Smart App Control detection message

dev
WitherOrNot 3 weeks ago
parent
commit
b5db2e165b
  1. 8
      MAS/All-In-One-Version-KL/MAS_AIO.cmd
  2. 8
      MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd

8
MAS/All-In-One-Version-KL/MAS_AIO.cmd

@ -2690,11 +2690,11 @@ for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\P @@ -2690,11 +2690,11 @@ for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\P
)
if defined sacstate (
if "%sacstate%"=="0x1" (
call :dk_color %Gray% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office after Ohook activation."
call :dk_color %Blue% "You will need to disable it from the Windows Defender settings if it does."
call :dk_color %Red% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent Office from working after Ohook activation."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
) else if "%sacstate%"=="0x2" (
call :dk_color %Gray% "Checking Smart App Control State [Evaluation]"
call :dk_color %Red% "Checking Smart App Control State [Evaluation]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office in the future if it enables itself after the evaluation period."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
)

8
MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd

@ -612,11 +612,11 @@ for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\P @@ -612,11 +612,11 @@ for /f "tokens=3" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\CI\P
)
if defined sacstate (
if "%sacstate%"=="0x1" (
call :dk_color %Gray% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office after Ohook activation."
call :dk_color %Blue% "You will need to disable it from the Windows Defender settings if it does."
call :dk_color %Red% "Checking Smart App Control State [Enabled]"
call :dk_color %Blue% "Smart App Control may prevent Office from working after Ohook activation."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
) else if "%sacstate%"=="0x2" (
call :dk_color %Gray% "Checking Smart App Control State [Evaluation]"
call :dk_color %Red% "Checking Smart App Control State [Evaluation]"
call :dk_color %Blue% "Smart App Control may prevent you from opening Office in the future if it enables itself after the evaluation period."
call :dk_color %Blue% "It is recommended that you disable it from the Windows Defender settings."
)

Loading…
Cancel
Save