 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ensuring all Windows clients have updated antivirus</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 06:03:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: The Most-Watched IT Questions: August 24, 2010 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/#comment-80704</link>
		<dc:creator>The Most-Watched IT Questions: August 24, 2010 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 24 Aug 2010 06:59:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-80704</guid>
		<description><![CDATA[[...] When looking for a method to ensure all Windows clients have updated antivirus, we received both a scripting method and a third party software method. Which ones have you tried [...]]]></description>
		<content:encoded><![CDATA[<p>[...] When looking for a method to ensure all Windows clients have updated antivirus, we received both a scripting method and a third party software method. Which ones have you tried [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/#comment-80188</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:59:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-80188</guid>
		<description><![CDATA[Yes, Spiceworks can monitor the age of virus definitions on client machines.
I have tested it with McAfee 8.7 and it works very well.  It uses WMI to get this information from client machines, so a script could produce similar results and it could be a better option if you don&#039;t want to install the whole monitoring program just to check virus definitions.]]></description>
		<content:encoded><![CDATA[<p>Yes, Spiceworks can monitor the age of virus definitions on client machines.<br />
I have tested it with McAfee 8.7 and it works very well.  It uses WMI to get this information from client machines, so a script could produce similar results and it could be a better option if you don&#8217;t want to install the whole monitoring program just to check virus definitions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitrum</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/#comment-80180</link>
		<dc:creator>mitrum</dc:creator>
		<pubDate>Wed, 11 Aug 2010 06:22:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-80180</guid>
		<description><![CDATA[try SpiceWorks and let it scan your network with domain poweruser  / administrator account regularly . you can download it from 

http://www.spiceworks.com/referrer/mitrum]]></description>
		<content:encoded><![CDATA[<p>try SpiceWorks and let it scan your network with domain poweruser  / administrator account regularly . you can download it from </p>
<p><a href="http://www.spiceworks.com/referrer/mitrum" rel="nofollow">http://www.spiceworks.com/referrer/mitrum</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the geek</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/ensuring-all-windows-clients-have-updated-antivirus/#comment-80161</link>
		<dc:creator>the geek</dc:creator>
		<pubDate>Tue, 10 Aug 2010 18:53:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-80161</guid>
		<description><![CDATA[My solution would be a script that first checks the version of the AV then either exits, or configures the proxy to deny Internet access. Here are two code snippets that could be used to create a custom script (these aren&#039;t my creation--found them in forums):

(Note that you would need to add the conditionals that would execute the proxy config script)

&lt;pre&gt;Option Explicit

Const strOU = &quot;OU=MySubOU,OU=MyOU,DC=mydomain,DC=com&quot;

Const HKLM = &amp;H80000002
Dim objFSO, objFile
Set objFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set objFile = objFSO.CreateTextFile(objFSO.GetParentFolderName(Wscript.ScriptFullname) &amp; &quot;McAfee_versions.txt&quot;, True)

Dim objConnection
Set objConnection = CreateObject(&quot;ADODB.Connection&quot;)
objConnection.Open &quot;Provider=ADsDSOObject&quot;

Dim objCommand
Set objCommand = CreateObject(&quot;ADODB.Command&quot;) 
objCommand.ActiveConnection = objConnection 
objCommand.Properties(&quot;Page Size&quot;) = 1000


&#039; Get all names of all computer accounts
objCommand.CommandText = &quot;SELECT name FROM &#039;LDAP://&quot; &amp; strOU &amp; &quot;&#039; WHERE objectCategory=&#039;computer&#039;&quot; 
Dim objRS
Set objRS = objCommand.Execute 

&#039; Loop through computer names and check McAfee definition versions
Dim objReg, strDAT, strMajor, strMinor
On Error Resume Next
WriteOut &quot;Hostname&quot; &amp; vbTab &amp; &quot;Engine version&quot; &amp; vbTab &amp; &quot;DAT version&quot;
Do Until objRS.EOF
	Set objReg = GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!&quot; &amp; objRS(&quot;name&quot;) &amp; &quot;rootdefault:StdRegProv&quot;)
	If Err.Number = 0 Then
	
		objReg.GetDWORDValue HKLM, &quot;SOFTWAREMcAfeeAVEngine&quot;, &quot;EngineVersionMajor&quot;, strMajor
		objReg.GetDWORDValue HKLM, &quot;SOFTWAREMcAfeeAVEngine&quot;, &quot;EngineVersionMinor&quot;, strMinor
		objReg.GetDWORDValue HKLM, &quot;SOFTWAREMcAfeeAVEngine&quot;, &quot;AVDatVersion&quot;, strDAT
		WriteOut objRS(&quot;name&quot;) &amp; vbTab &amp; vbTab &amp; strMajor &amp; &quot;.&quot; &amp; strMinor &amp; vbTab &amp; strDAT
	Else
		WriteOut objRS(&quot;name&quot;)
	End If
	Set objReg = nothing
	objRS.MoveNext
Loop



Sub WriteOut(strText)
	&#039;Write text to file
	objFile.WriteLine strText

	&#039; Write text to screen if running under cscript
	If Instr(1, Wscript.FullName, &quot;cscript&quot;,1) Then
		Wscript.Echo strText
	End If
End Sub&lt;/pre&gt;

This one would be executed if the version test fails:

&lt;pre&gt;Const HKEY_CURRENT_USER = &amp;H80000001

strComputer = &quot;.&quot;
 
Set ScriptMe=GetObject(&quot;winmgmts:{impersonationLevel=impersonate}!&quot; &amp; _ 
    strComputer &amp; &quot;rootdefault:StdRegProv&quot;)
 
strKeyPath = &quot;SoftwareMicrosoftWindowsCurrentVersionInternet Settings&quot;
 
strValueName = &quot;ProxyEnable&quot;
dwValue = 1
ScriptMe.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strValueName,dwValue

strValueName = &quot;ProxyServer&quot;
stValue = &quot;http=192.168.1.1:8080;https=192.168.1.1:8080&quot;
ScriptMe.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,stValue&lt;/pre&gt;

That should be enough to get started and someone could provide an actual solution.]]></description>
		<content:encoded><![CDATA[<p>My solution would be a script that first checks the version of the AV then either exits, or configures the proxy to deny Internet access. Here are two code snippets that could be used to create a custom script (these aren&#8217;t my creation&#8211;found them in forums):</p>
<p>(Note that you would need to add the conditionals that would execute the proxy config script)</p>
<pre>Option Explicit

Const strOU = "OU=MySubOU,OU=MyOU,DC=mydomain,DC=com"

Const HKLM = &amp;H80000002
Dim objFSO, objFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile(objFSO.GetParentFolderName(Wscript.ScriptFullname) &amp; "McAfee_versions.txt", True)

Dim objConnection
Set objConnection = CreateObject("ADODB.Connection")
objConnection.Open "Provider=ADsDSOObject"

Dim objCommand
Set objCommand = CreateObject("ADODB.Command") 
objCommand.ActiveConnection = objConnection 
objCommand.Properties("Page Size") = 1000


' Get all names of all computer accounts
objCommand.CommandText = "SELECT name FROM 'LDAP://" &amp; strOU &amp; "' WHERE objectCategory='computer'" 
Dim objRS
Set objRS = objCommand.Execute 

' Loop through computer names and check McAfee definition versions
Dim objReg, strDAT, strMajor, strMinor
On Error Resume Next
WriteOut "Hostname" &amp; vbTab &amp; "Engine version" &amp; vbTab &amp; "DAT version"
Do Until objRS.EOF
	Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!" &amp; objRS("name") &amp; "rootdefault:StdRegProv")
	If Err.Number = 0 Then
	
		objReg.GetDWORDValue HKLM, "SOFTWAREMcAfeeAVEngine", "EngineVersionMajor", strMajor
		objReg.GetDWORDValue HKLM, "SOFTWAREMcAfeeAVEngine", "EngineVersionMinor", strMinor
		objReg.GetDWORDValue HKLM, "SOFTWAREMcAfeeAVEngine", "AVDatVersion", strDAT
		WriteOut objRS("name") &amp; vbTab &amp; vbTab &amp; strMajor &amp; "." &amp; strMinor &amp; vbTab &amp; strDAT
	Else
		WriteOut objRS("name")
	End If
	Set objReg = nothing
	objRS.MoveNext
Loop



Sub WriteOut(strText)
	'Write text to file
	objFile.WriteLine strText

	' Write text to screen if running under cscript
	If Instr(1, Wscript.FullName, "cscript",1) Then
		Wscript.Echo strText
	End If
End Sub</pre>
<p>This one would be executed if the version test fails:</p>
<pre>Const HKEY_CURRENT_USER = &amp;H80000001

strComputer = "."
 
Set ScriptMe=GetObject("winmgmts:{impersonationLevel=impersonate}!" &amp; _ 
    strComputer &amp; "rootdefault:StdRegProv")
 
strKeyPath = "SoftwareMicrosoftWindowsCurrentVersionInternet Settings"
 
strValueName = "ProxyEnable"
dwValue = 1
ScriptMe.SetDWORDValue HKEY_CURRENT_USER,strKeyPath,strValueName,dwValue

strValueName = "ProxyServer"
stValue = "http=192.168.1.1:8080;https=192.168.1.1:8080"
ScriptMe.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,stValue</pre>
<p>That should be enough to get started and someone could provide an actual solution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.019 seconds using memcached
Object Caching 311/312 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 06:45:43 -->