Drivers in Subfolders do not install in a ImageX OS deployment

Document ID : KB000049931
Last Modified Date : 14/02/2018
Show Technical Document Details



  • Drivers have been added to the OS Image and are organised in subfolders of the oeminst\Driver folder.
  • Post install these drivers have not been installed
  • calogfile.txt shows an attempt to load the driver e.g.
  • add additional driver c:\oeminst\driver\Out-of-Box Drivers\1394\driver.inf

    Microsoft PnP Utility
    pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>

    pnputil.exe -a a:\usbcam\USBCAM.INF -> Add package specified by USBCAM.INF
    pnputil.exe -a c:\drivers\*.inf -> Add all packages in c:\drivers\
    pnputil.exe -i -a a:\usbcam\USBCAM.INF -> Add and install driver package
    pnputil.exe -e -> Enumerate all 3rd party packages
    pnputil.exe -d oem0.inf -> Delete package oem0.inf
    pnputil.exe -f -d oem0.inf -> Force delete package oem0.inf
    pnputil.exe -? -> This usage screen


  • CA Client Automation r12.5
  • CA IT Client Management r12.5
  • All ImageX deployments of OS' from Vista upwards


  • The Blank space in the name of the subfolder caused a syntax error in the pnputil.exe command


  1. Change the name of the subfolder so it does not contain any blank space


  2. Edit the file "C:\Program Files\CA\DSM\Server\SDBS\var\managedpc\images\<imagename>\<imagename>\oeminst\custom.cmd"

    The line
    • pnputil -i -a %%i >> c:\calogfile.txt
    should be
    • pnputil -i -a "%%i" >> c:\calogfile.txt

      Encapsulating the variable with "" allows the full path to be passed to the pnputil.exe