none
problem loading driver in autounattend answer file. something change in server 2019? RRS feed

  • Question

  • Just wondering if there has been a change in 2019 for loading drivers in windowsPE? What worked in 2016 is no longer working for me during my 2019 build ..I have tried adding Credentials and removed again as they had no effect on the error. The driver itself works fine if loaded manually (VMWare pvscsi driver)

    I am getting the error

    "Windows could not apply the Windows PE bootstrap setting specified in the unattend answer file"

    The error logs are saying

    E-INVALIDARG #681# from CWcmStateNoeCore::GetOrCreateChild(fCreate = true, fTopLevel = false, fPredefinedList = false, node name = PathAndCredentials, name in handler = 0, childType = 16400, childmetaData = @0x206e6dee790, childNode = NULL)

    The section in my windowsPE pass that is causing the issue

        <settings pass="windowsPE">
           <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
                        <Path>A:\pvscsi\amd64</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>

    Here is the full list of errors

    setupact.log:2020-01-10 18:59:46, Info       [0x0601a4] IBS    LoadWorkerModules:Successfully added worker module ErrorHandler in winsetup.dll
    setupact.log:2020-01-10 18:59:57, Error                 CSI    00000001 (F) E_INVALIDARG #683# from CWcmStateNodeCore::CreateHandlerExOnDemand(...)[gle=0x80004005]
    setupact.log:2020-01-10 18:59:57, Error                 CSI    00000002 (F) E_INVALIDARG #682# from CWcmStateNodeCore::GetOrCreateChildOneLevel(fCreate = true, fTopLevel = false, fPredefinedList = false, node name = PathAndCredentials, name in handler = 0, childType = 16400, childMetaData = @0x1e9d4fa1af0, childNode = NULL)
    setupact.log:2020-01-10 18:59:57, Error                 CSI    00000003 (F) E_INVALIDARG #681# from CWcmStateNodeCore::GetOrCreateChild(fCreate = true, fTopLevel = false, fPredefinedList = false, node name = PathAndCredentials, childNode = NULL)
    setupact.log:2020-01-10 18:59:57, Error                 CSI    00000004 (F) E_INVALIDARG #678# from CWcmStateNodeCore::CreateHandlerExOnDemand(...)[gle=0x80004005]
    setupact.log:2020-01-10 18:59:57, Error                 CSI    00000005 (F) E_INVALIDARG #673# from CChildContextStore::ApplyToNamespace(namespace = @0x1e9d15e1d80)[gle=0x80004005]
    setupact.log:2020-01-10 18:59:57, Error      [0x0604a8] IBS    Failed applying WinPE bootstrap unattend settings with status 0x80070057
    setuperr.log:2020-01-10 18:59:57, Error                 CSI    00000001 (F) E_INVALIDARG #683# from CWcmStateNodeCore::CreateHandlerExOnDemand(...)[gle=0x80004005]
    setuperr.log:2020-01-10 18:59:57, Error                 CSI    00000002 (F) E_INVALIDARG #682# from CWcmStateNodeCore::GetOrCreateChildOneLevel(fCreate = true, fTopLevel = false, fPredefinedList = false, node name = PathAndCredentials, name in handler = 0, childType = 16400, childMetaData = @0x1e9d4fa1af0, childNode = NULL)
    setuperr.log:2020-01-10 18:59:57, Error                 CSI    00000003 (F) E_INVALIDARG #681# from CWcmStateNodeCore::GetOrCreateChild(fCreate = true, fTopLevel = false, fPredefinedList = false, node name = PathAndCredentials, childNode = NULL)
    setuperr.log:2020-01-10 18:59:57, Error                 CSI    00000004 (F) E_INVALIDARG #678# from CWcmStateNodeCore::CreateHandlerExOnDemand(...)[gle=0x80004005]
    setuperr.log:2020-01-10 18:59:57, Error                 CSI    00000005 (F) E_INVALIDARG #673# from CChildContextStore::ApplyToNamespace(namespace = @0x1e9d15e1d80)[gle=0x80004005]
    setuperr.log:2020-01-10 18:59:57, Error      [0x0604a8] IBS    Failed applying WinPE bootstrap unattend settings with status 0x80070057

    • Edited by Dbyte22 Friday, January 10, 2020 7:04 PM
    • Moved by Dave PatrickMVP Friday, January 10, 2020 10:55 PM
    Friday, January 10, 2020 6:51 PM

All replies

  • I did find a workaround to load the pvscsi driver. I would still like to know why it is not working within the autounattend.xml

    Using \$WinpeDriver$:

    $WinpeDrivers$ is an additional folder structure that Setup.exe looks for and if found, is parsed to pull in additional drivers. Setup will recursively parse files and folders under this \$WinpeDriver$ folder looking for *.INF files and attempts to install these discovered drivers into the driverstore.

    Folder structure can look something like this on the root of the USB device:
    \$WinpeDriver$
     └\WiFi
      └\Wireless1
       └Wireless.INF
       └Wireless.SYS
       └Wireless.CAT (Needed by operating system)

    NOTE: if you look in the \Windows\Panther\Setupact.log you can see reference to this folder:
    PnPIBS: Checking for pre-configured driver paths ...
    PnPIBS: Checking for pre-configured driver directory C:\$WinPEDriver$.
    PnPIBS: Checking for pre-configured driver directory D:\$WinPEDriver$.
    PnPIBS: Checking for pre-configured driver directory E:\$WinPEDriver$.
    PnPIBS: Checking for pre-configured driver directory X:\$WinPEDriver$.

    Tuesday, January 14, 2020 2:09 PM