Skip to content

Commit

Permalink
AV Exclusions for Symantec
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Feb 24, 2018
1 parent 3438fe2 commit 7f78cba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion toolset/avexcluder.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ping -n 3 127.0.0.1 > NUL

ECHO ===========================================================================
ECHO Excluding %APTDIR% for McAfee OnAccess Scanner

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
SET /a NEWNUM=%num%
SET /a NEWNUM+=1
Expand All @@ -32,4 +33,11 @@ ECHO Updating number of exclude items ...

ping -n 3 127.0.0.1 > NUL

PAUSE
ECHO ===========================================================================
ECHO Excluding %APTDIR% for Symantect Endpoint Protection
ping -n 3 127.0.0.1 > NUL

"%APTDIR%\p.exe" -accepteula -d -s cmd.exe /c REG ADD "HKLM\\SOFTWARE\Wow6432Node\Symantec\Symantec Endpoint Protection\AV\Exclusions\Domain Controller"
"%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

ping -n 3 127.0.0.1 > NUL

0 comments on commit 7f78cba

Please sign in to comment.