MDT 2013 – Dell Command Update Integration
When installing your new computer, it can be difficult to keep everything updated. That is why we try to automate as much as possible.
I will show you the steps to automate BIOS, Firmware and Driver updates for Dell computers using the Dell Command Update program.
First things first, you need to have a working Task Sequence that doesn’t produce errors.
Step 1
Since all of this relies on the Dell Command Update application, we’ll need to download and prepare it for use.
Download Dell Command Update for Windows Universal from the link below.
Link: https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=cj0g9
After downloading the file, make sure you “Unblock” it in the file properties.
Step 2
Import in Dell Command Update application. You should be well versed on how this is accomplished so I’ll just provide the needed information below.
- Application Name: Dell Command Update for Windows Universal
- Command: Dell-Command-Update-Windows-Universal-Application_CJ0G9_WIN_4.7.1_A00.EXE /s
Step 3
We need to build the structure needed to allow only Dell computers to run these commands.
We will need to limit these commands running on Dell computers. This will entail building a group structure under “State Restore” in your chosen Task Sequence.
For simplicity’s sake we will structure it like this. Fee free to make it however you prefer.
State Restore/Custom Tasks OS/Dell
The group “Dell” will need some logic added.
- Select the group named Dell.
- Open the Options tab on the right.
- Click Add, then If statement.
- Select All conditions and click OK.
- In the big white box, select to highlight “If all conditions are true“.
- Click Add, then Task Sequence Variable.
- Set Variable to: MAKE
- Set Condition to: equals
- Set Value to: Dell Inc.
- Make sure there’s a period (.) at the end of the Value “Dell Inc.” then click OK.
- It should now look like this.
Your group structure is now setup. Onto the next step!
Step 4
Here we setup the install for Dell Command Update, then the steps to update the BIOS, Firmware, Drivers and associated applications.
This is what we are working towards, imaged below.
Application Install
- Select the group Dell then click Add, General, Install Application.
- Name this new application Install Dell Command Update.
- Select Install a single application and click Browse.
- Select the app Dell Command Update 4.4.0 and click OK.
BIOS and Firmware
- Select the group Dell then click Add then New Group and call it BIOS and Firmware.
- Select the group BIOS and Firmware then click Add, General, Run Command Line.
- Name: DCU – Scan for BIOS and Firmware Updates
- Command Line:
"%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=bios,firmware
- Click the Option tab and set the success codes: 0 1 500 3010
- Select the group BIOS and Firmware then click Add, General, Run Command Line.
- Name: DCU – Install BIOS and Firmware Updates
- Command Line:
"%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -autoSuspendBitLocker=enable -updateType=bios,firmware
- Click the Option tab and set the success codes: 0 1 500 3010
- Select the group BIOS and Firmware then click Add, General, Restart computer.
- Click the Option tab.
- Click Add, then If statement.
- Select All conditions and click OK.
- In the big white box, select to highlight “If all conditions are true“.
- Click Add, then Task Sequence Variable.
- Set Variable to: _SMSTSLastActionRetCode
- Set Condition to: not equals
- Set Value to: 500
Drivers and Applications
- Select the group Dell then click Add then New Group and call it Drivers and Applications.
- Select the group Drivers and Applications then click Add, General, Run Command Line.
- Name: DCU – Scan for Driver and Application Updates
- Command Line:
"%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=driver,application
- Click the Option tab and set the success codes: 0 1 500 3010
- Select the group BIOS and Firmware then click Add, General, Run Command Line.
- Name: DCU – Install Driver and Application Updates
- Command Line:
"%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -updateType=driver,application
- Click the Option tab and set the success codes: 0 1 500 3010
- Select the group Drivers and Applications then click Add, General, Restart computer.
- Click the Option tab.
- Click Add, then If statement.
- Select All conditions and click OK.
- In the big white box, select to highlight “If all conditions are true“.
- Click Add, then Task Sequence Variable.
- Set Variable to: _SMSTSLastActionRetCode
- Set Condition to: not equals
- Set Value to: 500
Schedule Monthly Updates
(optional)
- Select the group Dell then click Add, General, Run Command Line.
- Name: DCU – Schedule Monthly Updates
- Command Line:
"%ProgramFiles%\Dell\CommandUpdate\dcu-cli.exe" /configure -scheduleMonthly=28,00:45
- Click the Option tab and set the success codes: 0 1 500 3010
Well, that’s it. Hopefully this information helps keep you a little bit more updated, at least when it comes to Dell hardware, than you were before.