maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
382 stars 114 forks source link

Invoke-CMApplyDriverPackage.ps1 error 1 incorrect function #373

Open korbinianotto opened 1 year ago

korbinianotto commented 1 year ago

getting error 1 incorrect function in status message queries

The task sequence execution engine failed executing the action (Apply Drivers) in the group (Driver & BIOS Management) with the error code 1 The operating system reported error 1: Incorrect function.

on the client no log file is written. has anyone an idea?

korbinianotto commented 1 year ago

When I try to start Invoke-CMApplyDriverPackage.ps1 on CMD in WinPE we receive the error message "No such interface supported" and then Access denied.

AtomicArtem commented 1 year ago

Do you have an excerpt of the error occurring in c:\_SMSTaskSequence\Logs\Smstslog\smsts.log? You should be able to copy it from the task sequence deployment status messages for the device.

Alternatively you can try deploying the Task Sequence in Debug mode to step through and see what's missing or holding it up.

korbinianotto commented 1 year ago

in the c:_SMSTaskSequence\Logs\Smstslog\smsts.log is no error. it ends up with Set MDM variables successfully.

but in the AdminService.log we receive the following error every 10 minutes

IOCompletionCallback System.ComponentModel.Win32Exception (0x80004005): The specified network name is no longer available

korbinianotto commented 1 year ago

Parameters: -BareMetal -Endpoint "xxx" -TargetOSName "Windows 11" -TargetOSVersion "21H2" -OSVersionFallback

strange is that the BIOS Updates are working