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

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

  • 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

  • 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

  • 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. 

  • 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

  • Virus scan failed Error on deploying a web application having a jar file for calling the applet on the jsp page

    Hi,
    I have an applet application that i want to deploy on the Oracle cloud.
    So i have created a jar file for the applet application and i am using this jar to call the applet on a jsp page.
    But when i am delpoying my application on the java cloud, its giving me the below error:
    2014-10-28 03:16:41 CDT: Starting action "Virus Scan"
    2014-10-28 03:16:41 CDT: Virus Scan started
    2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
    2014-10-28 03:16:49 CDT: File Scanned: "Application7.ear".
    2014-10-28 03:16:49 CDT: File Size: "106698122".
    2014-10-28 03:16:49 CDT: File Status: "INFECTED".
    2014-10-28 03:16:49 CDT: ----------------------------------------------------------------------
    2014-10-28 03:16:49 CDT: Virus scan failed.
    2014-10-28 03:16:49 CDT: "Virus Scan" complete: status FAILED
    Can't we deploy any application having applet or swing component's onto the cloud?
    Or do we need to request for any extra permissions for the same?
    Thanks,
    Manoj

    I don't see applets mentioned in the supported features nor in the unsupported features so not sure if they are supported you would likely need to contact the operations team to confirm.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Virus scan server error - when submit to sap

    Hey all,
    i am getting an error when i submit my project into sap repository.
    i can connect to the sap system without any error but it says me that i have to create a virus scan profile for ui5 when i search for the virus profiles on img i can see /UI5/UI5_INFRA_APP/REP_DT_PUT profile.
    the error that  i am getting the fallowing error...
    File .settings/.jsdtscope could not be submitted Virus scan server error: "Recursive occurrence of virus scan profile /UI5/UI" ( path: .settings/.jsdtscope )
    File .settings/org.eclipse.jdt.core.prefs could not be submitted Virus scan server error: "Recursive occurrence of virus scan profile /UI5/UI" ( path: .settings/org.eclipse.jdt.core.prefs )
    ...........it goes....
    my virus provider
    glad to hear your helps.

    Hi Abraham,
                 Thank you very much. My problem resolved.
    I  have one Query Please guide me.
    whenever  we run Server URL from The  Browser,   first we must need run    "chrome.exe --args --disable-web-security"  command on   CMD.   on located directory the Chrome has installed.
    to disable  web security.
    if I did not run that command on CMD,  then Fiori Apps not worked.
    Why it's compulsory to disable web security.
    Regards,
    Pankaj Kamble

  • Virus scan server error: "No virus scan profile is selected as the "default"

    Hi Team,
    I  try to upload Fiori Code into SAP Netweaver Gateway server .
    i can able to share Project.
    But when i try to submit code
    then at the end of Process i got error message.
    Virus scan server error: "No virus scan profile is selected as the "default"
    Please Guide me
    Regards
    Pankaj Kamble
    Tags edited by: Michael Appleby

    Hi Abraham,
                 Thank you very much. My problem resolved.
    I  have one Query Please guide me.
    whenever  we run Server URL from The  Browser,   first we must need run    "chrome.exe --args --disable-web-security"  command on   CMD.   on located directory the Chrome has installed.
    to disable  web security.
    if I did not run that command on CMD,  then Fiori Apps not worked.
    Why it's compulsory to disable web security.
    Regards,
    Pankaj Kamble

  • VSI error: The virus scan adatper load failed

    Hi Team,
    I am working on Configuration of the Virus Scan Interface in SRM ABAPServer.
    As a first Step I tried configuring Virus Scan Adapter by keeping the
    vssap.dll on the server location D:\usr\sap\SID\SYS\exe\uc\NTAMD64\.
    When I start Virus Scan Adapter after configuration, its failing with
    the follwoing error.
    Could not start the engine of VSA_hostname. Error: "VSI error:
    The virus scan adatper load failed."
    We are on the latest kernel patch level
    Can you please help into the issue.
    REgards
    Ponnusamy

    Hello,
    your problem is not related to SRM but to Basis Components: check OSS notes for Virus Scan Interface.
    Regards.
    Laurent.

  • Hp 5535 will not scan, error message printer not found

    I have a HP Envy 5535. I have only been able to scan one time with it. I scanned 22 documents, after running HP Scan Doc 4.4. Each time the HP Scan Doc states that everything is OK, yet as soon as I try to do even a test scan, I get the error message "Printer not found." I have also tried to run this scan with my McAfee virus firewall off, and it still doesn't work. I have also identified it on McAfee as part of my network.
    This question was solved.
    View Solution.

    Hi @prazdancr,
    Welcome to the HP Forums!
    I am sorry that you cannot scan with your HP Envy 5535, but I am happy to help!
    For further assistance I will need to know:
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, or USB.
    If the printer is able to make copies by itself.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
    In the meantime, please try going through this scanning guide. A 'The computer is not responding' Error Message Displays During Scanning.
    Hope to hear from you soon, and have a nice day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • P30 shuts down when running virus scan and other apps

    Hi,
    I've got a Satellite P30-110. Lately it has started to shutdown without warning and power off. When I start it back up again it loads normally without a scandisk.
    It first started when I was using FAST via crossover cable. It would shutdown shortly after starting to gather the files. Then it started happening when I tried to run a virus scan using McAfee VirusScan 9. Now it also happens when I try to encode video.
    I have tried doing all of the above after starting in Safe Mode, running msconfig and disabling all startup items and normally. Still I get the exact same result.
    I have not installed any new hardware or software. I have updated my BIOS to v1.3. My notebook is plugged in when this happens. I have enough HD space. I just don't have a clue as to whats happening!! Please help!

    Hi there, The simplest way is to use a vacuum cleaner hose on the fan grills as described in an earlier post. However, if ther is a lot of dust and debris stuck in the heat sink then it may be necessary to remove the heat sink first. This can be done by removing the cover on the bottom of the notepad (adjacent to the fan grilles), and then remove the screws holding the heat sink in place.
    Note that the heat sink will be attached with contact paste to help the heat dispersal. Please don't forget to power off the PC first, and also make sure that there is sufficient contact paste when refitting the hest sink.
    HTH

Maybe you are looking for

  • Problem occuring in my lumia 520

    When i play temple run on my Lumia 520 it resumes automatically? .how to clear RAM of Lumia 520?

  • Compilation/Linking of SAPRFC SDK on Linux

    Dear All, I have downloaded SAPRFC SDK version 6.4 ia32 bit for Linux. I am trying to compile sample code which is with SDK but getting lots of error as below. I am doubting about the mismatch of Linux version/compiler version. I am using gcc 3.2 and

  • Default file opener?

    This questions involves all of the iWork '08 applications. How do I set these applications to be the default application for opening files sent to me? In other words, when I receive a .ppt file and double-click to open, my computer uses Adobe to atte

  • Firefox crashes when I try to start it. (BEX CRASH and APPCRASH)

    Hello, When I try to open mozilla firefox it crashes immediatly giving me 2 errors. BEX crash and APPCRASH. I have this problem now for 2 months and it's really getting annoying anyone knows how to fix it? When i try to open google chrome or IE I als

  • Tax entered incorrect

    hi, in FB50, if i click calculate tax button without check calculate taxes on net amount in editing options, dr 100 cr 100 with tax code then it is dr 100 cr   95 with tax code cr    5 this is automatically giving by system as input tax account but i