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
I've noticed my DCU isn't pulling down BIOS updates, only driver updates. My xml settings include drivers, firmware, and BIOS. The Dell reference guide for DCU states if no options are used with scan and apply updates, the existing application settings will be used. The existing settings should be those applied by the imported xml. I verified once in Windows that the settings are imported. Why are the BIOS updates not pulling down?
In my TS I have the following steps: Install DCU Import settings (xml) Scan Apply updates
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"
Had this issue with deployment with Dell command update. I use PDQ Deploy. After much online reading found that a bach file is easyer to work with.
my code looks like this
cd C:\Program Files\Dell\CommandUpdate
dcu-cli /version
dcu-cli /scan
dcu-cli /applyUpdates -encryptedPasswordFile="???" -encryptionKey="???"
Also not sure if you are trying to run the scan and the apply in the same code. I found that it is more stable to run them in diffrent steps.
hope this helps
You have to provide the whole path. Then it will work...
Start-Process "dcu-cli.exe <<<< here whole path of the dcu-cli application>>>...
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
I’m trying to get Dell Command Update to install and download all available driver updates as part of the task sequence. The log file reports that the installation of the app fails but in reality, the install completes successfully. The next step where the BAT file is supposed to run and install the updates never seems to run.
I’m using the latest version Dell Command Update 4.8.0
I’m installing Dell Command Update using a command line task in TS:
cmd.exe /c %DEPLOYROOT%\Packages\DellCommand.exe /s
With Success codes: 0 1 500 3010
**INSTALL TASK:**This somewhat seems to work as it does successfully install the application but the log file reports that this step fails.
To get Dell Command Update to scan the system and install the updates I create a BAT file with this script:
@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 -outputLog=C:\dell\logs\applyUpdates.log
-
This script works when run manually but does not seem to run at all in the TS; I'm guessing since MDT thinks the installation of the application failed it does not continue.
RUN BATCH SCRIPT TASK
The error log at the end of deployment is this:
It says "The system cannot file the specified file" But have the DellCommand.exe in the DeploymentShare\Packages\DellCommand.exe location
Any ideas?
Thank you!
The latest update to the Dell's Update application has converted it into some sort of a windowsapp rather than a normal application. With this change, the command line version has disappeared.
Anyone know if theres a downloadable version of the command line tools? I had some nice scripts set up to pull in the lists of pending patches for machines. This has now broken and I can't see any other way of achieving the same result.