Failed to auto provision drivers. Code 0x80004005
Hi,i got an error while installing Vista x32 to a Notebook.SCCM R2Exit Code: 2147467259The "Apply Device Drivers" task failed with the following error message:\sms\client\osdeployment\osddriverclient\onlinedrivercatalog.cpp,536) processDriverResponse(sResponseBody,fpCallbackProc,pvCallbackData,matchResultMap),HRESULT=80004005(e:\nts_sms_fre\sms\client\osdeployment\osddriverclient\onlinedrivercatalog.cpp,457) pDriverCatalog->match(deviceList,m_fpCallbackProc,m_pvCallbackData,matchResultMap),HRESULT=80004005(e:\nts_sms_fre\sms\client\osdeployment\osddriverclient\driverinstaller.cpp,854) pDriverInstaller->AutoInstallDrivers(pDriverCatalog,bBestMatch),HRESULT=80004005(e:\nts_sms_fre\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,286) ProcessAutoProvision(pDriverInstaller,bBestMatch),HRESULT=80004005(e:\nts_sms_fre\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,415) Exitingwithreturncode0x80004005 Serverresponse:Requestfailed(Code0x80040e4d) Failedtoprocessdrivercatalogresponse.Code0x80004005 Failedtoautoprovisiondriver.Code0x80004005 Failedtoautoprovisiondrivers.Code0x80004005I tried to delete ALL Drivers, but the problem remains :(If I specify a driver package to install, the tasksequence succeeded an all Drivers are installed properly.Any ideas?Thanks!Jerry
July 30th, 2009 9:18am

Hi Jerry, Error code 0x80040e4d is DB_SEC_E_AUTH_FAILED so it sounds like the driver matching code on the MP may be having issues running its query. Please check the MP_DriverManager.log file on the server for more information. Thanks, -- BrettThis posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2009 1:16pm

My advice, GIVE UP!Auto driver installation is a pain. It might work, it might not.Create driver packages for each piece of supported hardware and apply them individually.Much more reliable and save a lot of headaches.Brett Moffett
August 2nd, 2009 10:29pm

Hi Brett,DB_SEC_E_AUTH_FAILED sounds right!I got an "Audit Login Failed" in my SQL-Server Profiler from the MP-Server. The Username is: "Anonymous Logon"The ClientProcess (identified by ID) is "CcmExec"Isupposeditsthe service "SMS Agent Host", but i can't run it under other credentials then "local System"MyMP_DriverManager.log:Executing Driver Request - MatchMP_DriverManager03.08.2009 16:48:18948 (0x03B4)XML Schema support is not installed, XML validation will be skipped.MP_DriverManager03.08.2009 16:48:18948 (0x03B4)CMPDBConnection::Init(): IDBInitialize::Initialize() failed with 0x80040E4DMP_DriverManager03.08.2009 16:48:18948 (0x03B4)=======================================MP_DriverManager03.08.2009 16:48:18948 (0x03B4) MPDB ERROR - CONNECTION PARAMETERSSQL Server Name : SITE-SERVER\SQL-InstanceSQL Database Name : SMS_AAAIntegrated Auth : True MPDB ERROR - EXTENDED INFORMATIONMPDB Method : Init()MPDB Method HRESULT : 0x80040E4DError Description : Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.OLEDB IID : {0C733A8B-2A1C-11CE-ADE5-00AA0044773D}ProgID : Microsoft OLE DB Provider for SQL Server MPDB ERROR - INFORMATION FROM DRIVERSQL Server Name : SITE-SERVER\SQL-InstanceNative Error no. : 18456Error State : 1Class (Severity) : 14Line number in SP : 1MP_DriverManager03.08.2009 16:48:18948 (0x03B4)=======================================MP_DriverManager03.08.2009 16:48:18948 (0x03B4)Raising event:[SMS_CodePage(437), SMS_LocaleID(1033)]instance of MpEvent_ConnectDatabaseFailed{ClientID = "GUID:988B57F3-7330-483D-92F9-79ED3E6FB4AF";DatabaseName = "SMS_AAA";DateTime = "20090803144818.156000+000";ErrorCode = "0x80040E4D";MachineName = "MANAGEMENTSERVER";ProcessID = 1560;ServerName = "SITE-SERVER\\SQL-Instance";SiteCode = "AAA";ThreadID = 948;Win32ErrorCode = 5;};MP_DriverManager03.08.2009 16:48:18948 (0x03B4)Failed to get database connection, hr=0x80040e4dMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Failed to initialize database connection, hr=0x80040e4dMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Failed to initialize task, hr=0x80040e4dMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Failed to initialize MatchDrivers Task, hr=0x80040e4dMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Response message sent to the clientMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Failed to execute task, hr=0x80040e4dMP_DriverManager03.08.2009 16:48:18948 (0x03B4)Thanks!Jerry
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2009 11:38am

Hi, today i reinstalled the complete Sitesystem-Server (OS & Site System). The installation routine reported no error, all clients can communicate with the management point but the error remains :( any further ideas? Thanks! Jerry
August 5th, 2009 11:54am

JerryJerry Were you ever able to resolve this issue? I am seeing something similar in my environment.
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2012 11:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics