Login to participate
Endpoint Management & Virtualization BlogsRSS

Using PSEXEC to Push Install the NSAgent

PeeGee's picture

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

  1. 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
  2. Get your NSAgent installation executable from:
    \\YOURNS\nscap\Bin\Win32\X86\NS Client Package\AeXNSC.exe
  3. Download the attached install.zip file

Installation

  1. Ensure that all of the workstations can resolve the name of the Notification Server
  2. Logon to the server in the foreign domain with domain admin credentials
  3. Extract the installation package into the directory c:\nsagent
    Copy pxexec.exe and aexnsc.exe into the same directory.
  4. Share this directory with the share name "nsagent"
  5. 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)
  6. In the nsagent directory edit the file "install.bat"
    1. 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"
    2. 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"
    3. c) SAVE the changes to the file
  7. Make sure that firewalls on the target computers are disabled or that you can map the admin$ share on all of the computers.
  8. Double-Click on "install.bat"
    This will install the NSAgent on all of the computers which are named in pclist.txt

    Note: You might get a license agreement screen. Please accept the license agreement, then the installation continues.
jjesse's picture

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