I am trying to create a standardized recipe across hardware vendors in my environment. I use dism with /image and /apply-driver and /recurse no problem in my bare metal task sequences.
I am trying to use the same recipe to update drivers on the machines running using a different task sequence.
When I use /online I get the following error coming back:
The task sequence execution engine successfully completed the action (Drivers: Lenovo ThinkPad T14 Gen4 - 21HD, 21HE) in the group (Lenovo) with exit code 50 Action output: ... lved source to 'C:_SMSTaskSequence\Packages\DH1004F1' Command line for extension .exe is "%1" %* Set command line: Run command line Working dir 'C:_SMSTaskSequence\Packages\DH1004F1' Executing command line: Run command line with options (0, 4)Deployment Image Servicing and Management tool Version: 10.0.19041.3636
Image Version: 10.0.19045.4412
Process completed with exit code 50
Error: 50
This command can only be used with an offline image.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log Command line is being logged ('OSDDoNotLogCommand' is not set to 'True') Command line DISM.exe /online /Add-Driver /Driver:.\ /Recurse returned 50 ReleaseSource() for C:_SMSTaskSequence\Packages\DH1004F1. reference count1 for the source C:_SMSTaskSequence\Packages\DH1004F1 before releasing Released the resolved source C:_SMSTaskSequence\Packages\DH1004F1 敄汰祯敭瑮䤠慭敧匠牥楶楣杮愠摮䴠湡条浥湥⁴潴汯敖獲潩㩮ㄠ⸰⸰㤱㐰⸱㘳㘳浉条�.
Can I use DISM with /online at all? Or is this error actually due to something else?