Tuesday, November 22, 2011

Disable Symantec AV via scripting

A small script to quickly disable Symantec Antivirus 11 (Symantec Endpoint Protection) for those moments that it needs to be disabled quickly:

Open up an administrative commandprompt and type the following commands:

sc config "Symantec AntiVirus" start= disabled
sc config ccEvtMgr start= disabled
sc config SmcService start= disabled

net stop "Symantec AntiVirus"
net stop ccEvtMgr

taskkill /IM smc.exe /F

Symantec Antivirus is now completely disabled

1 comment:

  1. C:\Windows\System32>taskkill /IM smc.exe /F
    ERROR: The process "Smc.exe" with PID 2372 could not be terminated.
    Reason: Access is denied.