Using PSEXEC to Push Install the NSAgent
In some instances it is not possible to utilize the Notification Servers own infrastructure to do a push installation of the NSAgent. The reason might be that the NSAgent needs to be installed to computers in a non-trusted domain environment.
The following article describes how the free utility psexec can be utilized to perform a push-installation of the NSAgent.
Download needed files
- Get the latest version of PSEXEC from the link below (you need to download the pstools, extract them and then simply copy psexec.exe)
http://download.sysinternals.com/Files/PsTools.zip - Get your NSAgent installation executable from:
\\YOURNS\nscap\Bin\Win32\X86\NS Client Package\AeXNSC.exe - Download the attached install.zip file
Installation
- Ensure that all of the workstations can resolve the name of the Notification Server
- Logon to the server in the foreign domain with domain admin credentials
- Extract the installation package into the directory c:\nsagent
Copy pxexec.exe and aexnsc.exe into the same directory. - Share this directory with the share name "nsagent"
- In the nsagent directory edit the file "pclist.txt" and add all of the computer names into this list to which the NSAgent shall be installed (one PC name per line)
- In the nsagent directory edit the file "install.bat"
- a) MODIFY the name "SERVER" in the section: "\\SERVER\nsagent\aexnsc.exe" to be the name of the server on which you are currently logged on in the foreign domain, so that the line looks for example: "\\domainsrv\nsagent\aexnsc.exe"
- b) MODIFY the name "altirissrv" in the section ns="altirissrv" to be the name of your Notification Server, so that the line looks for example like: ns="myaltiris"
- c) SAVE the changes to the file
- Make sure that firewalls on the target computers are disabled or that you can map the admin$ share on all of the computers.
- Double-Click on "install.bat"
This will install the NSAgent on all of the computers which are named in pclist.txtNote: You might get a license agreement screen. Please accept the license agreement, then the installation continues.

Often use DS
When I run into problems installing NS via the NS, I often turn to the DS to run the install agent.
Another good way is via a script install
Jonathan Jesse
Practice Principle
ITS Partners
Would you like to reply?
Login or Register to post your comment.