Drivers in Subfolders do not install in a ImageX OS deployment
book
Article ID: 49931
calendar_today
Updated On:
Products
CA Automation Suite for Data Centers - Configuration Automation
CA Client Automation - Asset Management
CA Client Automation - IT Client Manager
CA Client Automation
CA Client Automation - Remote Control
CA Client Automation - Asset Intelligence
CA Client Automation - Desktop Migration Manager
CA Client Automation - Patch Manager
CA Server Automation
Issue/Introduction
Description:
Problem
- 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
Usage:
------
pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>
Examples:
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
Environment
- CA Client Automation r12.5
- CA IT Client Management r12.5
- All ImageX deployments of OS' from Vista upwards
Cause
- The Blank space in the name of the subfolder caused a syntax error in the pnputil.exe command
Solution:
- Change the name of the subfolder so it does not contain any blank space
or
- 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
Environment
Release:
Component: DTSVMG
Feedback
thumb_up
Yes
thumb_down
No