You can use the following options when launching a deployment package from the command line on Windows, Linux, and Macintosh. The syntax is:
package name option1 option2 ...
An example for Windows:
PreAgentPkg_Agent.exe -q -v -k regkey1
An example for Linux:
PreAgentPkg_AgentLinux.bin -S -k regkey1
An example for Macintosh:
PreAgentPkg_AgentMAC.bin -k regkey1
The command accepts the following options:
-G: Do not install packages which require X or GUI.
-S: Disable SELinux if the agent is unable to open the ports required by ZENworks.
-k: The registration key used to register the device in the management zone.
-ak: The Authorization Key when deploying agent in a zone that has Agent to Server secure communication enabled.
-x: Do not reboot after installation.
-q: Suppress the reboot prompt.
-Z: Log the ZESM installation information.
-U: Force uninstall of older ZENworks Desktop Management Agent.
-K: Installs drivers for ZENworks Endpoint Security Management (ZESM), Full Disk Encryption (FDE), Full Location Awareness (FLA) and Agent Self Defense (ASD) based on the argument passed.
For more information, see:
For example: If this PreAgentPkg_Agent.exe –K 1111 parameter is passed, then all drivers (ZESM, FDE, FLA and ASD) will be installed.
-b: Blocks installation of component. Component can be a single component or a comma separated list of ZENworks components.
Supported component names: FDE, ZESM, Asset Management, Policies, Bundles, Patches, Users, Remote Management and Imaging.
The following options are applicable only to the web-installer package in ZENworks 2020 Update 3:
-server: The IP address or hostname of the primary server.
-port: The port configured for the primary server. The default port is 443.
-cacert: The CA certificate for the server and its path.
-sslignore: Ignores the SSL warning of the untrusted CA certificate.
-s: Prevents the display of the summary screen.
-d target_path: Extract the files to the specified target path. The default target path for Windows is c:\windows\novell\zenworks\stage.
The default target path for Linux and Macintosh is /opt/novell/zenworks/stage.
-h: Display help information.
-k: The registration key used to register the device in the management zone.
-l: List the contents of the package only. Do not extract the package and run the installation.
-n: Extract the package but do not run the installation.
-v: Turn on verbose screen logging.
In addition to the options listed above, there are two additional BUILDTIME options (-f file and -o output_file) that are used when building packages. These options should only be used under the direction of Micro Focus Customer Support.