Skip to content

Commit 7f78cba

Browse files
author
Florian Roth
committed
AV Exclusions for Symantec
1 parent 3438fe2 commit 7f78cba

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

toolset/avexcluder.bat

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ping -n 3 127.0.0.1 > NUL
2020

2121
ECHO ===========================================================================
2222
ECHO Excluding %APTDIR% for McAfee OnAccess Scanner
23+
2324
FOR /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
2425
SET /a NEWNUM=%num%
2526
SET /a NEWNUM+=1
@@ -32,4 +33,11 @@ ECHO Updating number of exclude items ...
3233

3334
ping -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

0 commit comments

Comments
 (0)