MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
637 stars 281 forks source link

Modern Driver Management 4.2.1 not installing audio drivers #358

Open dsraa opened 1 year ago

dsraa commented 1 year ago

Hi All, I've been using MDM 4.2.1 for about 6 months, previous versions seem to work better, but I don't want to roll back if I don't have to. We have all Dell Models in our environment, and lately on the last few models, the Audio Drivers don't seem to install correctly or at all. The MDM apply drivers step finishes fine, and the laptop does finish the image, but upon login no audio driver is install, or audio just doesn't work, and I have to re-install the audio driver manually which usually fixes it. This seems to happen on Dell Latitude 7430, and 9430, and also on Microsoft Surface.

The only error in the apply driver log is - - An error occurred while installing drivers. Continuing with warning code: 2. See DISM.log for more details.

I've tried several driver package versions downloaded through the automation tool, and it identifies the packages correctly, downloads them, and the above is the only error I get on almost all models. I reviewed the dism log, but an unable to find the issue.

Any ideas?

Thanks

merlinfrombelgium commented 1 year ago

Looks like whatever is going wrong, happens in the dism process, so outside the scope or control of the script. Without seeing your dism.log I can't really help on that. Maybe these drivers don't like being installed using the recurse option. Also note that some drivers are just better off when installed as an application, not through injection.