MSEndpointMgr / ModernDriverManagement

Official repo of Modern Driver Management from MSEndpointMgr.com
https://www.msendpointmgr.com
MIT License
133 stars 80 forks source link

[v4.0.2] Apply Driver Pack process failed, error -2147221246 Invalid window handle #25

Closed StefanSa closed 4 years ago

StefanSa commented 4 years ago

Hi there, get with v4.0.2 in ApplyDriverPackage.log this error message:

[DriverPackageDownload]: Starting driver package download phase ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Attempting to download content files for matched driver package: Drivers - Dell Latitude 5510 - Windows 10 x64   ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Setting task sequence variable OSDDownloadDownloadPackages to: SER000D6  ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Setting task sequence variable OSDDownloadDestinationLocationType to: Custom ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Setting task sequence variable OSDDownloadDestinationVariable to: OSDDriverPackage   ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Setting task sequence variable OSDDownloadDestinationPath to: %_SMSTSMDataPath%\DriverPackage    ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Starting package content download process (WinPE), this might take some time ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - Failed to download package content with PackageID 'SER000D6'. Return code was: -2147221246   ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
 - An error occurred while attempting to download package content. Error message: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)
[ApplyDriverPackage]: Apply Driver Package process failed, please refer to previous error or warning messages   ApplyDriverPackage  28.08.2020 12:18:03 412 (0x019C)

Package SER000D6 is valide. Any help here ?

StefanSa commented 4 years ago

Found a mistake. You have to publish the driver package, of course.