Sysprep help with DriversPath and local driver folders

  • Thread starter James Daniel Elliott
  • Start date
J

James Daniel Elliott

Guest
Hey there,

I am trying to capture a sysprep'd image that I can deploy on many differant hardware profiles that automatically locates and installs drivers. I noticed there was a stage in sysprep after "sysprep.exe /oobe /generalize /reboot /unattend:unattend.xml" where it installs drivers.
My assumption was when I added the path to the Microsoft-Windows-PnpCustomizationsNonWinPE_neutral as below that it would then use that path to search for drivers. Is this not the case? If so what method would work?
The path on the local disk is C:\LocalCache\Drivers\ of course and there are subfolders within that which contain the individual drivers.
<settings pass="offlineServicing">
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Credentials>
<Domain>SETUP-PC</Domain>
<Password>PASSWORD</Password>
<Username>Administrator</Username>
</Credentials>
<Path>C:\LocalCache\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>


Continue reading...
 
Back
Top