MSEndpointMgr / ModernDriverManagement

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

Task sequence failed to download bios and drivers on new Dell modells. #243

Open kamikambiz opened 1 year ago

kamikambiz commented 1 year ago

we are trying to deploy Dell modells Latitude 5540, 5440, 5340 but both bios and drivers are not downloading. Others Dell modells in our environment works fine such as Dell Latitude 5420. Any idea what that can be?

The task sequence execution engine failed executing the action (Apply Drivers) in the group (Dell Driverpackages) with the error code 2147943568 Action output: ... orts = 80,443, CRL = false Setting Server Certificates. Setting Authenticator. Setting Media Certificate. Sending StatusMessage Setting the authenticator. CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SCCMPRO01.rmv-ad.se:80 CCM_POST /ccm_system/request Not in SSL. Request was successful. Running PowerShell script: 'Invoke-CMApplyDriverPackage.ps1'(PkgID: P0100153) with execution policy: 'Bypass' Will run PowerShell script under SYSTEM account Filesystem::File::Exists(sPowerShellPath.c_str()) == true, HRESULT=80070490 (K:\dbs\sh\cmgm\1125_114522\cmd\1n\src\client\OsDeployment\RunPSScript\main.cpp,394) ExecutePowerShellScript(sScriptName, sParameters, sPackageID, sExecutionPolicy, sOutputVariableName, dwPSRunExitCode), HRESULT=80070490 (K:\dbs\sh\cmgm\1125_114522\cmd\1n\src\client\OsDeployment\RunPSScript\main.cpp,944) PowerShell.exe does not exist at 'X:\windows\system32\windowspowershell\v1.0\powershell.exe' Run PowerShell script failed to run, hr=0x80070490. The operating system reported error 2147943568: Element not found.


The task sequence execution engine failed executing the action (Download Bios Package) in the group (Modern BIOS Management) with the error code 2147943568 Action output: ... rts = 80,443, CRL = false Setting Server Certificates. Setting Authenticator. Setting Media Certificate. Sending StatusMessage Setting the authenticator. CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SCCMPRO01.rmv-ad.se:80 CCM_POST /ccm_system/request Not in SSL. Request was successful. Running PowerShell script: 'Invoke-CMDownloadBIOSPackage.ps1'(PkgID: P0100174) with execution policy: 'Bypass' Will run PowerShell script under SYSTEM account Filesystem::File::Exists(sPowerShellPath.c_str()) == true, HRESULT=80070490 (K:\dbs\sh\cmgm\1125_114522\cmd\1n\src\client\OsDeployment\RunPSScript\main.cpp,394) ExecutePowerShellScript(sScriptName, sParameters, sPackageID, sExecutionPolicy, sOutputVariableName, dwPSRunExitCode), HRESULT=80070490 (K:\dbs\sh\cmgm\1125_114522\cmd\1n\src\client\OsDeployment\RunPSScript\main.cpp,944) PowerShell.exe does not exist at 'X:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe' Run PowerShell script failed to run, hr=0x80070490. The operating system reported error 2147943568: Element not found.

HALnotSAFE commented 1 year ago

Can you share what your task sequence looks like?

russr123 commented 11 months ago

make sure Modern BIOS Management is set to run AFTER the sccm client is installed, if its set before you will get this error

HALnotSAFE commented 11 months ago

Checked that and it still had the same error. I rewrote the whole script to fix it.

On Tue, Oct 10, 2023 at 9:41 AM RussR @.***> wrote:

make sure Modern BIOS Management is set to run AFTER the sccm client is installed, if its set before you will get this error

— Reply to this email directly, view it on GitHub https://github.com/MSEndpointMgr/ModernDriverManagement/issues/243#issuecomment-1755454589, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6IXXJW4F5YFGC6K42BYPCTX6VGBXAVCNFSM6AAAAAAY3JIXXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVGQ2TINJYHE . You are receiving this because you commented.Message ID: @.***>