Setting Up Workstation Policies for Imaging

Use the following steps to set up workstation policies for imaging:

  1. In ConsoleOne, browse to the .Policies.IST.Corp.DA container.

    NOTE:  You may have already created a Workstation Policy Package and associated it to your workstation's container in Remote Management , or in Single-Site Inventory Collection . If so, open the existing Workstation Policy Package's properties and skip to Step 5.

  2. Right-click the Policies.IST.Corp.DA container and select New > Policy Package.

  3. In the Policy Package Wizard, select Workstation Package > click Next.

  4. Keep the name Workstation Package > click Next > enable the Display Details After Creation check box > click Finish.

  5. In the Properties of Workstation Package page, select Workstation Imaging Policy > click Properties.


    Screen shot of the Properties page of the Workstation Imaging policy.

  6. In the Properties of Workstation Package:Workstation Imaging Policy page, click the Image Selection tab > Add.

  7. In the Use This Image field of the New Image Selection Rule dialog box, select the Windows 2000 Pro image object > in the When the Following Conditions are Met fields, select Hard Drive Size > less than (<) > 2048 > click OK.


    Screen shot of the New Image Selection Rule dialog box.

    This rule in the imaging policy will cause the Windows 2000 Pro image object to be restored on any system with less than a 2 GB hard drive. See Image Selection Policy Tips for information on how to effectively use the other hardware criteria options.

  8. In the Properties of Workstation Package:Workstation Imaging Policy page, click the Image Selection tab > Add.

  9. In the Use This Image field of the New Image Selection Rule dialog box, select the W2KproConsoleOne image object > in the When the Following Conditions are Met fields, select Hard Drive Size > greater than or equal to (>=) > 2048 > click OK.


    Screen shot of the New Image Selection Rule dialog box. The W2kproConsoleOne image object is displayed in the Use this Image field. In the When the Following Conditions Are Met Field, the hard drive size has been specified as greater than or equal to 2048.

    The rules you have created will now select a simple base image for workstations with smaller hard drives, and a base image plus an add-on image for workstations with larger hard drives.


    Screen shot of the Properties of Workstation Package: Workstation Imaging Policy page. The Image Selection tab is selected.

  10. Click OK to save the changes to the imaging policy.

  11. In the Properties of Workstation Package page, click the Associations tab. Ensure that the .Workstations.IST.Corp.DA container is listed. If it is not, add it to the list > click OK to save the changes to the Workstation Package.

    NOTE:  Because the Image Selection policy is part of a workstation package, it will only affect workstations that have previously been imported. Automatic imaging for non-imported workstations is covered in Scripted Imaging .

  12. Use ConsoleOne to browse to the container .Workstations.IST.Corp.DA.

  13. Double-click the workstation object that corresponds to the physical workstation for which you enabled automatic ZENworks Imaging in Updating to the Current Imaging Engine .

  14. In the Properties page of the workstation object, click the ZENworks Imaging-Configuration tab > enable the Put an Image on this Workstation on Next Boot check box > disable the Use this Image Instead of the Effective Policy Image or Multicast Session check box > click OK.


    Screen shot of the Properties page of the DA-HR1 Workstation Object. The ZENworks Imaging tab is selected.

    NOTE:  The attributes you have just set for the Workstation object will re-image the workstation according to the effective Workstation Policy Package for this workstation.

  15. Reboot your target workstation and allow the imaging session to complete > log in and verify that the workstation contains the correct data set from the image object selected by policy.


Image Selection Policy Tips

Most environments will have many workstation types that require different base images. To effectively use Image Selection policies, you will need to use criteria other than hard drive size.

The ZENworks Imaging Engine is responsible for identifying system hardware during the image selection process, so for an image to be selected, such as on CPU and sound card types, you must specify these in your policy the same way that the Imaging Engine detects them.

Fortunately, there is an easy way to find out what the Imaging Engine detects on each platform. By booting from your ZENworks Imaging media and entering manual mode, you can enter the img i h command (I for information, H for hardware) to see the exact details of what the ZENworks Imaging Engine detects.

Another helpful command for the ZENworks Imaging Engine is the previously-mentioned img i z command (z for ZENworks Image Safe Data (ZISD), which is the workstation ID stamped to the hard disk). This information can help you to troubleshoot a workstation that is not picking up the correct policy.

The ZISD information can be cleared with the ZISCLEAR.EXE DOS utility, or through a Windows registry key (HKLM > SOFTWARE > Novell > ZENworks > ZISWIN Clear=1). More information on this process is available in Troubleshooting Workstation Imaging in the Workstation Imaging section of the ZENworks for Desktops 3.2 Troubleshooting Guide guide.