Issue

img may seg fault when restoring add-on images (in particular driver images) that have been created by Build Console running on a machine with 8.3 file name support disabled.

For example:

Image ./images/TID-2014017.png not found. [img seg fault]

Solution

Review the machine that was used to create the add-on images and check if 8.3 file name support is enabled for the drive that is configured for the Temporary Workspace folder.

Enable 8.3 support if it is not already configured.

Procedures

Done Task
 
1. Review Build Console
 
2. Review Workstation
 
3. Enable 8.3 short file name support
 
4. Test
  1. Review Build Console

    • Launch Build Console

    • Select Tools - Options

    • Select Folders To view the folder configuration information

    • Make a note of the drive that is in use for the Temporary Workspace folder

  2. Review Workstation

    • Launch a "Run as administrator" Command Prompt

    • At the command prompt run the following command:
        FSUTIL.EXE 8dot3name query C:
      
       Where C: is the drive letter used in the Temporary Workspace folder path.

       This command will report back on the current short file name support for this drive.

       If short file name support is disabled it will report something similar to:
        The volume state is: 1 (8dot3 name creation is disabled).
        The registry state is: 2 (Per volume setting - the default).
      
        Based on the above two settings, 8dot3 name creation is disabled on C:
      
       If the 8.3 support is disabled then this will need to changed in order for the add-on images to be created properly.

  3. Enable 8.3 short file name support

    Windows 8 / Windows Server 2012 (and newer OS's) are configured so that 8.3 file name support is disabled by default.

     In order for add-on images to be configured properly 8.3 short file name support needs to be enabled on the Temporary Workspace folder.

    • Launch a "Run as administrator" Command Prompt

    • At the command prompt run the following command: 
        FSUTIL.EXE 8dot3name set C: 0
      
       Where C: is the drive letter used in the Temporary Workspace folder path.

      NOTE: In the example only the required drive has 8.3 support enabled.
      For guidance on the fsutil command line options please review the Microsoft documentation: http://technet.microsoft.com/en-gb/library/ff621566.aspx

  4.  8.3 short file name support will now be enabled.

  5. Test

    • Launch Build Console

    • Recreate an add-on image that is known to have displayed the issue

    • PXE boot workstation to ZENworks Imaging Environment

    • Restore project that previously had issues

    • Project image files should all restore successfully.


  6.  If the add-on image no longer causes img to report a segmentation fault recreate all other add-on images that may have displayed the issue.


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