MSEndpointMgr / ConfigMgr

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

Cannot validate argument on parameter "DriverPackageInput", argument is null or empty #353

Closed Harry3co closed 1 year ago

Harry3co commented 1 year ago

Hello

I'm using the cm-invokeapplydriver.ps1 script in our sscm environment for staging clients. So far i'm very happy with it and was able to solve most of the issues with it by myself. But now i am struggling on a Surface Pro 4 staging process. I packaged all the driver since it's not available in DAT. According to the script the SystemSKU is Surface_Pro_4, and i added this in the description of the driver package, as i had to do this on several other devices which i packaged and where the script worked after that. According to the applydriverpackage.log the error occurs after "Matched SystemSKU: Surface_Pro_4". I always get the same error "Cannot validate argument on parameter 'DriverPackageInput'. The argument is null or empty. Provide an argument that is not null or empty and then try the command again".

Does anyone know what to do here and could help me out?

I'm pretty new using this tool so any help is really appreciated.

Harry3co commented 1 year ago

I was able to solve my issue. I had to rename the package folder correctly, so the script could recognize it. Renamed it to Drivers - Surface_Pro_4 - Windows 10 x64. After that the driver apply step wen trough smoothly and without errors.