Client Management Suite

 View Only

Altiris Agent Deploy with latest version 

Aug 06, 2014 12:42 PM

I had two challanges when creating this script for the installation of the Altiris Agent during client staging.

1. Latest version

- When using images it can easily happen that you have an old Altiris Agent installed. And especially in the beginning with 7.1 this agent did not really upgraded itself even though the Symantec Agent Upgrade policy was enabled and the policy was reaching the client. That was why i started to investigate what possabilties there are to avoid this having old agents in images as well as avoiding to "open" the images.

- So I thought this can be easily achieve using a script. Just had to find a way to get the AEXNSC.exe installation file from the SMP / NS. This led to the second challange.

2. Access to Altiris installation file

- The script had to be able to retrieve the installation file (AEXNSC.exe) both from machines part of the domain as well as client machines within workgroup.

- The script should not contain any usernames or password.

 

After I while I found out that the installation file can be retrieved via IIS and that allows anonymous access. Which means I can achiev both I can always retrieve the lastest version of the Altiris Agent as well as that the script can download the file from within the domain as well as workgroup. Without having to authenticate with any kind of username or password.

I normally like to install some plugin as well at the same time to speed up the process. That is why the script which can be downloaded here installs also the Inventory Agent and the Software Management Agent.

Script usage:

cscript.exe AltirisAgentDeploy.vbs NSServer

 

Give it a try!

Statistics
0 Favorited
1 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
AltirisAgentDeploy.zip   2 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Oct 10, 2014 03:18 PM

Thank you for this script. I am so far successfully testing it using sysprep to keep the agent out of my image:

            <FirstLogonCommands>

                <SynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <CommandLine>cscript.exe c:\Windows\Panther\AltirisAgentDeployD.vbs myNS</CommandLine>
                    <Description>Download and install the latest SMP Agent</Description>
                </SynchronousCommand>                
            </FirstLogonCommands>

 

I did modify the path so I could do the install to D:\

Related Entries and Links

No Related Resource entered.