Conflicting results from McAfee virus scan

I ran a Full Scan on my Windows XP computer using Verizon Internet Security Suite powered by McAfee.  It took about 5 hours but eventually it told me Your computer is secure (no action required). 0 Viruses detected in your last scan.  Then I clicked View Security Report, and that said it had detected 4 Viruses and 81 Trojans.  Why the difference?  Also, there was no way to display a list of what was found and their locations.  Anyone else had that kind of problem with the McAfee tool?  I have run McAfee Virtual Technician, it didn't find anything wrong. 

I ran the full scan again, same conflicting result.  I think the Security Report doesn't just report on the scan just completed, it reports some or all of the prior scans.  If this is the case it should say so. 

Similar Messages

  • Using Windows GPO to automatically run McAfee Virus Scan

    Is it possible to write a GPO to run Virus scan automatically?

    Hi Scot Triplett,
    Based on my understanding, you would like to automatically run McAfee Virus Scan via GPO. Right?
    You can create a scheduled task to run a batch file which is set to run McAfee Virus Scan. As for how to configure a scheduled task, please refer to the following article:
    Configure a Scheduled Task Item          
    As for the batch file, please refer to the following article:
    How to run a VirusScan Enterprise On-Demand Scan task from a command prompt
    https://kc.mcafee.com/corporate/index?page=content&id=KB60684
    Note:
    Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    Lany Zhang           

  • Itunes stops McAfee Virus Scan

    I have isolated a file in Itunes and it is stopping my virus scan from proceeding and locks up my brower (actually locks up my entire system). I am using McAfee Virus Scan, have updated it as required.
    The file that seems to be stopping the process is:
    c:/program files\itunes.resources\fr.lproj\Placards.nib\objects.xib
    If I let the virus scan run, it functions until it gets to this file then everything just comes to a standstill.
    I have even run the online McAfee Virus Scan and it too gets to this file and stalls and the system is locked up.
    Anyone have any idea?
    Thanks for your help.
    Jeff

    Try posting in the iTunes Windows Discussions.
    This is an issue with McAfee and not iTunes.
    MJ

  • VISS (McAfee) virus scan error at 7%

    Error message:"Problem: Product configuration XML file missing".  Running the online Troubleshooter produces the same error message for: 'Anti-Spam', 'Personal Firewall', 'Site Advisor', 'Security Center', 'Quick Clean & Shredder', and 'Virus Scan'. Thinking this was a problem with the McAfee software,  I reinstalled the Security Suite, but got the same result.  Using Windows 7. VISS has been working normally until today's error messages. How do I correct this?

    Thank you very much for your response. I will try that this morning.
    After posting my message, I discovered that my 'Windows Updater' encounters 'unknown problem' and stops update, so I'm not current on my Windows updates - I may have more of a problem than just with VISS - may require a professional technician to resolve. But, in any case, thanks for your help.
    Ben

  • McAfee Virus Scan VShieldScanner in Root

    I decided to try out a trial version of Virus Scan months ago. One day, while looking at the Activity Monitor, I saw up to 4 tasks that were running in the background, 3 of which are called "VShieldScanner". These tasks belong to Virus Scan (which I only ran once), so I deleted the application using App Delete. ClamXAV was good enough for my virus concerns.
    After emptying the trash and restarting the computer, the tasks were all still running. I tried to reinstall and delete again, and the same result happened. So now, I've got processes going on that I don't even need, for a program that I deleted. The processes are all under "root" as the user, so I can't change it. I read elsewhere that I can grant myself admin rights via the terminal, or download some type of GUI to access root. Did anyone else have this issue?
    By the way, here's what Activity Monitor says:
    Process IDs: 400,401,402
    Real Memory: About 23 MB each
    Virtual Memory: About 611.50 MB each
    Deleting the processes via Force Quit only results in the process that was just deleted to pop back up in the Activity Monitor seconds later.

    that program has an uninstaller and you should have used that. the easiest thing is to redownload the program and use the uninstaller.
    https://knowledge.mcafee.com/article/664/8328353f.SALPublic.html

  • Automating McAfee Virus Scan Exclusions

    So i wanted to share with the community a function I wrote to assist in the automating of virus scan exclusions.  In Windows 2008 R2, we were able to import a reg file with the exclusion so it wasn't a big deal.  However, we are using 2012 R1/R2
    with our Lync 2013 deployment and this option is no longer available to me.  The team in charge of the central AV management servers (whatever it is called) are not offering to assist in loading a policy in their management server for our Lync deployment.
     Inserting a ton of exclusions manually for over hundred servers (that is just a single customer) isn't something I would be willing to do manually, not to mention things would get missed.  I made this relatively generic so it should work (I think)
    for other people.  It sends key strokes to the OS to accomplish as I couldn't find another way.  I haven't found anyone who has a solution so I wrote this one.  I could be much much more involved in identifying which roles or what the server
    is (SQL, DC, SharePoint, etc), but I am not sure I want to spend that kind of time.  Maybe in the future.
    Note:  My "One Access Scanner" is listed fourth in the Virus Scan Console.  If yours is not, this will need some tweaking. This isn't really an appropriate solution (I just hack this stuff together), but it works.   
    Things you need to know.
    Single file or single directory exclusions go into the array $Procs
    File Types go into $FileTypes
    Any directory that you want the sub directory to be excluded as well goes into $ProcIncludingSubs
    Function SetAVExclusions ()
    $ErrorActionPreference = "silentlycontinue"
    Function GetActiveWindows ()
    # sample script to query winapi GetForegroundWindow and GetWindowText
    Add-Type @"
    // **** every time you make a change to this class, you have to restart powershell session or change class name to new name ****
    using System.Runtime.InteropServices;
    using System.Text;
    public class Win51
    [DllImport("user32.dll", SetLastError = true)]
    static extern System.IntPtr FindWindow(string className, string windowName);
    [DllImport("user32.dll", SetLastError = true)]
    static extern System.IntPtr FindWindowEx(System.IntPtr parentHandle, System.IntPtr childAfter, string className, string windowTitle);
    [DllImport("user32.dll")]
    static extern System.IntPtr GetForegroundWindow();
    [DllImport("user32.dll")]
    static extern int GetWindowText(System.IntPtr hWnd, System.Text.StringBuilder text, int count);
    [DllImport("user32.dll")]
    static extern System.IntPtr GetWindow(System.IntPtr hWnd, uint uCmd);
    [DllImport("user32.dll")]
    static extern bool SetForegroundWindow(System.IntPtr hWnd);
    enum UCmd
    GW_CHILD = 5,
    GW_ENABLEDPOPUP = 6,
    GW_HWNDFIRST = 0,
    GW_HWNDLAST = 1,
    GW_HWNDNEXT = 2,
    GW_HWNDPREV = 3,
    GW_OWNER = 4
    public string getForegroundWindowTitle()
    const int nChars = 256;
    System.Text.StringBuilder Buff = new System.Text.StringBuilder(nChars);
    System.IntPtr handle = getForegroundWindow();
    if (GetWindowText(handle, Buff, nChars) > 0)
    return Buff.ToString();
    return null;
    // returns null / 0 if find window fails
    public System.IntPtr findWindow(System.IntPtr hWndParent,System.IntPtr hWndChildAfter, string lpszClass, string lpszWindow)
    System.IntPtr handle = FindWindowEx(hWndParent,hWndChildAfter, lpszClass, lpszWindow);
    // System.IntPtr handle = FindWindow(lpszClass, lpszWindow);
    return handle;
    public System.IntPtr getForegroundWindow()
    System.IntPtr handle = GetForegroundWindow();
    return handle;
    public bool setForegroundWindow(System.IntPtr hWnd)
    return setForegroundWindow(hWnd);
    public System.IntPtr getWindow(System.IntPtr hWnd, uint uCmd)
    return GetWindow(hWnd,uCmd);
    $winObj = New-Object Win51
    $text = $winObj.getForegroundWindowTitle();
    return $text
    } #End Function GetActiveWindows
    $Procs = @("{%}Systemroot{%}\system32\GroupPolicy\registry.pol",` # Corporate Defaults
    "{%}allusersprofile{%}\NTUser.pol",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb*.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb.chk",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edbres00001.jrs",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edbres00002.jrs",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Res1.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Res2.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Tmp.edb ",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\datastore.edb",` #KB822158
    "{%}windir{%}\security\*.chk",`
    "{%}windir{%}\security\*.edb",`
    "{%}windir{%}\security\*.log",`
    "{%}windir{%}\security\*.sdb",`
    "{%}windir{%}\security\database\Security.sdb",`
    "C:\quarantine",`
    "{%}systemroot{%}\System32\GroupPolicy\Machine\Registry.pol", ` #KB822158
    "{%}systemroot{%}\System32\GroupPolicy\User\Registry.pol", ` #KB822158
    "{%}windir{%}\security\database\*.edb",` #KB822158
    "{%}windir{%}\security\database\*.sdb",` #KB822158
    "{%}windir{%}\security\database\*.log",` #KB822158
    "{%}windir{%}\security\database\*.chk",` #KB822158
    "{%}windir{%}\security\database\*.jrs",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb*.jrs",` #KB822158
    "{%}windir{%}\Ntds\Ntds.dit",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Ntds.pat",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\ED*.log",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Res*.log",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Edb*.jrs",` #KB822158 - AD DCs
    "e:\Ntds\Ntds.dit",` #KB822158 - AD DCs
    "e:\Ntds\Ntds.pat",` #KB822158 - AD DCs
    "e:\Ntds\ED*.log",` #KB822158 - AD DCs
    "e:\Ntds\Res*.log",` #KB822158 - AD DCs
    "e:\Ntds\Edb*.jrs",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\sys\edb.chk",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\ntfrs.jdb",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\log\*.log",` #KB822158 - AD DCs
    "{%}systemroot{%}\Sysvol\Staging areas\Nntfrs_cmp*.*",` #KB822158 - AD DCs
    "e:\Sysvol\Staging areas\Nntfrs_cmp*.*",` #KB822158 - AD DCs
    "{%}systemroot{%}\System32\Dns\*.log",` #KB822158 - AD DCs
    "{%}systemroot{%}\System32\Dns\*.dns",` #KB822158 - AD DCs
    "ABServer.exe", ` # Begin Lync 2013 Exclusions
    "AcpMcuSvc.exe", `
    "ASMCUSvc.exe", `
    "AVMCUSvc.exe", `
    "ChannelService.exe", `
    "ClsAgent.exe", `
    "ComplianceService.exe", `
    "DataMCUSvc.exe", `
    "DataProxy.exe", `
    "FileTransferAgent.exe", `
    "IMMCUSvc.exe", `
    "LysSvc.exe", `
    "MasterReplicatorAgent.exe", `
    "MediaRelaySvc.exe", `
    "MediationServerSvc.exe", `
    "MRASSvc.exe", `
    "OcsAppServerHost.exe", `
    "ReplicaReplicatorAgent.exe", `
    "ReplicationApp.exe", `
    "RtcHost.exe", `
    "RTCSrv.exe", `
    "XmppProxy.exe", `
    "XmppTGW.exe", `
    "Fabric.exe", `
    "FabricDCA.exe", `
    "FabricHost.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\SQLServr.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\Bin\ReportingServicesService.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Bin\MSMDSrv.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.LYNCLOCAL\MSMQL\Binn\SQLServr.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.RTCLOCAL\MSMQL\Binn\SQLServr.exe", `
    "{%}systemroot{%}\System32\LogFiles", `
    "{%}systemroot{%}\SysWow64\LogFiles", `
    "{%}programfiles{%}\Microsoft Lync Server 2013", `
    "{%}programfiles{%}\commonfiles\Microsoft Lync Server 2013", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Mcx\Ext", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Mcx\Int", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Ucwa\Int", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Ucwa\Ext", `
    "{%}systemroot{%}\Windows\Microsoft.NET\Framework64\v4.0.30319\Config", `
    "{%}ProgramFiles{%}\Microsoft System Center 2012 R2\Server\Health Service State",` #Begin SCOM 2012 R2 Exclusions
    "{%}ProgramFiles{%}\System Center Operations Manager\Gateway\Health Service State",`
    "{%}ProgramFiles{%}\Microsoft Monitoring Agent\Agent\Health Service State",`
    "CShost.exe","Microsoft.Mom.Sdk.ServiceHost.exe","HealthService.exe","MonitoringHost.exe",`
    "e:\WAC_Server_Cache","e:\WAC_Server_Logs","e:\WAC_Server_Rendering_Cache"` # WC Server storage locations
    # This section will exlude file types
    $FileTypes = @("MDF","LDF")
    # This section will include sub folders in the exclusion. Path must end in a \
    $ProcIncludingSubs = @("{%}programfiles{%}\Microsoft Lync Server 2013\", `
    "{%}systemroot{%}\RtcReplicaRoot\", `
    "{%}SystemDrive{%}\RtcReplicaRoot\", `
    "E:\RtcReplicaRoot\xds-replica\", `
    "{%}systemroot{%}\assembly\", `
    "{%}systemroot{%}\ServiceProfiles\", `
    "{%}systemroot{%}\Windows\Microsoft.NET\", `
    "{%}systemroot{%}\system32\inetsrv\", `
    "{%}systemroot{%}\system32\LogFiles\", `
    "{%}systemroot{%}\SysWOW64\inetsrv\", `
    "{%}systemroot{%}\SysWOW64\LogFiles\", `
    "{%}systemroot{%}\System32\Dns\Boot\",` #KB822158 - AD DCs
    "{%}programfiles{%}\Common Files\Microsoft Lync Server 2013\Watcher Node\" `
    $TotalExclusionsinFunction = $Procs.Length + $FileTypes.Length + $ProcIncludingSubs.Length
    $TotalExclusionsinRegistry = ((Get-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default\').Property -match "ExcludedItem_").count
    If ($TotalExclusionsinFunction -eq $TotalExclusionsinRegistry)
    Write-Host ""
    Write-Host "`tChecking Anti-Virus Exclusions in the Registry"
    Write-Host ""
    Write-Host "`t`tStatus : " -ForegroundColor White -NoNewline
    start-sleep -m 500
    Write-Host "Count Matches" -ForegroundColor Yellow
    Write-Host ""
    Write-Host "`t`t`tThe number of exclusions in this script match the number of exclusions in the registry" -ForegroundColor Yellow
    Start-Sleep 5
    return $true
    [void] [System.Reflection.Assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
    [void] [System.Reflection.Assembly]::LoadWithPartialName("'System.Windows.Forms")
    Write-Host "`tDisabling Artemis (Hueristic Scanning)" -ForegroundColor Cyan
    $VConsole = Get-Process -Name mcconsol -ErrorAction SilentlyContinue
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If (($VConsole -ne $null) -or ($VConsole1 -ne $null))
    If ($VConsole -ne $null)
    $VConsole.CloseMainWindow() | Out-Null
    If ($VConsole1 -ne $null)
    Stop-Process -Processname shcfg32 -ErrorVariable "AOS" -Force
    If ($AOS)
    Write-Host "`tForce Close Failed - Taking Extrodinary Actions (~20 Secs)" -ForegroundColor Yellow
    If ($ActiveApp -eq "On-Access Scan Properties")
    [System.Windows.Forms.SendKeys]::SendWait("{ESC}{ESC}{ESC}{ESC}{ESC}")
    $ActiveApp = GetActiveWindows
    $Count = 0
    Write-Host "`t`t`t[" -ForegroundColor Yellow -NoNewline
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    [System.Windows.Forms.SendKeys]::SendWait("{ESC}{ESC}{ESC}{ESC}{ESC}")
    Start-Sleep 1
    $Count++
    $ActiveApp = GetActiveWindows
    Write-Host "*" -ForegroundColor Green -NoNewline
    Write-Host "]" -ForegroundColor Yellow
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If ($VConsole1 -ne $null)
    Write-Host "`t`tIssue Closing the App"
    Pause
    Else
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Write-Host "`t`tClosing all McAfee Windows"
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Else
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Start-Sleep 2
    # Setting Hueristic Settings to disabled
    Write-Host "`t`tGrabbing focus of window [On-Access Scan Properties]"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to get Focus On-Access Scan Properties"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to grab focus of [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    $KeyboardArray1 = "%S","{UP}","{UP}","{UP}","{UP}","{UP}","{UP}","{TAB}","{TAB}","{TAB}","{ENTER}"
    ForEach ($z in $KeyboardArray1)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to keep focus on [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait($z)
    start-sleep -m 300
    start-sleep 2
    # Start Exclusions
    Write-Host "`tStarting VirusScan Exclusions" -ForegroundColor Cyan
    $VConsole = Get-Process -Name mcconsol -ErrorAction SilentlyContinue
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If (($VConsole -ne $null) -or ($VConsole1 -ne $null))
    If ($VConsole -ne $null)
    $VConsole.CloseMainWindow() | Out-Null
    If ($VConsole1 -ne $null)
    Stop-Process -Processname shcfg32 -Force
    Write-Host "`t`tClosing all McAfee Windows"
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Else
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Start-Sleep 2
    # Removing all On Access Scanner Exclusions
    Write-Host "`t`tGrabbing focus of window [On-Access Scan Properties]"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to get Focus On-Access Scan Properties"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to grab focus of [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    $KeyboardArray1 = "%S","{TAB}","{DOWN}","+{TAB}","+{TAB}","+{TAB}",,"+{TAB}","{RIGHT}","+{TAB}","+{TAB}","+{TAB}",,"+{TAB}","{RIGHT}","%E"
    #[System.Windows.Forms.SendKeys]::SendWait("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{TAB}{TAB}{TAB}{RIGHT}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{RIGHT}%E")
    ForEach ($z in $KeyboardArray1)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to keep focus on [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait($z)
    start-sleep -m 300
    start-sleep 2
    # Removing exclusions 150 times.
    Write-Host "`t`tRemoving existing virus exlcusions (up to 150)"
    [Microsoft.VisualBasic.Interaction]::AppActivate("Set Exclusions")
    start-sleep 5
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to get Focus on Set Exclusions"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "Set Exclusions") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("Set Exclusions")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to grab focus of [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    For ($i=1;$i -lt 150; $i++)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%R")
    start-sleep 1
    # Processing the different Directories and process
    ForEach ($y in $ProcIncludingSubs)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A{TAB}$y{TAB}{ADD}{ENTER}")
    Start-Sleep -m 200
    ForEach ($y in $Procs)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A{TAB}$y{ENTER}")
    Start-Sleep -m 200
    ForEach ($y in $FileTypes)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A%F{TAB}$y{ENTER}")
    Start-Sleep -m 200
    [System.Windows.Forms.SendKeys]::SendWait("{ENTER}{TAB}{TAB}{TAB}{ENTER}")
    start-sleep 1
    Stop-Process -Processname shcfg32 -Force | Out-Null
    $TotalExclusionsinRegistry = ((Get-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default\').Property -match "ExcludedItem_").count
    If ($TotalExclusionsinRegistry -ne $TotalExclusionsinFunction)
    Write-Host "`t`tUpdate appears to have failed" -ForegroundColor Yellow
    Start-Sleep 1
    Return $False
    Return $True
    } #End Function

    So i wanted to share with the community a function I wrote to assist in the automating of virus scan exclusions.  In Windows 2008 R2, we were able to import a reg file with the exclusion so it wasn't a big deal.  However, we are using 2012 R1/R2
    with our Lync 2013 deployment and this option is no longer available to me.  The team in charge of the central AV management servers (whatever it is called) are not offering to assist in loading a policy in their management server for our Lync deployment.
     Inserting a ton of exclusions manually for over hundred servers (that is just a single customer) isn't something I would be willing to do manually, not to mention things would get missed.  I made this relatively generic so it should work (I think)
    for other people.  It sends key strokes to the OS to accomplish as I couldn't find another way.  I haven't found anyone who has a solution so I wrote this one.  I could be much much more involved in identifying which roles or what the server
    is (SQL, DC, SharePoint, etc), but I am not sure I want to spend that kind of time.  Maybe in the future.
    Note:  My "One Access Scanner" is listed fourth in the Virus Scan Console.  If yours is not, this will need some tweaking. This isn't really an appropriate solution (I just hack this stuff together), but it works.   
    Things you need to know.
    Single file or single directory exclusions go into the array $Procs
    File Types go into $FileTypes
    Any directory that you want the sub directory to be excluded as well goes into $ProcIncludingSubs
    Function SetAVExclusions ()
    $ErrorActionPreference = "silentlycontinue"
    Function GetActiveWindows ()
    # sample script to query winapi GetForegroundWindow and GetWindowText
    Add-Type @"
    // **** every time you make a change to this class, you have to restart powershell session or change class name to new name ****
    using System.Runtime.InteropServices;
    using System.Text;
    public class Win51
    [DllImport("user32.dll", SetLastError = true)]
    static extern System.IntPtr FindWindow(string className, string windowName);
    [DllImport("user32.dll", SetLastError = true)]
    static extern System.IntPtr FindWindowEx(System.IntPtr parentHandle, System.IntPtr childAfter, string className, string windowTitle);
    [DllImport("user32.dll")]
    static extern System.IntPtr GetForegroundWindow();
    [DllImport("user32.dll")]
    static extern int GetWindowText(System.IntPtr hWnd, System.Text.StringBuilder text, int count);
    [DllImport("user32.dll")]
    static extern System.IntPtr GetWindow(System.IntPtr hWnd, uint uCmd);
    [DllImport("user32.dll")]
    static extern bool SetForegroundWindow(System.IntPtr hWnd);
    enum UCmd
    GW_CHILD = 5,
    GW_ENABLEDPOPUP = 6,
    GW_HWNDFIRST = 0,
    GW_HWNDLAST = 1,
    GW_HWNDNEXT = 2,
    GW_HWNDPREV = 3,
    GW_OWNER = 4
    public string getForegroundWindowTitle()
    const int nChars = 256;
    System.Text.StringBuilder Buff = new System.Text.StringBuilder(nChars);
    System.IntPtr handle = getForegroundWindow();
    if (GetWindowText(handle, Buff, nChars) > 0)
    return Buff.ToString();
    return null;
    // returns null / 0 if find window fails
    public System.IntPtr findWindow(System.IntPtr hWndParent,System.IntPtr hWndChildAfter, string lpszClass, string lpszWindow)
    System.IntPtr handle = FindWindowEx(hWndParent,hWndChildAfter, lpszClass, lpszWindow);
    // System.IntPtr handle = FindWindow(lpszClass, lpszWindow);
    return handle;
    public System.IntPtr getForegroundWindow()
    System.IntPtr handle = GetForegroundWindow();
    return handle;
    public bool setForegroundWindow(System.IntPtr hWnd)
    return setForegroundWindow(hWnd);
    public System.IntPtr getWindow(System.IntPtr hWnd, uint uCmd)
    return GetWindow(hWnd,uCmd);
    $winObj = New-Object Win51
    $text = $winObj.getForegroundWindowTitle();
    return $text
    } #End Function GetActiveWindows
    $Procs = @("{%}Systemroot{%}\system32\GroupPolicy\registry.pol",` # Corporate Defaults
    "{%}allusersprofile{%}\NTUser.pol",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb*.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb.chk",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edbres00001.jrs",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edbres00002.jrs",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Res1.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Res2.log",`
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Tmp.edb ",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\datastore.edb",` #KB822158
    "{%}windir{%}\security\*.chk",`
    "{%}windir{%}\security\*.edb",`
    "{%}windir{%}\security\*.log",`
    "{%}windir{%}\security\*.sdb",`
    "{%}windir{%}\security\database\Security.sdb",`
    "C:\quarantine",`
    "{%}systemroot{%}\System32\GroupPolicy\Machine\Registry.pol", ` #KB822158
    "{%}systemroot{%}\System32\GroupPolicy\User\Registry.pol", ` #KB822158
    "{%}windir{%}\security\database\*.edb",` #KB822158
    "{%}windir{%}\security\database\*.sdb",` #KB822158
    "{%}windir{%}\security\database\*.log",` #KB822158
    "{%}windir{%}\security\database\*.chk",` #KB822158
    "{%}windir{%}\security\database\*.jrs",` #KB822158
    "{%}windir{%}\SoftwareDistribution\Datastore\Logs\Edb*.jrs",` #KB822158
    "{%}windir{%}\Ntds\Ntds.dit",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Ntds.pat",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\ED*.log",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Res*.log",` #KB822158 - AD DCs
    "{%}windir{%}\Ntds\Edb*.jrs",` #KB822158 - AD DCs
    "e:\Ntds\Ntds.dit",` #KB822158 - AD DCs
    "e:\Ntds\Ntds.pat",` #KB822158 - AD DCs
    "e:\Ntds\ED*.log",` #KB822158 - AD DCs
    "e:\Ntds\Res*.log",` #KB822158 - AD DCs
    "e:\Ntds\Edb*.jrs",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\sys\edb.chk",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\ntfrs.jdb",` #KB822158 - AD DCs
    "{%}windir{%}\Ntfrs\jet\log\*.log",` #KB822158 - AD DCs
    "{%}systemroot{%}\Sysvol\Staging areas\Nntfrs_cmp*.*",` #KB822158 - AD DCs
    "e:\Sysvol\Staging areas\Nntfrs_cmp*.*",` #KB822158 - AD DCs
    "{%}systemroot{%}\System32\Dns\*.log",` #KB822158 - AD DCs
    "{%}systemroot{%}\System32\Dns\*.dns",` #KB822158 - AD DCs
    "ABServer.exe", ` # Begin Lync 2013 Exclusions
    "AcpMcuSvc.exe", `
    "ASMCUSvc.exe", `
    "AVMCUSvc.exe", `
    "ChannelService.exe", `
    "ClsAgent.exe", `
    "ComplianceService.exe", `
    "DataMCUSvc.exe", `
    "DataProxy.exe", `
    "FileTransferAgent.exe", `
    "IMMCUSvc.exe", `
    "LysSvc.exe", `
    "MasterReplicatorAgent.exe", `
    "MediaRelaySvc.exe", `
    "MediationServerSvc.exe", `
    "MRASSvc.exe", `
    "OcsAppServerHost.exe", `
    "ReplicaReplicatorAgent.exe", `
    "ReplicationApp.exe", `
    "RtcHost.exe", `
    "RTCSrv.exe", `
    "XmppProxy.exe", `
    "XmppTGW.exe", `
    "Fabric.exe", `
    "FabricDCA.exe", `
    "FabricHost.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\SQLServr.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\Bin\ReportingServicesService.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Bin\MSMDSrv.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.LYNCLOCAL\MSMQL\Binn\SQLServr.exe", `
    "{%}ProgramFiles{%}\Microsoft SQL Server\MSSQL11.RTCLOCAL\MSMQL\Binn\SQLServr.exe", `
    "{%}systemroot{%}\System32\LogFiles", `
    "{%}systemroot{%}\SysWow64\LogFiles", `
    "{%}programfiles{%}\Microsoft Lync Server 2013", `
    "{%}programfiles{%}\commonfiles\Microsoft Lync Server 2013", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Mcx\Ext", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Mcx\Int", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Ucwa\Int", `
    "{%}ProgramFiles{%}\Microsoft Lync Server 2013\Web Components\Ucwa\Ext", `
    "{%}systemroot{%}\Windows\Microsoft.NET\Framework64\v4.0.30319\Config", `
    "{%}ProgramFiles{%}\Microsoft System Center 2012 R2\Server\Health Service State",` #Begin SCOM 2012 R2 Exclusions
    "{%}ProgramFiles{%}\System Center Operations Manager\Gateway\Health Service State",`
    "{%}ProgramFiles{%}\Microsoft Monitoring Agent\Agent\Health Service State",`
    "CShost.exe","Microsoft.Mom.Sdk.ServiceHost.exe","HealthService.exe","MonitoringHost.exe",`
    "e:\WAC_Server_Cache","e:\WAC_Server_Logs","e:\WAC_Server_Rendering_Cache"` # WC Server storage locations
    # This section will exlude file types
    $FileTypes = @("MDF","LDF")
    # This section will include sub folders in the exclusion. Path must end in a \
    $ProcIncludingSubs = @("{%}programfiles{%}\Microsoft Lync Server 2013\", `
    "{%}systemroot{%}\RtcReplicaRoot\", `
    "{%}SystemDrive{%}\RtcReplicaRoot\", `
    "E:\RtcReplicaRoot\xds-replica\", `
    "{%}systemroot{%}\assembly\", `
    "{%}systemroot{%}\ServiceProfiles\", `
    "{%}systemroot{%}\Windows\Microsoft.NET\", `
    "{%}systemroot{%}\system32\inetsrv\", `
    "{%}systemroot{%}\system32\LogFiles\", `
    "{%}systemroot{%}\SysWOW64\inetsrv\", `
    "{%}systemroot{%}\SysWOW64\LogFiles\", `
    "{%}systemroot{%}\System32\Dns\Boot\",` #KB822158 - AD DCs
    "{%}programfiles{%}\Common Files\Microsoft Lync Server 2013\Watcher Node\" `
    $TotalExclusionsinFunction = $Procs.Length + $FileTypes.Length + $ProcIncludingSubs.Length
    $TotalExclusionsinRegistry = ((Get-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default\').Property -match "ExcludedItem_").count
    If ($TotalExclusionsinFunction -eq $TotalExclusionsinRegistry)
    Write-Host ""
    Write-Host "`tChecking Anti-Virus Exclusions in the Registry"
    Write-Host ""
    Write-Host "`t`tStatus : " -ForegroundColor White -NoNewline
    start-sleep -m 500
    Write-Host "Count Matches" -ForegroundColor Yellow
    Write-Host ""
    Write-Host "`t`t`tThe number of exclusions in this script match the number of exclusions in the registry" -ForegroundColor Yellow
    Start-Sleep 5
    return $true
    [void] [System.Reflection.Assembly]::LoadWithPartialName("'Microsoft.VisualBasic")
    [void] [System.Reflection.Assembly]::LoadWithPartialName("'System.Windows.Forms")
    Write-Host "`tDisabling Artemis (Hueristic Scanning)" -ForegroundColor Cyan
    $VConsole = Get-Process -Name mcconsol -ErrorAction SilentlyContinue
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If (($VConsole -ne $null) -or ($VConsole1 -ne $null))
    If ($VConsole -ne $null)
    $VConsole.CloseMainWindow() | Out-Null
    If ($VConsole1 -ne $null)
    Stop-Process -Processname shcfg32 -ErrorVariable "AOS" -Force
    If ($AOS)
    Write-Host "`tForce Close Failed - Taking Extrodinary Actions (~20 Secs)" -ForegroundColor Yellow
    If ($ActiveApp -eq "On-Access Scan Properties")
    [System.Windows.Forms.SendKeys]::SendWait("{ESC}{ESC}{ESC}{ESC}{ESC}")
    $ActiveApp = GetActiveWindows
    $Count = 0
    Write-Host "`t`t`t[" -ForegroundColor Yellow -NoNewline
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    [System.Windows.Forms.SendKeys]::SendWait("{ESC}{ESC}{ESC}{ESC}{ESC}")
    Start-Sleep 1
    $Count++
    $ActiveApp = GetActiveWindows
    Write-Host "*" -ForegroundColor Green -NoNewline
    Write-Host "]" -ForegroundColor Yellow
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If ($VConsole1 -ne $null)
    Write-Host "`t`tIssue Closing the App"
    Pause
    Else
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Write-Host "`t`tClosing all McAfee Windows"
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Else
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Start-Sleep 2
    # Setting Hueristic Settings to disabled
    Write-Host "`t`tGrabbing focus of window [On-Access Scan Properties]"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to get Focus On-Access Scan Properties"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to grab focus of [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    $KeyboardArray1 = "%S","{UP}","{UP}","{UP}","{UP}","{UP}","{UP}","{TAB}","{TAB}","{TAB}","{ENTER}"
    ForEach ($z in $KeyboardArray1)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to keep focus on [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait($z)
    start-sleep -m 300
    start-sleep 2
    # Start Exclusions
    Write-Host "`tStarting VirusScan Exclusions" -ForegroundColor Cyan
    $VConsole = Get-Process -Name mcconsol -ErrorAction SilentlyContinue
    $VConsole1 = Get-Process -Name shcfg32 -ErrorAction SilentlyContinue
    If (($VConsole -ne $null) -or ($VConsole1 -ne $null))
    If ($VConsole -ne $null)
    $VConsole.CloseMainWindow() | Out-Null
    If ($VConsole1 -ne $null)
    Stop-Process -Processname shcfg32 -Force
    Write-Host "`t`tClosing all McAfee Windows"
    start-sleep -m 500
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Else
    & 'C:\Program Files (x86)\McAfee\VirusScan Enterprise\SHCFG32.EXE'
    Start-Sleep 2
    # Removing all On Access Scanner Exclusions
    Write-Host "`t`tGrabbing focus of window [On-Access Scan Properties]"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep 1
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to get Focus On-Access Scan Properties"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "On-Access Scan Properties") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("On-Access Scan Properties")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to grab focus of [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    $KeyboardArray1 = "%S","{TAB}","{DOWN}","+{TAB}","+{TAB}","+{TAB}",,"+{TAB}","{RIGHT}","+{TAB}","+{TAB}","+{TAB}",,"+{TAB}","{RIGHT}","%E"
    #[System.Windows.Forms.SendKeys]::SendWait("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{TAB}{TAB}{TAB}{RIGHT}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{RIGHT}%E")
    ForEach ($z in $KeyboardArray1)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "On-Access Scan Properties")
    Write-Host "`t`tUnable to keep focus on [On-Access Scan Properties]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait($z)
    start-sleep -m 300
    start-sleep 2
    # Removing exclusions 150 times.
    Write-Host "`t`tRemoving existing virus exlcusions (up to 150)"
    [Microsoft.VisualBasic.Interaction]::AppActivate("Set Exclusions")
    start-sleep 5
    $ActiveApp = GetActiveWindows
    Write-Host "`t`tCurrent Focus is $ActiveApp"
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to get Focus on Set Exclusions"
    $Count = 0
    start-sleep -m 300
    while (($ActiveApp -ne "Set Exclusions") -and ($Count -lt 10))
    $Count++
    Write-Host "`t`t`t`tTrying again: $Count of 10 times"
    [Microsoft.VisualBasic.Interaction]::AppActivate("Set Exclusions")
    start-sleep -m 750
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to grab focus of [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    For ($i=1;$i -lt 150; $i++)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%R")
    start-sleep 1
    # Processing the different Directories and process
    ForEach ($y in $ProcIncludingSubs)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A{TAB}$y{TAB}{ADD}{ENTER}")
    Start-Sleep -m 200
    ForEach ($y in $Procs)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A{TAB}$y{ENTER}")
    Start-Sleep -m 200
    ForEach ($y in $FileTypes)
    $ActiveApp = GetActiveWindows
    If ($ActiveApp -ne "Set Exclusions")
    Write-Host "`t`tUnable to keep focus on [Set Exclusions]"
    Write-Host "`t`tStarting over again"
    Stop-Process -Processname shcfg32 -Force
    Start-Sleep 5
    Return $False
    [System.Windows.Forms.SendKeys]::SendWait("%A%F{TAB}$y{ENTER}")
    Start-Sleep -m 200
    [System.Windows.Forms.SendKeys]::SendWait("{ENTER}{TAB}{TAB}{TAB}{ENTER}")
    start-sleep 1
    Stop-Process -Processname shcfg32 -Force | Out-Null
    $TotalExclusionsinRegistry = ((Get-Item -Path 'HKLM:\SOFTWARE\Wow6432Node\McAfee\SystemCore\VSCore\On Access Scanner\McShield\Configuration\Default\').Property -match "ExcludedItem_").count
    If ($TotalExclusionsinRegistry -ne $TotalExclusionsinFunction)
    Write-Host "`t`tUpdate appears to have failed" -ForegroundColor Yellow
    Start-Sleep 1
    Return $False
    Return $True
    } #End Function

  • Uninstalling Mcafee virus scan from Lion

    I'm trying to install a Norton antivirus product, however the installer tells me that I cannot install it on my hard drive because I already have "incompatible antivirus software" installed on it, and it lists McAfee VirusScan. I had McAfee on it previously, however I have run the Unistaller provided by Mcaffee. I thought this had removed the program, however there are still clearly remnants of it somewhere on the drive. Does anyone have experience with this and is willing to help?

    Removing all traces of anti-virus software is often difficult. In your case, you need to go to the McAfee site, not the Norton site, to search for a manual uninstall process.
    Try: https://kc.mcafee.com/corporate/index?page=content&id=KB54975
    However, I agree with others in not recommending Norton as a replacement. If you feel that you need an anti-virus software to detect you from no known Mac viruses in the wild, try ClamXav. At least it's free.

  • I cannot get adobe reader to download on an Acer Aspire 1 using Win 7 and Mcafee virus scan and firewall?

    as sta.ted above i cannot download the Reader software from the Adobe website.there is nothing saved in nthe Windows downloads folder nor is there any sign of the Downloads box. We hnave W7 on the pc so know what to expect. Have even tried saving it in ano9ther location. Stil no good. Currently have the new Firefox and Windows and Mcaffe dowloads are happening automatically. Any ideas? Using an Acer Aspire one netbook

    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps to download the Adobe Reader file.
    *http://windows.microsoft.com/en-US/windows7/Advanced-startup-options-including-safe-mode
    If that still fails then you will have to use another computer to download the file and use an USB stick too transfer the file.

  • Which is better and newer, virus scan 6 or pc cillin 2000?

    which is better and newer, mcafee virus scan v6 or pc cillin 2000?
    thanks,
    edison

    edison,
    I run without a Virus Smasher Program.  If I am going to download something I run Housecall.  Also I do not use Outlook or Outlook Express for email so I do not get those types of attacks.
    You could try Housecall here:
    Trend Micro's free online virus scanner
    This thing is a browser plugin.  Does not run unless you are on their site. It is Free. It does not take up any recourses.  It is Free. It is always up to date. It is Free. It never expires. It is Free. You never need to register to use it. Oh, and did I mention it is FREE!!!   :D
    Take Care,
    Richard

  • Just did a virus scan and found an infected file...

    One result from my ClamXav scan...
    Library/Caches/Java Applets/cache/javapi/v1.0/jar/javainstaller.jar-3cc46f89-2f31e643.zip: Java.Downloader.OpenStream. A FOUND
    How do I remove/repair this?
    Alex

    Hi Alex!
    JAVA: CLEAR APPLET CACHES
    Many of the "Virex", "Possibly Infected" & "Non-Critical Errors" can usually be tracked down to the JAR cache folder, which stores Java Applets. Possibly the occasional Trojan as well.
    Browser Cache cleaning and third party utilities, do not seem to eliminate them. Nor does "Virex". I don't know about ClamX.
    They can, of course be manually trashed, but here's another way to get rid of those pesky little buggers!
    HD > Applications > Utilities > Open the Java folder > Double click THESE to open:
    Java 1.3.1 Plugin Settings Click "Cache" tab > Click "Clear JAR Cache"
    Java 1.4.2 Plugin Settings Click "Cache" tab > Click "Clear"
    Good Luck!
    ali b

  • Unable to sync apps after a fatal crash from a virus infected email

    Recently I had a crash resulting from a virus infected email. Upon reinstating my operating system (XP Pro) and lost software, I am having difficulties in syncing my Iphone with my PC, my Library apps is blank but the apps are still showing on the iphone. I'm also having problems with my account which is stated to be different from the one on the PC, possibly because I reinstalled itunes. Any suggestions as to how I reinstate my apps in the Library and have the account recognized. Any help would be most appreciated.

    Dfu means device firmware upgrade
    Press and hold Power + Home buttons together (10sec)
    Phone will go blank
    Before Apple logo comes, release the Power n keep holding Home button
    Until you see a pop in the PC that Apple device in recovery mode
    At that point iTunes will pop asking to restore iphone
    Click restore or
    before u click restore just download the iOS 6.0.2 on say desktop
    After that press and hold shift on ur keyboard then click restore
    It will allow u to navigate and select the iOS firmware u just downloaded
    That's it. When done, restore from your iphone backup, and syncing starts working

  • Virus scanning software conflicts

    We have had a problem in the past when we have had one of our Dynamic Vehicle Test computers running a labview executable program. The computer was connected to a network, and we would have problems with the program locking up when the virus scan software was active. Altruis virus scan software is what we used, but we had to deactivate the virus software, and disconnect the computer from the network.
    We are now using Trend Micro Office scan virus software, and I was wondering if you have had any problems with executables locking up or freezing while this virus scannig software is active. We are (Autocartruck) currently upgrading our computers, and we would like to be able to recconect the computer to the network, and have the virus software active.
    I am a Labview consultant here at Autocar, and I am trying to upgrade the computers they are using, and be able to run the Labview DVT program while the computer is connected to the network and the Virus software is active. In the past, they have experienced a problem with the program locking up, because of some system level commands being executed while the executable program is running. I have tried running a non executable version of the same program, and got the same results. However, I have not tried running either version with the Trend micro Office scan software. I would like to know if there have been any reported problems, or conflicts before I do

    I have seen all kinds of problems occur with virus software...I'd suggest suspending any scans while running ANY program, and do scans when users/programs are inactive. I can't comment on the specific software you are using though.
    Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
    using LV 2010 SP 1, Windows 7

  • Proxy upgrade from SP1 to SP5 doesn't work anymore for virus scanning.

    Upgraded from SP1 to SP5 and the virus scanning updates no longer work. No changes have been made it is a complete carbon copy using the migrate button. No ip addresses have been altered nor has the ports been changed. I've tried SP2, 3 & 4 and they too fail with a 504 error log. I turned SP1 back on and it works first time.
    If you can solve this I'll be so impressed because its driving me crazy. I've checked all config files and everything is as it should be.

    Hi
    This thread was interesting as I have many customer sites using virus scanning without any problems together with this proxy.. Some sites are really huge as well.
    Can the author of this thread explain how the scanning that now refuse to work is done with the proxyserver... Through an API or as forwarded requests to another scanning proxy (trend micro etc.) or what ? Maybe this is done in some way I am not aware of. Then I am really interested in your problem.
    We mostly use it "user->proxy->vscanner->site" where the proxy and the scanner often run at the same host. This in huge installations together with load balancers infront and behind.
    /Per-Olov

  • How do I search scanned documents that Adobe Reader reads but shows 0 results from the search?

    How do I search scanned documents that Adobe Reader reads but shows 0 results from the search?

    If the scanned document was not processed for OCR, then it is just an image and cannot be searched for text.

  • Computer Running what sounds like virus scan from 12-3, but security virus runs only in PM

    My computer was running what seemed like a virus scan this afternoon from 12-3, made it difficult to do work, I have the security system scheduled to run it at night.  How do I find out what kind of scan this was so it doesn't happen again and slow down my work in the PM?   Thanks

    What specific operating system are you running? Windows Vista and Windows 7 if you have one of these OSs run many tasks routinely that can cause disk activity and CPU usage.
    ========
    The first to bring me 1Gbps Fiber for $30/m wins!

Maybe you are looking for

  • Concat to retrieve column name in select

    This is basically what I am trying to do: SELECT 'LY_'| |to_char(sysdate,'MON')| |'SALES' FROM TERR_ACCT_SUM Except, instead of returning "LY_OCTSALES", I would like to select the rows in the column LY_OCTSALES. How can I "create" the column name to

  • ActivIDentity Digital Badge (USB) will not show up in Keychain Access

    I am trying to access my corporate webmail, which requires me to use a USB Digital Badge. However, when I insert the badge, it will not show up in Keychain Access. Consequently, neither Safari nor Firefox can find the credential, causing the page not

  • Desktop app for Creative Cloud won't download from server.

    Can't down load the creative cloud desktop app. get error sign from the installer i.e."we've encountered the following issues: the server is not responding currently. Please try after some time (Error code: 207)    This error has come up for over a d

  • When execute native SQL....

    I want to create a table using Report with native SQL the code as blow: =============================================== REPORT ZDF100001 . EXEC SQL.   CREATE TABLE ZZDEF50 (          MANDT         CHAR(3)  NOT NULL,          ZZFDTYPE      CHAR(1)  NO

  • Spam filtering setup - more questions

    Ok I am still working on getting Spam Assassin and friends working. I am trying to follow the steps in the Spam Assassin wiki http://wiki.apache.org/spamassassin/SpamAssassinon_Mac_OS_XServer I am however having issues getting past step 1... sudo cpa