New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Query not working as expectedExpand / Collapse
Author
Message
Posted 7/26/2009 9:54:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/26/2009 10:06:54 AM
Posts: 1, Visits: 2
I've created a query to determine which machines don't have Symantec End Protection installed but it doesn't seem to be working. 
Depending on the computer the installation could exist in either of the locations mentioned in the script.  Seems to be a simple query but it's listing computers that DO have the program installed.  Why isn't this working?

((NOT EXISTS <File> "C:\program files\symantec\symantec endpoint protection\smc.exe" or  NOT EXISTS <File> "c:\program files\symantec antivirus\smc.exe"))

Post #1813
Posted 8/24/2009 11:19:47 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/12/2010 8:58:45 AM
Posts: 3, Visits: 1,617
Try this

(NOT EXISTS "C:\Program Files\Symantec\Symantec Endpoint Protection\smc.exe") OR (NOT EXISTS "C:\Program Files\Symantec AntiVirus\smc.exe")

---------------------------
Brad Minor
Colleague Support Analyst

Wells Real Estate Funds
Post #1817
Posted 8/24/2009 12:25:34 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2/12/2011 11:11:06 PM
Posts: 742, Visits: 1,211
I think you would want to use "And" vs "Or" since you need both locations to be "clean" or it would be possible for Symantec Endpoint to be installed.  Correct?



New Boundary Technologies Support
support@newboundary.com

Post #1818
Posted 8/24/2009 12:48:53 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/12/2010 8:58:45 AM
Posts: 3, Visits: 1,617
Sorry, I meant to change that to AND before submitting it and forgot.

---------------------------
Brad Minor
Colleague Support Analyst

Wells Real Estate Funds
Post #1819
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 11:16am

Powered By InstantForum.NET v4.1.3 © 2012
Execution: 0.188. 10 queries. Compression Enabled.