Enabling a Workstation for Auto-Imaging Operations

The following procedure explains how to register the workstation as an object in your eDirectory tree, install a Desktop Management Imaging Agent on the workstation, and install a permanent Desktop Management Workstation Imaging (Linux) partition on the hard disk.

Complete this procedure if you are not using Preboot Services (PXE). If you have enabled PXE on the workstation and have installed Desktop Management Preboot Services on your imaging server, this procedure is not a prerequisite to performing unattended imaging operations. For more information, see Using Preboot Services (PXE).

This procedure needs to be performed only once prior to performing auto-imaging (unattended) operations. It is not a prerequisite to performing manual imaging operations.

  1. If you haven't already done so, install the Novell ClientTM on the workstation. For more information, see Understanding the Novell Client.

    Desktop Management works with or without an installation of the Novell Client on the workstation. If your setup does not require the Client, then the Desktop Management Management Agent must be installed. For more information, see Understanding the Desktop Management Agent.

  2. If you haven't already done so, register the workstation as an object in your eDirectory tree that contains the Desktop Management Workstation Imaging server.

    When you boot a Windows workstation from an imaging device or method and allow the bootup process to proceed in auto-imaging mode, the imaging engine runs on the workstation and contacts a Desktop Management Workstation Imaging server. In order for the workstation to be imaged, you must first either define an eDirectory policy for the Desktop Management Workstation Imaging server (for more information, see Defining an Imaging Policy for Unregistered Workstations (Server Policy)), or you must register the workstation as an object and configure Imaging on the Workstation object.

    For more information on registering the workstation as an object, see Automatic Workstation Import and Removal.

    You don't need to complete all the tasks mentioned in the instructions. Just create a Server policy package that contains a minimal Workstation Import policy (use the defaults for naming, groups, and limits), and then associate the Server package with the container where you want the Workstation object to be created. Then, configure the workstation to communicate with the import service on the Imaging server, and reboot the workstation. Before proceeding with the next step, check your eDirectory tree to make sure that the Workstation object was created.

  3. Set a flag in the Workstation object that triggers the imaging operation you want.

    For more information, see Performing an Automatic Imaging Creation or Restoration.

  4. Install the Desktop Management Imaging Agent on the workstation.

    When you put a new base image on a Windows workstation, the workstation receives the same identification data as the workstation from which the image was taken, including such settings as the IP address and computer (NETBIOS) name. To work around this, you can install the ZENworks Desktop Management Imaging Agent on the target workstation before reimaging it. This saves the workstation's current identity settings to an area on the hard disk that's safe from reimaging. When the workstation reboots after being reimaged, the agent restores the original settings.

    IMPORTANT:  The Imaging Agent does not save or restore any Windows 2000/XP Domain information. If you change a workstation's domain and then restore an image, the workstation receives whatever domain is embedded in the new image.

    The Desktop Management Imaging Agent has already been installed on the workstation if in Step 1 you did a custom Novell Client installation and chose the Imaging Services option. If this is the case, skip to Step 5. Or, you can choose to install the Imaging Agent by running the ZISD-9x or ZISD-NT application object on the workstation. Otherwise, proceed with Step 4.a to install the Desktop Management Imaging Agent.

    1. Browse to the sys:\public\zenworks\imaging folder in your ZENworks Desktop Management installation (on the Imaging server).

    2. Complete the steps that correspond to the type of workstation:

      Workstation Type Steps

      Windows 98

      1. Copy ziswin.exe, zislib16.dll, and zislib32.dll to the novell\zenis folder.
      2. Run ziswin.exe from the novell\zenis folder.
      3. Run regedit.exe and browse to HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > RunServices.
      4. Add the string value ZENwork Imaging Service and set it to the filename and path of the ziswin.exe file. For example, c:\novell\zenis\ziswin.exe
      5. Save the changes and close regedit.

      Windows 2000

      1. Copy ziswin.exe and ziswinr.dll (in the nls\english subfolder or the appropriate language subfolder) to your winnt\system32 folder.
      2. From a command prompt, change to your winnt\system32 folder, type ziswin -install, then press Enter.

      Windows XP

      1. Copy ziswin.exe and ziswinr.dll (in the nls\english subfolder or the appropriate language subfolder) to your windows\system32 folder.
      2. From a command prompt, change to your windows\system32 folder, type ziswin -install, then press Enter.
    3. Reboot the workstation.

  5. Take an image of the workstation as instructed in Manually Taking an Image of a Workstation.

    IMPORTANT:  Do this even if you have taken an image of the workstation previously. This ensures that the new image captures the changes you made in the preceding steps.

  6. When the image has been created, reboot the workstation with the first imaging boot diskette (or other imaging boot method), type install at the boot prompt, then press Enter.

    This starts the process of creating the Desktop Management imaging partition in the first partition slot. It also destroys all existing partitions, even if slot 1 is empty and available. By default, the Desktop Management imaging partition size is 150 MB.

    If the Desktop Management imaging partition already exists, it will be upgraded, and your existing Windows partitions will be left intact. For information on updating Linux device drivers (SP1 only) in your hard-disk partition, see Adding Linux Drivers to Your Boot Method.

  7. If prompted, reinsert the first imaging boot diskette, then press Enter.

  8. (Optional) When the Desktop Management imaging partition has been created and the bash prompt reappears, type img dump, then press Enter.

    This displays a list of the partition slots on the workstation. Unless you were upgrading your Desktop Management imaging partition, each partition slot should be empty and none should be active. The Desktop Management imaging partition is hidden from the list, so the number of partition slots in the list should be one less than before.

    or

    Type img to display a menu, select Dump, then select No Geometry.

  9. At the bash prompt, restore the image you took in Step 5. Use the img restorep command or select Restore an Image, then select Proxy Image from the menu as instructed in Step 7 of Manually Putting an Image on a Workstation.

  10. (Optional) When the image has been restored and the bash prompt reappears, use the img dump command to redisplay the list of the partition slots on the workstation.

    or

    Type img to display a menu, select Dump, then select No Geometry.

    You should now see information about the Windows partitions that were restored and activated. There should still be one less partition slot than before because the Desktop Management imaging partition is still hidden (and will continue to be).

  11. At the bash prompt, type lilo.s, then press Enter.

  12. When the bash prompt reappears, remove the diskette and reboot the workstation.

    The workstation should boot to Windows. If the bash prompt reappears, enter the lilo.s command again and reboot a second time.

From this point on, whenever the workstation is rebooted, the imaging engine takes control and checks the Imaging server to see if an imaging operation should be performed. If you have not configured the Workstation object in eDirectory to trigger an unattended imaging operation, the imaging engine simply exits and automatically reboots the workstation to Windows.