Description:
Applications slow to start due to McAfee AV scan.
Solution:
McAfee Reference:
http://www.tek-tips.com/faqs.cfm?fid=6240
McAfee seems to slow the start of some applications
faq38-6240
Posted: 7 Mar 06 (Edited 8 Mar 06)
Problem: Applications slow to start due to McAfee AV scan.
Cause:
McAfee can be configured to scan all applications as they start. Many applications use Java(r) for some or all of their code. The .jre files when scanned by McAfee can slow the application startup considerably.
Solution:
One method is to stop the McAfee service each time the application is started. This is effective if it is a seldom used application.
Another more effective method is to exclude certain directories from McAfee AV scan on application startup.
The following will show simple steps to vastly improve the performance of this application in this environment, by excluding the directories with the application and it's associated .jre files.
BAT files to stop/start McAfee Services
faq38-6241
Posted: 8 Mar 06
For applications or system changes that would be slowed by McAfee AV software you can use two simple batch files.
Simply copy the green text and save as stop/start_avservices.bat files where they can be accessed easily.
The batch files will alternately stop and then start the McAfee AV services in W2K or XP.
While the actual stop/start service takes the same ammount of time, several steps are saved by running the bat file over the same task via the "Manage" utility.
To Stop the services run the "stopAVservices.bat"
net stop "McAfee Framework Service"
net stop "Network Associates McShield"
net stop "Network Associates Task Manager"
To Stop the services run the "startAVservices.bat"
net start "McAfee Framework Service"
net start "Network Associates McShield"
net start "Network Associates Task Manager"