F.2 Automatic (Query for Work) Mode

Use the -auto mode command to image the device automatically, based on any applicable Preboot Services default settings. The ZENworks Imaging Engine runs in this mode if you let the imaging boot process proceed without interruption, or if you type the command at the imaging maintenance mode prompt.

In this mode, the ZENworks Imaging Engine queries the Imaging Server specified in the PROXYADDR environment variable for any work to do. The Imaging Server checks the relevant Preboot Services default settings to determine what imaging tasks should be performed (if any), such as taking or restoring an image. It then instructs the ZENworks Imaging Engine to perform those tasks.

If any tasks involve storing or retrieving images with other Imaging Servers, the Imaging Server refers the ZENworks Imaging Engine to those servers to complete the tasks.

After the ZENworks Imaging Engine has completed its work, it communicates the results to the original Imaging Server, and the results are logged on it.

PROXYADDR is set in the settings.txt file on the CD or the ZENworks partition. It can be edited by using the config option when booting from the imaging CD. PROXYADDR can be the IP address, DNS name, or the name from the local hosts file.

If the -auto command is used when booted to the Manual Imaging mode, manual intervention might be required to complete some tasks, such as tasks contained in imaging scripts.

For information on configuring the settings that control what happens in this mode, see Section 2.5, Configuring Preboot Services Defaults for ZENworks Imaging.

To use the Automatic mode:

F.2.1 Using the ZENworks Imaging Engine Menu to Query for Work

  1. To display the ZENworks Imaging Engine menu, enter:

  2. Do any of the following:

    • On the menu bar, click Imaging, then click Query for Work.

    • Click F9 Query for Work on the task bar.

    • Press F9.

  3. (Conditional) For a ZENworks Imaging Script bundle, manually execute the script by using the sh /bin/ZenAdvancedScript command.

F.2.2 Using the Imaging Maintenance Mode Prompt to Query for Work

To use the automatic mode, enter:

img -auto


img -a