Unsolved
This post is more than 5 years old
1 Rookie
•
26 Posts
0
3011
January 15th, 2019 04:00
Cannot run DCU succesfully from a SCCM Task Sequence
I am trying to provide a Task Sequence in SCCM so users can run Dell Command Update themselves.
I have created a short script to do so:
start /wait "" "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /import /policy C:\ProgramData\Dell\CommandUpdate\MySettings.xml
if %ERRORLEVEL% == 0 goto RUNDCU
else goto QUITTASK
:RUNDCU
"C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /log C:\ProgramData\Dell\DCU.log /silent
:QUITTASK
exit /b %ERRORLEVEL%
the script works fine when i run it manually and DCU installs updates but when i run it from SCCM it errors out:
Diagnostic
2019-01-15T12:51:53.8442829+01:00
Enter function
2
True
Usage: invcol [OPTION]... Options: -? for help [-outc=
] output xml file [-logc=
] error log xml file [-lang=
] [-enc=
] UTF-8 or UTF-16 [-ver] Displays version of all inventory modules [-type=
] hotplug or other type [-cfg=
] IC config file [-tc=1 to 10] Number of threads to be spawned. [-tp=1 to 3] 1 = low priority or 2 = normal priority or 3 = high priority [-list] Extract the configuration file [-sic -outc=
] output xml file for Static Inventory Collector
Normal
2019-01-15T12:51:53.8662182+01:00
CLI: Error: Check for updates ended. (System Scan failed)
Diagnostic
2019-01-15T12:51:53.8851674+01:00
Scan Completed: Exited Normally:True with exit code: 2
No Events found!



gwblok
3 Posts
0
January 31st, 2019 20:00
Do you have an internet proxy that blocks traffic running under SYSTEM context? When you test your script, are you using SYSTEM context or User Context?
I've had issues running DCU-CLI in a TS, but have been able to overcome it with "interesting" command lines. I have not seen your particular error though.
Drakey2000
1 Message
0
September 6th, 2019 13:00
I've got the same issue, and trouble finding an answer. The same script I'm using in the TS works in a full OS.
If an answer has been found, it would be great if it was shared
iworkinit
1 Rookie
•
7 Posts
0
October 16th, 2019 14:00
I'm running into the same issue
Have tried tweaking the command line and script every which way
Have left it running as SYSTEM as well as had DCU-CLI.exe run as domain admin
Have tried v2.4.0, 2.3.1, and 2.3.0 yet the issue persists
Only happens in a task sequence
Got any answers Dell?