(imported topic written by SystemAdmin)
I am using the Software Distribution Wizard to create a task to deploy our antivirus software upgrade. I am able to report computers based on OS but need to also only report computers that do not have the new software upgrade. So by OS and version number. I’ve tried writing the relevance clause for the software version and I either get all computers reporting (even the upgraded ones) or I get zero computers reporting. Any help would be greatly appreciated! Below is an example of all computers reporting, including the ones that already have the upgraded software…
(name of it = “Win2000” OR (name of it = “Win2003” AND NOT x64 of it) OR ((name of it = “Win2008” or (name of it = “WinVista” and product type of it != nt workstation product type)) AND NOT x64 of it) OR name of it = “Win2008R2”) of operating system AND ((not exists key “HKLM\SOFTWARE\Symantec\Symanted Endpoint Protection\CurrentVersion” of native registry) OR (not exists value “PRODUCTVERSION” of key “HKLM\SOFTWARE\Symantec\Symanted Endpoint Protection\CurrentVersion” of native registry) OR (value “PRODUCTVERSION” of key “HKLM\SOFTWARE\Symantec\Symanted Endpoint Protection\CurrentVersion” of native registry as string != “12.1.2015.2015”))