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

Install Altiris Client Diagnostics

Created: 26 Mar 2009 • Updated: 07 Jul 2009 | 2 comments
Language Translations
ziggy's picture
+14 14 Votes
Login to vote

There have been more than a few times that we have all had to review the logs on a node to troubleshoot an issue with the Altiris Agent or a related job/task.

I have found that by installing the 'Client Diagnostics', I have an easy to use tool to help comb through some pretty dry log files.

To do this, you will simply need to register the correct dll by opening a command prompt and running these commands:

cd C:\Program Files\Altiris\Altiris Agent\
regsvr32 AeXAgentDiagnostics.dll

You will then see a pop-up on your screen stating "DllRegisterServer in AeXAgentDiagnostics.dll succeeded."

Click the 'OK' button and your ready to roll.

You can now Right Click on your Altiris icon in your systray and navigate to 'Diagnostics | Log Viewer' or any of the other awesome options available under that menu.

But wait! What if you don't have an Altiris Agent icon in your systray! Don't worry. I can help you with that too.

Simply place these few lines into a VB Script on the computer that your working on. Simply Right Click on your desktop (or some other location) Drill down to "New | Text Document" then rename that file to 'somefilename.vbs'. Next, Right Click on that file and select 'Edit' and when the file opens in notepad (preferred), place these six lines in there:

dim client
set client = CreateObject ( "Altiris.AeXClient" )
dim sessmgr
set sessmgr = client.SessionManager
'Client Diagnostics
sessmgr.ActivateObject ( "{E8B8B9D4-A461-4E19-9F14-B72E5110F631}" )

Now just save and close the file. Simply double-click that file and you will magically have an Altiris Agent icon in your systray.

You should not have to redo the above mentioned steps to install the Client Diagnostics, but if you did for some reason, you have all the steps here in this article.

The down side is that this article only applies for Windows computers. I would love to see a simple menu driven counterpart for the Client Diagnostics on the *NIX platform. I think I will submit that as an enhancement request.

Thank you.

Comments 2 CommentsJump to latest comment

MtBiker's picture

Great article Ziggy!  I started playing around with this and it looks like something I would use as a tool on a daily basis.  I hated sifting through the logs in their format.  So since I'm going to start using this as a tool, I created a VB Script to run your commands.  I thought I would share with your viewers.

'Register the Diagnostics DLL
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "regsvr32.exe ""C:\Program Files\Altiris\Altiris Agent\AeXAgentDiagnostics.dll"""
'run the diagnostics tool
dim client
set client = CreateObject ( "Altiris.AeXClient" )
dim sessmgr
set sessmgr = client.SessionManager
'Client Diagnostics
sessmgr.ActivateObject ( "{E8B8B9D4-A461-4E19-9F14-B72E5110F631}" )

I wish I could just upload it as a file but I don't believe you can post files in replys

+6
Login to vote
taszerl's picture
I have two batch files that I use by running directly or with a jb in ds or even NS task server
The first one just runs and turns it on, with the silent switch so it will not ask if I use it in a job
RegSVR32 "C:\Program Files\Altiris\Altiris Agent\AeXAgentDiagnostics.dll" /s
the other turns it off
 
RegSVR32 /u "C:\Program Files\Altiris\Altiris Agent\AeXAgentDiagnostics.dll" /s

Very simple, and kind of stated in the article, figured I would put my 2 cents in.
really awsome that someone posted that very handy and not well known feature.

For more Linux imaging checkout TheDude05 articles

+1
Login to vote