File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ ping -n 3 127.0.0.1 > NUL
2020
2121ECHO ===========================================================================
2222ECHO Excluding %APTDIR% for McAfee OnAccess Scanner
23+
2324FOR /f " tokens=3 delims= " %%a in ('reg query " HKLM\SOFTWARE\Wow6432Node\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default" /v NumExcludeItems') DO set num = %%a
2425SET /a NEWNUM = %num%
2526SET /a NEWNUM += 1
@@ -32,4 +33,11 @@ ECHO Updating number of exclude items ...
3233
3334ping -n 3 127.0.0.1 > NUL
3435
35- PAUSE
36+ ECHO ===========================================================================
37+ ECHO Excluding %APTDIR% for Symantect Endpoint Protection
38+ ping -n 3 127.0.0.1 > NUL
39+
40+ " %APTDIR% \p.exe" -accepteula -d -s cmd.exe /c REG ADD " HKLM\\SOFTWARE\Wow6432Node\Symantec\Symantec Endpoint Protection\AV\Exclusions\Domain Controller"
41+ " %APTDIR% \p.exe" -accepteula -d -s cmd.exe /c REG ADD " HKLM\\SOFTWARE\Wow6432Node\Symantec\Symantec Endpoint Protection\AV\Exclusions\Domain Controller\NoScanDir" /v %APTDIR% /t REG_DWORD /d 1 /f
42+
43+ ping -n 3 127.0.0.1 > NUL
You can’t perform that action at this time.
0 commit comments