Videos
Hi Everyone,
We’re using Dell Command Update to push our Drivers and BIOS updates.
Instead of waiting for the updating to automatically trigger, When I used the /ApplyUpdates option it only really installed a handful of what is available in my catalogue. Skipping among many things the BIOS update.
I was wondering if there is an option to just install everything available in the catalogue?
Thanks everyone!
Any advise on this ?
I run this as an application towards the end of the TS then reboot with MDT and run it again followed by another reboot before finishing up the whole TS.
@echo off
TITLE Running DELL Command Update...
REM Checks for updated DELL Drivers using DELL Command Update CLI
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /configure -silent -autoSuspendBitLocker=enable -userConsent=disable
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /scan -outputLog=C:\dell\logs\scan.log
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -outputLog=C:\dell\logs\applyUpdates.log
It's pretty self explanatory but it configures it first, does a scan, then applies the updates and disables reboot so that MDT can do it instead. I run this against DCU 4.1.
I don't recommend silencing the Apply Updates stage (it isn't in that script above) because sometimes it can take a little while and not being able to see what it's doing can be nerve racking.
Update: Not sure if this was recent but you must now remove the (x86) out of the Program Files path (maybe they made the app x64 now?)
Here's a script I made that works really well. Of course you can tailor it for a GPO but standalone, it works wonders.
The gist is.. it will check if Dell Command Update is installed and if it is, it will run it and install all available updates. If it's not installed, it will look for the Dell Command Update msi and silently install it and then run it silently. If it cannot find the msi automatically, it will prompt you with an explorer GUI to browse to the .msi and silently install/run it.
Esentially.. a single click to do all Dell updates. It's also turning off Dell automatic update (handy for enterprise/small business) but you can delete/comment that out. In order to get the .msi you can run the Dell Command Update tool and in the middle of it running, you can find it in the Windows temp directory and copy it out of their and put it on a network share or USB stick for mass deployment.
@echo off
cls
tasklist | find /i "DellCommandUpdate.exe" && echo Closing existing Dell Command Update && taskkill /im DellCommandUpdate.exe /F
SET file=S:\Downloads\DellCommandUpdate.msi
if exist "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" goto:runDellUpdater
if exist "%file%" goto:installDellUpdater
echo Please navigate to the DellCommandUpdate.msi file
set dialog="about:<input type=file id=FILE><script>FILE.click();new ActiveXObject
set dialog=%dialog%('Scripting.FileSystemObject').GetStandardStream(1).WriteLine(FILE.value);
set dialog=%dialog%close();resizeTo(0,0);</script>"
for /f "tokens=* delims=" %%p in ('mshta.exe %dialog%') do set "file=%%p"
:installDellUpdater
echo Installing Dell Command Update app
"%file%" /quiet
:runDellUpdater
echo Disabling Dell automatic updates
REG ADD "HKLM\SOFTWARE\Dell\UpdateService\Clients\CommandUpdate\Preferences\Settings\Schedule" /v "ScheduleMode" /t REG_SZ /d "ManualUpdates" /f
echo Running the Dell Command Update app
"C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /ApplyUpdates
pause
DELL Command Update version: Dell-Command-Update-Application-for-Windows-10_GRVPK_WIN_4.3.0_A00.EXE
Dell Command | Update Version 4.x Reference Guide
Steps:
- Open interactive command line interface on remote workstation
- Execute dcu-cli.exe /applyUpdates -updateType=bios,firmware,driver -autoSuspendBitLocker=enable -outputLog=C:\Temp\scanOutput.log
- Command fails with return code 500 (see log output below)
I’ve omitted all commands except /applyUpdates -updateType, but I am still getting the same result.
I can ping downloads.dell.com and dellupdater.dell.com.
I’ve attempted this on different workstations over several days.
Any help would be appreciated.
[2021-08-16 11:40:42] : The computer manufacturer is ‘Dell’
[2021-08-16 11:40:42] : Checking for updates…
[2021-08-16 11:40:43] : Checking for application component updates…
[2021-08-16 11:40:45] : Determining available updates…
[2021-08-16 11:40:45] : The scan result is DOWNLOAD_ERROR
[2021-08-16 11:40:45] : INDEX_CATALOG_FAILED_DOWNLOAD is flagged in the scan results
[2021-08-16 11:40:45] : The catalog CatalogIndexPC.cab failed to provide any result
[2021-08-16 11:40:45] : The service provided this message 'Catalog download failed [https://downloads.dell.com/catalog/CatalogIndexPC.cab] ’
[2021-08-16 11:40:45] : The service provided this message 'Catalog download failed [https://dellupdater.dell.com/non_du/ClientService/Catalog/CatalogIndexPC.cab] ’
[2021-08-16 11:40:46] : Execution completed.
[2021-08-16 11:40:46] : The program exited with return code: 500
[2021-08-16 11:40:46] : State monitoring instance total elapsed time = 00:00:04.8709729, Execution time = 9mS, Overhead = 0.194844032082379%
[2021-08-16 11:40:46] : State monitoring disposed for application domain dcu-cli.exe
This is the command I run. I just ran it on some of my computers are it works. Also using the current version. Hope this helps
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=enable -updateType=driver,application -outputLog="c:\temp\DellCommandUpdate%dt%.log"
I figured it out: “C:\Program Files\Dell\CommandUpdate\dcu-cli.exe” /ApplyUpdates -reboot=enable
If you dont want to restart the computer: “C:\Program Files\Dell\CommandUpdate\dcu-cli.exe” /ApplyUpdates -reboot=disable
Hi All,
Has anyone ever got Dell Command Update to run a check on what drivers/firmwares are out of date and update them on a Dell machine using Dell Command via CLI? I can’t find how to use it.
Kind regards,