Installing the ZfD management agents without having NAL running

(Last modified: 15Jun2005)

This document (10085696) is provided subject to the disclaimer at the end of this document.

goal

Installing the ZfD management agents without having NAL running

fact

Novell ZENworks 6.5 Desktop Management - ZfD6.5

Novell ZENworks for Desktops 4.0.1

Novell ZENworks for Desktops 4.0

symptom

Installing the the ZfD management agent through the login script.

Installing the ZfD management agent through a batch file.

Checking for existence of ZFD Management Agent before launching install

fix

Use the batch file below and set it to run from the login script.  This will allow the agents to be installed without any user intervention.

Option 1:

Agentinst.bat batch file
@ECHO OFF
msiexec.exe /i \\Zen_server\Zen_vol\ZfDAgent.msi /qn EDITABLE_MT_ADDRESS=1 STARTUP_APPEXPLORER=1
PAUSE
EXIT

Option 2 (login script):

#%<COMSPEC> /C runas /user:administrator "msiexec.exe /i \\<path to ZfDAgent.Msi file> /qn REBOOT=\"ReallySuppress\"  EDITABLE_MT_ADDRESS=1 STARTUP_APPEXPLORER=1" | \\<path to sanur.exe> <local administrator password goes here>

The above parameters are only an example, see the agent install readme for more information.

runas.exe and sanur.exe programs are required if the local user does not have administrator rights to the workstation. Runas doesn't seem to have a method for accepting a password from anything other than the keyboard ...sanur.exe allows you to pass the password from within the logon script to the runas command.

N.B. note that runas uses a local user, which does not have access to the user's mapped drives, nor the user's NCP connection. So you must ensure that the agent has either been copied to a local drive, or can be accessed via a Windows share by the administrator. Also, any quotes that exist in the runas command, such as those round ReallySuppress above, must be "escaped", by preceding them with a backslash.

Add the following checks for the existence of the ZFD 4 Management agent.

REGREAD "HKLM,SOFTWARE\Novell\Workstation Manager,Registration Agent"
IF "%99" <> "zenwsreg.dll" THEN
@\\servername\sys\public\agentinst.bat
ENDIF

What this is saying is, if the registration Agent does not contain the value of "zenwsreg.dll", then run the install for the ZFD Management Agent. This way the ZFD agent install will only be run on the workstations that have not been updated with ZFD Agent.

note

By default, all of the ZENworks components are installed. To install only specific components add the following:

ADDLOCAL=ApplicationManagement,WorkstationManager

  • Installs only Application Management and the Workstation Manager

EDITABLE_MT_ADDRESS=1

  • Allow the user to change the ZENworks Middle Tier IP address where authentication will take place. This is available only if the Novell Client is not installed.

STARTUP_APPWINDOW=1

  • Launch Application Window on Windows startup, set to 0 if you do not want the application window to be launched.

STARTUP_APPEXPLORER=1

  • Launch Application Explorer on Windows startup, set to 0 if you do not want the application window to be launched.

ADDLOCAL=ALL

  • includes ApplicationLauncher, WorkstationManager, RemoteManagement, MirrorDriver (this property will not work unless you add the Remote Management property), Imaging, Inventory. You can add more than one of these values to the list by separating them with a comma (no spaces). If you want to install all components, you can simply omit this parameter

For more information about installing the ZFD Management Agent view the following link. Installing the ZfD Management Agent on a Workstation

document

Document Title: Installing the ZfD management agents without having NAL running
Document ID: 10085696
Solution ID: NOVL91378
Creation Date: 31Jul2003
Modified Date: 15Jun2005
Novell Product Class:Management Products

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.