Jump to content

Recommended Posts

Posted

I am using an Autounattend.xml format for both W2K8 R2 and W2K8 SP2. I keep my drivers on a USB stick and use %confisetroot% variable to make the Windows installation read the drivers from USB drive. I install all boot critical drivers in WindowsPE phase and non boot critical drivers in offlineServicing pass.

<settings pass="offlineServicing">

<component language="neutral" name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS">

<DriverPaths>

<PathAndCredentials wcm:action="add" wcm:keyValue="1">

<Path>%configsetroot%\Windows\2008\Drivers1</Path>

</PathAndCredentials>

<PathAndCredentials wcm:action="add" wcm:keyValue="2">

<Path>%configsetroot%\Windows\2008\Drivers2</Path>

</PathAndCredentials>

</DriverPaths>

</component>

</settings>

I set configsetroot to true in WindowsPE pass. Above xml works fine for 2008 R2 and 2008 R2 SP1. %configsetroot% variable is expanded and used fine. I can see the expanded path in the log files.

For some reason, this does not work in W2K8 SP2. I tried replacing %configsetroot% with %systemroot%\configsetroot. Didn't work. But if I modify %configsetroot% with "D:\", it works. So it is not able to handle environment variables. I do not want to use hard-coded path if possible, as the driver letter might change based on system.

Any suggestions/comments?

Thanks in advance.


Posted (edited)

What about using that component in the AuditSystem pass?

Thanks for the suggestion. Tried auditSystem....no luck.

Edited by tundra123

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...