🌐
Blogger
mickitblog.blogspot.com › 2019 › 09 › zero-touch-dell-command-update-for-sccm.html
Mick's IT Blogs: Zero Touch Dell Command Update for SCCM and MDT
September 11, 2019 - This script will run the dcu-cli.exe to both install updates and generate inventory.xml and activitylog.xml files. The script then reads the activitylog.xml file to see if any drivers were installed. If not, the script ends. If there were updates installed, the script creates a rebootcount.log file if it does not exist, that contains the number of reboots that have been performed.
🌐
Reddit
reddit.com › r/sccm › dell command update in task sequence osd
r/SCCM on Reddit: Dell Command Update in Task Sequence OSD
February 23, 2021 -

We're a 90% Dell shop and I'm trying to change our current system of driver installs via TS OSD to using Dell Command Update but it seems any placement I put the step in, it finishes the OSD without a domain join and no software installed. The machine also finishes without drivers installed including network adapter.

Looking at the logs it seems to finish after the last WinPE restart then nothing else.

I'm currently using Dell CU 4.0 with the string below.

"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates

Has anyone been able to successfully implement this to their Dell machines to completely replace driver install for Dell machines at least?

🌐
IT Elites
sccmraj.wordpress.com › 2019 › 02 › 01 › sccm-dell-driver-automation-via-sccm
Dell Driver Automation via SCCM - IT Elites - WordPress.com
February 1, 2019 - We Cover here troubleshooting of SCCM 2012 Step by step and Guide. Posted on February 1, 2019February 1, 2019 by gauravraj33 · 1)We need to create a package with batch file with below statement. 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%
🌐
Dell
dell.com › dell community › thin clients › enterprise client
Cannot run DCU succesfully from a SCCM Task Sequence | DELL Technologies
January 15, 2019 - I am trying to provide a Task Sequence in SCCM so users can run Dell Command Update themselves. ... 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 ...
🌐
Reddit
reddit.com › r/sccm › sccm - good news! -- dell command | update 4.9 - task sequence os deployment firmware updates work!
r/SCCM on Reddit: SCCM - Good News! -- Dell Command | Update 4.9 - Task Sequence OS Deployment Firmware Updates Work!
May 11, 2023 -

Hey there fellow sysadmins. Just figured I could share some good news.

If you've ever worked with DCU-CLI.exe in a SCCM task-sequence, the command line utility for Dell Command Update, you've probably run into the dreaded "Return Code 2", see:

  • https://www.reddit.com/r/SCCM/comments/xfg8of/dell_command_update_return_code_2/

  • https://www.reddit.com/r/sysadmin/comments/9hchg8/dell_command_update_exit_codes/

There was a bug in DCU, that prevents it from running all commands under the NTAUTHORITY\SYSTEM context, which SCCM runs all tasks under. In an already deployed OS, via user-mode they will run fine, but not PXE. This presents an issue if you want to deploy firmware updates during your PXE Deployment.

On May 9th, Dell released Dell Command | Update 4.9. It is now able to run a scan, configure, and apply updates in the SYSTEM context -- woohoo!

We are using PSADT (Powershell App Deployment Toolkit) to run these commands.

Basically, install Dell Command | Update 4.9 on the machine during the task sequence, package is:

  • Dell-Command-Update-Application_30F6M_WIN_4.9.0_A01

You can extract the .MSI file with a command similar to:

(CMD): Dell-Command-Update-Application_30F6M_WIN_4.9.0_A01.EXE /PASSTHROUGH /X /B"C:\Temp\DCU4.9.0" 
(PSADT .ps1 script): Execute-MSI -Action 'Install' -SkipMSIAlreadyInstalledCheck -Path 'DellCommandUpdate.msi' -Parameters '/q'

To be safe, we are still using the 8dot3 format, but at least it finally runs!

$DCUCLI="C:\PROGRA~2\Dell\COMMAN~1\dcu-cli.exe"
& "$DCUCLI" /scan
& "$DCUCLI" /configure -biosPassword=YourPassword
& "$DCUCLI" /applyupdates -reboot=disable

Please note:

  • C:\PROGRA~1 = C:\Program Files\

  • C:\PROGRA~2 = C:\Program Files (x86)\

Hoping this helps someone else out there, and kudos to Dell for finally fixing this bug that has persisted since DCU 4.1!

🌐
CCMCache
ccmcache.wordpress.com › 2022 › 12 › 08 › install-dell-command-update-4-7-uwp-during-configmgr-osd-and-have-it-actually-work
Install Dell Command Update 4.7+ UWP During ConfigMgr OSD (And Have it Actually Work) | CCMCache
February 4, 2023 - Because when setting through SCCM application any setting will fail (with user session is works also as system strangely) ... I’m not sure if I’m understanding your question fully, but this may be due to the fact that dcu-cli.exe in DCU 4.7+ gets installed in Program Files instead of Program Files (x86).
🌐
Reddit
reddit.com › r/sccm › dell command update in task sequence
r/SCCM on Reddit: Dell Command Update in Task Sequence
February 2, 2024 -

Struggling to get DCU to run during the TS. Below is what my setup looks like (took these from someone elses post). Using DCU 5.1.0. I can briefly see the cmd window open during the TS but it quickly closes. What am I doing wrong?

Step name: Dell Driver Install (x64)

Run Command Line:

cmd.exe /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /driverInstall -reboot=disable -outputLog=C:\DellDriversDuringImaging.log

Step name: Restart Computer to OS

Step name: Dell Update Install (x64)

Run Command Line:

cmd.exe /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /ApplyUpdates -updatetype=BIOS,firmware,driver -reboot=disable -outputLog=C:\DellUpdatesDuringTS.log

🌐
Prajwal Desai
prajwaldesai.com › home › sccm › how to deploy dell command update using sccm
How to Deploy Dell Command Update using SCCM » Prajwal Desai
June 9, 2018 - I can also currently not find any 3.0 version of Systems Management like you stated above that would have the DCU_Setup_3_0_0.exe, which in Dells documentation they reference as needing to run…. ... How do we use SCCM to kick off the update check (not deploy the software, but run the command: “C:Program Files (x86)DellCommandUpdatedcu-cli.exe” /reboot
🌐
rsn
rsn.home.blog › 2022 › 01 › 07 › using-dell-commandupdate-without-installing-it-on-your-endpoints
Dell Driver Updates made easy with Command|Update (without installing it on all your endpoints!) – rsn
January 7, 2022 - Download DCU (from here) and install it on a test PC. Next copy the application and service folders (“C:\Program Files (x86)\Dell\CommandUpdate” and “C:\Program Files (x86)\Dell\UpdateService”) to the SCCM source folder.
Find elsewhere
🌐
Blogger
mickitblog.blogspot.com › 2018 › 04 › one-liner-that-updates-dell-application.html
Mick's IT Blogs: One-Liner that Updates the Dell Application Component Updates in the Reference Image
April 3, 2018 - powershell.exe -command "&{If ... 'C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe' -ArgumentList '/policy \\<UNC Path>\Applications.xml' -Wait -PassThru).ExitCode};Exit ($ExitCode)}" Putting this into MDT or SCCM is easy....
🌐
GARYTOWN
garytown.com › dell-command-update-via-task-sequence
Dell Command Update via Task Sequence – GARYTOWN ConfigMgr Blog
February 2, 2019 - Requirements: CCTK Package, (more about that later), Dell Command Update Package 2.4 (or use the step I created that downloads and installs DCU from the internet), Custom Policy.XML files (I’ve included mine in the download), ideally some idea of the Task Sequences I’ve provided for WaaS to understand the reporting steps. Do not use anything newer then 2.4 (at this time), 3.X currently has no CLI support.
🌐
Reddit
reddit.com › r/sccm › dell dcu cli apply updates, error 1, exiting debug
r/SCCM on Reddit: Dell DCU CLI apply updates, error 1, exiting debug
October 8, 2024 -

I'm running a step in my TS to apply updates from Dell's DCU CLI. The scan step finds 12 updates, the apply step downloads and successfully installs the 12 updates, then exits with error code 1. The reboot switch is set to disable for the syntax below.

I notice DCU doesn't download all applicable drivers, so it looks like I'll continue using MDM to download driver packages, and DCU to supplement MDM. But I'd still like DCU to run properly.

Edit: mentioning the output log file from DCU cli, no errors, the log ends showing the 12 updates were installed successfully. Completed with return code: 1.

Failure at the end of the log

🌐
Reddit
reddit.com › r/sccm › bios updates using dell cctk.
r/SCCM on Reddit: BIOS Updates using Dell CCTK.
January 16, 2024 -

Having an issue updating BIOS versions on Dell machines. I have a TS setup in SCCM to suspend bitlocker, disable the BIOS password, run the update, then enable BIOS password again. Pretty straight forward, so I thought. When I run the TS, it fails and the log that written states: Error: Unsupported BIOS image. Exit Code = 10 (Payload Failure).

However, if I run the task sequence commands manually from command prompt, it works. I copy the CCTK folder locally, and copy the BIOS update locally, then everything updates as expected. What am I missing?

🌐
Reddit
reddit.com › r/sccm › dcu on large enterprise sccm networks -bandwidth concerns-
r/SCCM on Reddit: DCU on Large Enterprise SCCM Networks -Bandwidth Concerns-
July 1, 2024 -

I work on a network that has around 10k devices managed in SCCM. We want to roll out Dell Command Update, but networking and security departments are concerned about bandwidth usage when DCU pulls updates from the internet. I suggested creating multiple configurations of the application with separate schedules so all the devices aren't attempting to update at once. But I wanted to know if anyone has come up with a better strategy for this. Seeing as how we have so many devices that we manage, I'm going to need to find a sweet spot for bandwidth that security and network departments are happy with. I've noticed BIOS exe files (the main reason we are wanting to utilize DCU) can be anywhere between 20-50 MB, so I wanted to find out what solutions and strategies others have come up with to avoid bandwidth issues with DCU on larger enterprise networks. Do you create several collections and several software configurations? How many devices do you include in each collection for production rings? Or do you not experience any bandwidth issues at all? OR, is there a better way to go about this entirely, other than using Dell Command Update? I appreciate any input. Thanks.

Update with my solution:

Here's the script I'm going to use:

$computertype = (Get-CimInstance -ClassName Win32_SystemEnclosure -Property ChassisTypes).ChassisTypes
$week = @('First','Third','Fourth') | Get-Random
$day = @('Mon','Tue','Wed','Thur','Fri') | Get-Random
if ($computertype -eq 3)
{
$hh = @(0,1,2,3,4,5,6,17,18,19,20,21,22,23 | ForEach-Object { $_.ToString("D2")} | Get-Random
}
Else
{
$hh = @(7, 8, 9, 10, 11, 12, 13, 14, 15, 16) | ForEach-Object { $_.ToString("D2")} | Get-Random
}
$mm = @(0,15,30,45) | ForEach-Object { $_.ToString("D2")} | Get-Random
$schedule = "$week,$day,$hh`:$mm"
$arg = "/configure -scheduleMonthly $schedule"
Start-Process -FilePath "C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" -ArgumentList $arg -Wait

This script will split desktops and laptops on different hours of the day. Desktops on average down hours. Laptops on average uptime hours. I avoided the second week of the month since dell releases driver updates on the second Tuesday of each month. I figure one deployment for the software install itself. one deployment for configuration with Production schedule. One Test schedule for test devices and this schedule will be Wednesday, Thursday, Friday of the second week of the month to test with the latest updates. Then one deployment that forces updates to run for any time there's a major security update that needs to be pushed out as soon as possible.

That's the plan so far. I appreciate all the input. I feel like this my solution is going to ultimately be less overhead than both on-prem repo and deploying as a package with multiple collections. That's kinda what I'm going for. Let me know your feedback on anything you might see going wrong here though. I've made mistakes before and I own them. so there's no such thing as bad feedback to me. Thanks again!

🌐
Dell
dell.com › dell community › software › endpoint management
dcu-cli /configure - error code 2 | DELL Technologies
April 19, 2023 - (doesn't matter what command) the dcu-cli returns error code 2. This is due to the fact that SCCM runs these installations using the SYSTEM account in non-interactive mode.
🌐
Reddit
reddit.com › r/sccm › dcu-cli.exe - do not reboot on bios update
r/SCCM on Reddit: dcu-cli.exe - Do Not Reboot On BIOS Update
February 11, 2025 -

We’re using dcu-cli.exe with the “-reboot=disable” parameter which works fine except when a bios update is involved. When it is, that parameter is ignored and a reboot is initiated. Anyone find a way to disable this forced reboot? Asking as we’d like SCCM’s Restart Notifications to better gracefully handle the restart. Thanks all.

Top answer
1 of 3
7
I would consider running this setting first dcu-cli /configure -forceRestart=disable Also, don't enable bitlocker UNTIL After you've updated the BIOS From the doc If BitLocker is enabled, the following applies: When -autoSuspendBitLocker is set to enable, and a BIOS update is available, the BIOS update is installed while the BitLocker is suspended during the installation process. After the BIOS and other updates are installed, the system will automatically reboot to complete the BIOS update, and the BitLocker is reenabled. The following warning message is displayed before applying the updates: Warning: If the BIOS update is selected, and the BitLocker is enabled on this system, the BitLocker is suspended temporarily during the installation time to effectively apply the BIOS update. After the BIOS and other updates are applied, the system automatically reboots to complete the BIOS update, and the BitLocker is reenabled. When -autoSuspendBitLocker is set to disable, the CLI removes the BIOS updates from the applicable updates and installs the rest of the updates. The following warning message is displayed: Warning: One or more available updates will be skipped, as installing these updates may cause the system to become locked by BitLocker. To avoid this situation, enable BitLocker suspension and run again to install these updates. Other Options Do the BIOS Update separate from DCU. I've written a handy PowerShell script to help autoamate this. garytown/hardware/Dell/CommandUpdate/EMPS/Dell-EMPS.ps1 at master · gwblok/garytown Find the function: Get-DellBIOSUpdates This will automatically find the latest bios and give you options to download / flash.
2 of 3
3
If you enforce bitlocker policy via Intune, disabling the reboot after staging of a bios update will lead to machines going into recovery mode. We've seen protection re-enabled in as little as 10 minutes. To avoid this we wrap execution of DCU with a modified PSADT package that runs suspend-bitlocker right before the reboot command in its show-rebootnotification function.