Information

ZENworks 2017 Update 2 and above includes the ZENworks imaging engine (img) for WinPE. This enables zmg images to be restored from a WinPE environment.

NOTE:Review the ZENworks documentation for limitations and pre-requisites.
Note that existing base images captured using the Linux version of img cannot be used with WinPE.


Scenario

This TID details the steps required to use the ZENworks imaging engine in the ENGL WinPE environment

NOTE:
  • This TID assumes the ENGL WinPE environment has already been configured on the ZENworks server.
  • ZENworks Third Party Imaging configuration is not required to use with the solution in this TID.


Procedure

DoneTask
 
1.Replace zim.cfg
 
2.Copy ZENworks imaging engine files
 
3.Update zimpeget.cmd script
 
4.Test


WARNING!Changes should be tested in a non-production environment and all files backed up before making any alterations.


  1. Replace zim.cfg

    • Rename the existing <TFTP Folder>\zimfiles\zim.cfg
    • Copy the zim.cfg attached to this TID to <TFTP Folder>\zimfiles
  2. Copy ZENworks imaging engine files

    • Create the following folder structure in the ZENworks TFTP folder
    • \3PIUtils
      \x64
      \x86
       
    • Navigate to <ZENworks Installation Path>\share\tomcat\webapps\zenworks\ext\3PIUtils on the ZCM primary server
    • Within the 3PIUtils folder there is a set of files and an x86_64subfolder:                                     
      • Copy the contents of the x86_64 folder to <TFTP Folder>\3PIUtils\x64
      • Copy the files within the 3PIUtils folder to <TFTP Folder>\3PIUtils\x86
  3. Update zimpeget.cmd script

    • Edit tftp\zimfiles\zimpeget.cmd and add the lines shown in green

      REM TFTP files
      for %%i in (zim.exe ztrace.exe) do Ztftpclient.exe /get /host:%PROXYADDR% /remote:"zimfiles/%PLATFORM%/%%i" /local:%%i >NUL
      for %%i in (engl.lic zim.cfg zim.jpg images.ini projects.ini) do Ztftpclient.exe /get /host:%PROXYADDR% /remote:"zimfiles/%%i" /local:%%i >NUL
      for %%i in (getopt.dll libeay32.dll msvcr100.dll ssleay32.dll TFTPClientLibrary.dll Img.exe) do Ztftpclient.exe /get /host:%PROXYADDR% /remote:"3PIUtils/%PLATFORM%/%%i" /local:%%i >NUL
      
      


  4. Test

    The project should deploy and build as normal using the ZENworks imaging engine rather than ENGL WinPE imaging. 

    If there are issues with the process review both the zim.log and zoolkit.log to troubleshoot the problem. For more information about the log files review ENGL TID-2013016

    To test the changes made above complete the following steps: 

    • PXE boot a workstation into WinPE imaging
    • Select a project to restore
    • Check workstation has built as expected


If you have any problems or questions about the steps in this TID please contact the ENGL support team