Dell Command Update includes a command-line utility, dcu-cli.exe, which you can run from a script. You can use switches to specify what you want it to do.
Full info here:
https://www.dell.com/support/manuals/en-us/command-update/dellcommandupdate_rg/dell-command-|-update-command-line-interface?guid=guid-c8d5aee8-5523-4d55-a421-1781d3da6f08&lang=en-us https://www.dell.com/support/manuals/en-us/command-update/dellcommandupdate_rg/dell-command-|-update-command-line-interface?guid=guid-c8d5aee8-5523-4d55-a421-1781d3da6f08&lang=en-us
Answer from mattbartle on community.spiceworks.comAny 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
Worklet - Dell Command Update with Output Showing What Updates Installed
Domain wide driver update with Dell Command update.
Dell command update centrally
Dell command update config.
I do it through dcu-cli. Dell's documentation on the CLI is good but what they don't tell you is that in 4.6 setting the restart option and automatic updates are cannot be done in one go. You have to call it twice because it tries to set the child attributes before the parent attributes.
I deploy as a Win32 app and key off the registry values for each setting to determine whether or not it's been configured.
More on reddit.comVideos
Dell Command Update includes a command-line utility, dcu-cli.exe, which you can run from a script. You can use switches to specify what you want it to do.
Full info here:
https://www.dell.com/support/manuals/en-us/command-update/dellcommandupdate_rg/dell-command-|-update-command-line-interface?guid=guid-c8d5aee8-5523-4d55-a421-1781d3da6f08&lang=en-us https://www.dell.com/support/manuals/en-us/command-update/dellcommandupdate_rg/dell-command-|-update-command-line-interface?guid=guid-c8d5aee8-5523-4d55-a421-1781d3da6f08&lang=en-us
My issue, company has dozens of laptops across multiple sites. we are having an issue with Zoom calls that seem to be resolved by updating sound drivers. All the laptops have dell command so I believe that would be the best way to update them, would be to use a batch script, to force dell command update, run. Having not done this before hoping for feedback, is there anything I should be aware of, or maybe haven’t thought of.
Thanks for your help
Here’s an example batch file you could have the clients run:
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /configure -silent -autoSuspendBitLocker=enable -userConsent=disable -scheduleManual -biosPassword="YOUR_BIOS_PWD"
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /scan -silent -outputLog=C:\Dell-CU-scan.log
"C:\Program Files\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -silent -reboot=enable -outputLog=C:\Dell-CU-apply.log
Hello all,
Is there a way centrally push dell command update on all win 10 machines, rather asking all users to check for updates and perform themselves?
I know people are talking about sccm but we are intune based organisation so any sort of command might work?
Thanks