MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
628 stars 282 forks source link

Not applying Drivers, filtering failed: #283

Open carlosalbaidiada opened 3 years ago

carlosalbaidiada commented 3 years ago

Hi

I'm using 4.0.7 script with DAT 6.49

The apply driver process fails

This is the log file

Thanks a lot


[ApplyDriverPackage]: Apply Driver Package process initiated ApplyDriverPackage 11/3/2020 12:18:51 PM 1412 (0x0584)

furiz commented 3 years ago

Getting the same in my log too.
As i just verify the packages names, they start with "Hewlett packard" and not "HP" if that might be the issue.,..

furiz commented 3 years ago

I went and ran my "update driver" task sequence available for all clients and it works (not using RESTAPI this one i believe)

<![LOG[===== SCConfigMgr Invoke-CMApplyDriverPackage Version 2.1.8 ====]LOG]!> <![LOG[Driver download package process initiated]LOG]!> <![LOG[Manufacturer determined as: Hewlett-Packard]LOG]!> <![LOG[Computer model determined as: HP ProBook x360 435 G7]LOG]!> <![LOG[Computer SKU determined as: 8735]LOG]!> <![LOG[Retrieved a total of 36 driver packages from web service]LOG]!> <![LOG[Translated OSName from OSImageVersion: Windows 10]LOG]!> <![LOG[Translated OSVersion from OSImageVersion: ]LOG]!> <![LOG[Translated OSImageArchitecture: ]LOG]!> <![LOG[Using computer detection method: SystemSKU]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard EliteBook 840r G4 Notebook PC - Windows 10 1809 x64 (PKG0028D)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard EliteBook 840r G4 Notebook PC - Windows 10 1809 x64 (PKG0028D)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1809 x64 (PKG0028E)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1809 x64 (PKG0028E)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G4 Notebook PC - Windows 10 1809 x64 (PKG0028F)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G4 Notebook PC - Windows 10 1809 x64 (PKG0028F)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1809 x64 (PKG00290)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1809 x64 (PKG00290)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G2 Notebook PC - Windows 10 1809 x64 (PKG00292)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G2 Notebook PC - Windows 10 1809 x64 (PKG00292)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ZBook 15 G2 Mobile Workstation - Windows 10 1809 x64 (PKG002A0)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ZBook 15 G2 Mobile Workstation - Windows 10 1809 x64 (PKG002A0)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ZBook 15 G3 Mobile Workstation - Windows 10 1809 x64 (PKG002A1)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ZBook 15 G3 Mobile Workstation - Windows 10 1809 x64 (PKG002A1)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1809 x64 (PKG002FF)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1809 x64 (PKG002FF)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard EliteBook 840 G6 Notebook PC - Windows 10 1809 x64 (PKG00351)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard EliteBook 840 G6 Notebook PC - Windows 10 1809 x64 (PKG00351)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1809 x64 (PKG0035D)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1809 x64 (PKG0035D)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G4 Notebook PC - Windows 10 1809 x64 (PKG0035E)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G4 Notebook PC - Windows 10 1809 x64 (PKG0035E)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1809 x64 (PKG00360)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1809 x64 (PKG00360)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1809 x64 (PKG00362)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1809 x64 (PKG00362)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - HP ProBook x360 435 G7 Notebook PC - Windows 10 1909 x64 (PKG00376)]LOG]!> <![LOG[Match found for computer model using detection method: SystemSKU and SKU value (8735)]LOG]!> <![LOG[Attempting to match driver package name with OS name 'Windows 10' and version for Hewlett-Packard]LOG]!> <![LOG[Match found for manufacturer, operating system and architecture: Drivers - HP ProBook x360 435 G7 Notebook PC - Windows 10 1909 x64 (PKG00376)]LOG]!> <![LOG[Adding driver package to list of packages to process]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1909 x64 (PKG0037E)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G3 Notebook PC - Windows 10 1909 x64 (PKG0037E)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1909 x64 (PKG00380)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G5 Notebook PC - Windows 10 1909 x64 (PKG00380)]LOG]!> <![LOG[Attempting to find a match for driver package: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1909 x64 (PKG00382)]LOG]!> <![LOG[Unable to match computer model using detection method: SystemSKU (8735)]LOG]!> <![LOG[Driver package does not meet computer model, manufacturer and operating system and architecture criteria: Drivers - Hewlett-Packard ProBook 430 G6 Notebook PC - Windows 10 1909 x64 (PKG00382)]LOG]!> <![LOG[Driver package list contains a single match, attempting to download driver package content - PKG00376]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDownloadPackages to: PKG00376]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationLocationType to: Custom]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationVariable to: OSDDriverPackage]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationPath to: %_SMSTSMDataPath%\DriverPackage]LOG]!> <![LOG[Starting package content download process, this might take some time]LOG]!> <![LOG[Starting package content download process (FullOS), this might take some time]LOG]!> <![LOG[Successfully downloaded package content with PackageID: PKG00376]LOG]!> <![LOG[Driver files are storage location set to C:_SMSTaskSequence\DriverPackage\PKG00376]LOG]!> <![LOG[Driver package content downloaded successfully, attempting to apply drivers using pnputil.exe located in: C:_SMSTaskSequence\DriverPackage\PKG00376]LOG]!> <![LOG[Successfully applied drivers]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDownloadPackages to a blank value]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationLocationType to a blank value]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationVariable to a blank value]LOG]!> <![LOG[Setting task sequence variable OSDDownloadDestinationPath to a blank value]LOG]!>

carlosalbaidiada commented 3 years ago

Thanks for your feedback, I'll check it out running the TS for update driver and post the result

furiz commented 3 years ago

just to note, i am using an older script to get it to work: Invoke-CMApplyDriverPackage Version 2.1.8

that one uses the webservice rather than the REST API.

chaosisbliss commented 3 years ago

Using the new 4.07 and 6.4 9, you'll need to delete all your packages and download them again. It will tag them and put them in a new HP folder in ConfigMGR. You can also use the new script and run the debug commands manually for a particular model.

furiz commented 3 years ago

Using the new 4.07 and 6.4 9, you'll need to delete all your packages and download them again. It will tag them and put them in a new HP folder in ConfigMGR. You can also use the new script and run the debug commands manually for a particular model.

yeah I actually thought that could be the case, but couldnt find that info easily at least :P thansk for the comment