Imaging toolkit supports several different imaging environments with ZENworks Configuration Management:

  • ZENworks imaging (linux) with .zmg image files
  • ZENworks imaging (WinPE) with .zmg image files (for more information TID:2018004)
  • ENGL PE imaging (WinPE) with .wim image files


This TID will give information on how to convert your files from ZENworks imaging to ENGLPE imaging.


Setup ENGL WinPE imaging environment

The Windows 10 deployment for ZENworks (WinPE/WIM) walkthrough goes through the steps to set up a new project for deployment using ENGLPE. 

If you want to set up ENGLPE and ZENworks linux imaging on the same server then it is possible to get it to work but we need to make a few adjustments to the standard zimfiles folder. 

 

Configure Build Console

Build Console can be configured to integrate against several different desktop management solutions. In order for Build Console to output ENGLPE boot files and .wim image files the integration type needs to be changed from "ZENworks Configuration Management (Linux/ZMG)" to "ZENworks Configuration Management (WinPE/WIM)". 


  • Launch Build Console
  • Select Tools - Options - Integration
  • Select "ZENworks Configuration Management (WinPE/WIM)"
  • Select OK

This will put Build Console into WinPE / Wim mode.

 

Update the build process files

The project file and any driver packs configured in the file library remain the same for linux or PE imaging however Deployment Wizard needs to create .wim versions of all the .zmg files.

  • Launch Build Console
  • Open your Project
  • Run Deployment Wizard 
  • Select Build process creation
  • Recreate the novcomp, ztoolkit and appropriate drivers images for machines that will be deployed using ENGLPE

 

Next decide where you are going to image from. Win PE imaging connects to a network share rather than using the ZENworks imaging proxy service. This can be separate from your current zmg images folder if need be. 

 

Copy the .wim files you just created to this share.

 

Update the TFTP folder

  • Launch the Integration Wizard
    N.B The dialogs will be slightly different to ZENworks imaging.
  • Select Update imaging files and Configure Zim
  • When prompted to update imaging files - tick the box then specify the path to your TFTP source folder. If this is on a linux box you need to make a local copy of the TFTP folder first.
    The files will be copied from this location to our folder structure.
  • To allow PXE Booting, using both ZENworks maintenance and ENGLPE, unselect the "Bypass Preboot Menu" option
  • Select the Language for ENGLPE
  • When prompted for Zim Integration options enable all options
  • When prompted for Projects - only select the ones you will use in ENGLPE
  • Fill in any authentication information
  • The images path needs to be a UNC path and the username / password details need to give read/write rights to the share (write access is required to capture images to this location)

The rest of the wizard pages are the same as normal.

 

Once the wizard has completed you will have a new TFTP folder that has your old zim.cfg files etc renamed to .bak  and the updated ENGLPE files.


This TFTP folder will default to use ENGLPE and if ZENworks imaging is selected the Zim menu will error. To have things running concurrently we then need to manually modify the files.

 

  • Create a zimfiles/PE sub folder 
  • Move the ENGLPE zim.cfg file and the projects.ini file into this folder
  • Rename the linux versions of the zim.cfg file and projects.ini file back to their original names
  • Update the zimpeget.cmd file to change where the zim.cfg and projects.ini files are downloaded from:
    e.g.
    REM TFTP files
    for %%i in (zim.exe ztrace.exe) do Ztftpclient.exe /get /blksize:4096 /host:%PROXYADDR% /remote:"zimfiles/%PLATFORM%/%%i" /local:%%i >NUL
    for %%i in (engl.lic zim.jpg images.ini ) do Ztftpclient.exe /get /blksize:4096 /host:%PROXYADDR% /remote:"zimfiles/%%i" /local:%%i >NUL
    for %%i in (zim.cfg projects.ini) do Ztftpclient.exe /get /blksize:4096 /host:%PROXYADDR% /remote:"zimfiles/PE/%%i" /local:%%i >NUL
    
    

The TFTP folder structure can now be copied to the ZENworks server ( It is worth renaming the original tftp folder as a backup folder).


If the ZENworks server is running linux it is worth resetting the rights on the TFTP folder by running the ZENworks provided "permissions.s" script file.

 

Confirm at this point that you can successfully boot ENGLPE and the Zim menu is displayed.

 

Base image

The base image you have captured will be a .zmg file. This will not restore via ENGLPE so we need to capture a copy of the base image as a .wim file. 


Restore zmg base image to a machine.

  • PXE boot a machine to the ZENworks Imaging Environment / Zim menu
  • Select Maintenance Menu
  • Select Development Menu
  • Select Restore an Image
  • Set Image Type to "OS" Then select the project  from the drop down list
  • Let the image restore
  • Power off the machine


Capture base image as a .wim

  • PXE boot a machine to the ENGLPE Imaging Environment / Zim menu
  • Select Maintenance Menu
  • Select Development Menu
  • Select Make an Image
  • Set Image Type to "OS" Then select the project  from the drop down list
  • Zim will now capture a .wim version of the base image


Once the capture has completed review the folder structure on the server to confirm.

 

Restore project

  • PXE boot a machine to the ENGLPE Imaging Environment / Zim menu
  • Select Restore Menu
  • Select Project
  • Restore image and let machine build