Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Technique to tell wheather agent is installed

Created: 22 Mar 2011 | 5 comments

Has somebody got a way/script tool which would find out for all the machines in the environment if SMA 7 or altiris 6 or none of these is installed. I have 7000 machines in the environment and i need to find out the count and the names of the machines on hich different versions are installed. I need to do this for all the computers in my corporations. Please suggest/.....

Comments 5 CommentsJump to latest comment

mclemson's picture

Synchronize with Active Directory and run an existing report showing agent version by computer

Query WMI for Win32_Service for name AeXNSClient

Look in registry for existence/value of HKLM\Software\Altiris\Altiris Agent\Version

Since I don't know what you want to do with the data, I'm not sure which option is best.  If you want to deploy the agent next, I'd recommend option 1 or 3, if you just want a simply check, option 2 seems fine.

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com

siddharth.kakkar's picture

even if the agent is not responding? because there are places where the agent is not pointed to the server. How do we proceed with option three? Does that need the Agent and which plug-in does it require? (because with 6 Agent we have only software update plug-in installed so I dont think it will work dere and also on places where there is no agent.)

Also I can't check on all machines one by one. I need to check on all machines in my corporation using a method to do so remotely.

mclemson's picture

What do you want to do?  Install the agent everywhere, and make sure it's version 7, and make sure it's reporting to the server?  Or just audit?  Because these are completely different goals, they would use different methods.

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com

siddharth.kakkar's picture

I have 7000 that may/may not have Altiris 6.1 Agent.Atleast some are not reporting to the server. Some may /may not have Patch plug-in installed on them. I have installed 7 agent on 2900+ computers. For the others i need  to to identify whether they have 6 agent or not so that i can run install/upgrade policy accordingly..........

mclemson's picture

I'd do the following:

  1. Synchronize a single test OU in Active Directory with your NS
  2. Configure your policies so that agents will not be installed if missing and will not be upgraded if out of date
  3. Move a test computer w/o agent over to the test OU and confirm it appears
  4. Enable a policy targeting this test OU to install the agent
  5. Confirm all goes well
  6. Movie a test computer w/ 6.x agent over to test OU and confirm it appears
  7. Enable a policy targeting this test OU to upgrade the agent
  8. Confirm all goes well
  9. Repeat both with larger tests (5-10 agents of each type) and confirm all goes well automatically, including plug-ins
  10. Synchronize with the entire domain, using targeted install and upgrade policies to upgrade individual OUs or groups of OUs at a time
  11. For any agents which are not communicating with your NS, run the command AeXAgentUtil.exe /server: to specify the new server (again, testing before giving it to everyone)

If your AD is garbage, then you'll have to do a network discovery.

Mike Clemson, Senior Systems Engineer, ASC
Intuitive Technology Group -- Symantec Platinum Partner
intuitivetech.com