This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
6
Dell command update during autopilot pre-provisioning
Post Flair (click to view more posts with a particular flair)
Post Body
anyone doing Dell command update during autopilot pre-provisioning? any tips to achieve success?
my script is install dell command update app then run check and install update but however i got below error. i don't have bios password.
script to install dell command update and run check and install update:
$PackageName = "Dell-Command-Update"
Start-Transcript -Path "$env:ProgramData\Microsoft\IntuneManagementExtension\Logs\$PackageName-install.log" -Force
try{
# Search for UWP App edition and undinstall
$programName = "dcu-cli.exe"
$programPath = "C:\Program Files\Dell\CommandUpdate"
if ((Test-Path "$programPath\$programName")) {
$DellCUPackage = Get-Package "Dell Command*" -ErrorAction SilentlyContinue
if($DellCUPackage){$DellCUPackage | Uninstall-Package -Force}
}
# install EXE edition
$programName = "dcu-cli.exe"
$programPath = "C:\Program Files (x86)\Dell\CommandUpdate"
if (!(Test-Path "$programPath\$programName")) {Start-Process "Dell-Command-Update-Application_4R78G_WIN_5.2.0_A00.EXE" -ArgumentList "/s" -Wait}
}catch{
Write-Error $_
}
Stop-Transcript
Start-Sleep -Seconds 60
start-service -name DellClientManagementService
Start-Sleep -Seconds 60
$DCU_folder = "C:\Program Files (x86)\Dell\CommandUpdate"
$DCU_report = "C:\Temp\Dell_report\update.log"
$DCU_exe = "$DCU_folder\dcu-cli.exe"
$DCU_category = "bios,firmware,driver,application,others" # bios,firmware,driver,application,others
try{
Start-Process $DCU_exe -ArgumentList "/applyUpdates -silent -reboot=disable -updateType=$DCU_category -outputlog=$DCU_report -autoSuspendBitLocker=enable" -Wait
Write-Output "Installation completed"
}catch{
Write-Error $_.Exception
}
error log:
[2024-03-12 01:32:37] : The computer manufacturer is 'Dell'
[2024-03-12 01:32:37] : Checking for updates...
[2024-03-12 01:32:37] : Checking for application component updates...
[2024-03-12 01:32:47] : Scanning system devices...
[2024-03-12 01:33:16] : Determining available updates...
[2024-03-12 01:33:45] : The scan result is VALID_RESULT
[2024-03-12 01:33:45] : SYSTEM_COMPONENTS_NOTFOUND is flagged in the scan results
[2024-03-12 01:33:45] : Power adapter Status [Online]
[2024-03-12 01:33:45] : 14 updates were selected. Download Size: 2.5 GB
[2024-03-12 01:33:45] : [1] 1CM7K, Intel Rapid Storage Technology Driver, 17.11.3.1010
[2024-03-12 01:33:45] : [2] 7FHFF, Intel Management Engine Components Installer, 2345.5.42.0
[2024-03-12 01:33:45] : [3] CGHTN, Intel Dynamic Tuning Driver, 8.7.10600.20700
[2024-03-12 01:33:45] : [4] CYV0Y, STMicroelectronics Free Fall Data Protection Driver, 4.10.103
[2024-03-12 01:33:45] : [5] DF8CW, Dell Security Advisory Update - DSA-2021-088, 2.1.0
[2024-03-12 01:33:45] : [6] KDGRR, Realtek USB Audio DCH Driver, 6.3.9600.2299
[2024-03-12 01:33:45] : [7] RC7P8, Realtek Memory Card Reader Driver, 10.0.18362.21317
[2024-03-12 01:33:45] : [8] W2GGX, Dell Precision 3550 and Latitude 5410/5510 System BIOS, 1.25.0
[2024-03-12 01:33:45] : [9] P49XN, Intel HD/UHD/Iris/Iris Pro/Iris Plus Graphics Driver, 31.0.101.2115
[2024-03-12 01:33:45] : [10] 0K677, Intel PCIe Ethernet Controller Driver, 25.5.0.6
[2024-03-12 01:33:45] : [11] 9YVNH, Realtek High Definition Audio Driver, 6.0.9597.1
[2024-03-12 01:33:45] : [12] 8CHRT, Dell ControlVault3 Driver and Firmware, 5.14.10.10
[2024-03-12 01:33:45] : [13] PGNRR, Intel AX411/AX211/AX210/AX201/AX200/9560/9462/9260/7265/3165 Bluetooth UWD Driver, 22.250.0.2
[2024-03-12 01:33:45] : [14] YK00J, Realtek USB GBE Ethernet Controller Driver, 1153.10.20.1104
[2024-03-12 01:33:45] : Warning: The power adapter and any peripheral devices such as Dell type-C docks must not be disconnected from the system while installing BIOS and/or firmware updates. Disconnecting such devices during installation may lead to system instability or unusable peripheral devices.
[2024-03-12 01:33:46] : Scanning system devices...
[2024-03-12 01:33:47] : Downloading updates (0 of 0), 0 bytes of 2.5 GB transferred (0.00%)...
[2024-03-12 01:33:58] : An unrecoverable error occurred while installing updates. The operation was aborted.
[2024-03-12 01:33:58] : One or more errors occurred.
System.AggregateException: One or more errors occurred. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Object reference not set to an instance of an object.
at UpdateClient.UpdateClient.GetOperationResult[TResult](OperationProgress operationProgress)
at UpdateClient.UpdateClient.<ExecuteOperation>d__33`1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Dell.DCU.CLI.Operations.UpdateCliModel.<>c__DisplayClass82_0.<DownloadAndInstallUpdatesTask>b__1(UpdateClient T)
at Dell.App.Core.ServiceAccessor.InstanceHandler.<>c__DisplayClass11_0.<ExecuteClientTask>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dell.App.Core.ServiceAccessor.InstanceHandler.<ExecuteClientTask>d__11.MoveNext()
---> (Inner Exception #0) System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Object reference not set to an instance of an object. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.NullReferenceException: Object reference not set to an instance of an object.
at Configuration.ConfigHandler.Get[T](Func`1 getDefaultValue, String propertyName, String callerName)
at UserActivityMonitor.WindowsUpdate.WindowsUpdateRebootRequired.IsWindowsUpdateRebootRequired(String updateId)
at UserActivityMonitor.WindowsUpdate.WindowsUpdateMonitor.IsInstallRunning(DateTime serviceStartTime)
at UserActivityMonitor.UserActivity.IsUserActivityInProgress(DownloadResultCode& extensibleDownloadResultCode, Boolean isForceUpdate)
at Update.Operations.UpdateOperation.Download(List`1 packages, Dictionary`2 extendedParameters, CancellationToken cancellationToken)
at Update.Operations.ApplyUpdateOperation.Main(CancellationToken cancellationToken)
at Update.Operations.Operation.<>c__DisplayClass40_0.<.ctor>b__0()
...).<---
[2024-03-12 01:33:59] : Apply updates action ended due to an unknown error..
[2024-03-12 01:33:59] : Execution completed.
[2024-03-12 01:33:59] : The program exited with return code: 2
[2024-03-12 01:33:59] : State monitoring instance total elapsed time = 00:01:23.4403079, Execution time = 193mS, Overhead = 0.232149311136471%
[2024-03-12 01:33:59] : State monitoring disposed for application domain dcu-cli.exe
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 8 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Intune/comm...