My company has over 600 computers and I would like to push version 5.0.0 to those that aren't there yet.
I'm trying to manage BIOS & driver updates for Dell devices via Intune. I have packaged the latest DCU apps, settings are configured as per https://evil365.com/dell/UpdateDriversBIOS-DellCommandUpdate/ .
Everything is working fine only when the latest DCU universal app packaged and deployed to the devices. If the device is installed with the older version of DCU, the settings are not getting applied. I assume this is because I used the ADMX from the latest DCU app.
Is there a way to uninstall old app as part of the new app deployment? I have a PR script in place to uninstall DCU, but it could conflict with the installation as it'll detect the displayName and remove the app.
this seems a bit excessive. Completely fresh install i didnt update from an old version or anything
Dell Command Update is one the most stubborn programs I've ever encountered. When it works, it's great. When there is a slight problem, it causes wrinkles and hair loss.
I have to delete it so I can install it again and it just. Won't. Budge!
I've tried 'add or remove' in settings and control panel, tried ccleaner's removal process, used CMD lines, I directly deleted its folders from from C:/, even went into regedit to delete it from the registry...and it's STILL there! Repairs don't work and neither do new installs (it detects the same instance on the computer and halts).
Does anyone know how to get the blasted program off a computer once and for all?
Windows 10, office environment.
Hi everyone
We deploy "Dell Command | Update" on all our endpoints. Current version is 5.4.0. Recently our users started seeing this popup even though scheduled/automatic updates are disabled.
[HKLM\SOFTWARE\Dell\UpdateService\Clients\CommandUpdate\Preferences\Settings\Schedule]"ScheduleMode"="ManualUpdates"
Does anybody know how we can hide this popup? Thank you!
I'm kind of in Dell Command Update hell. I've configured command update via gpo to automatically do the updates. Half seem to update, half don't. GPO is applied on all.
The reasons seem to vary: on some the dell service is stopped and disabled. If you re-enable it, it seems to work for awhile but then shuts down again. Others I've used the cmd update GUI to manually check for any update and it shows none yet on the Dell website, there's a BIOS update.
Is anyone actually using this tool to manage driver / bios updates on Dell systems? I've got about 100 laptops so it isn't as though I can just run around and manually update them all.
All of Dell's documentation says that uninstalling Dell Optimizer is as simple as "DellOptimizer.exe /remove" but whenever I try to run that I get the error that DellOptimizer.exe is not recognized as an internal or external command. I did also try running the command from the Optimizer program files folder. Am I missing something?
Tried using wmic to do it but that doesn't seem to recognize the "Dell Optimizer Service" part and leaves that installed.
Edit: Correction, when I use the full path to the programs file folder I get the error "Windows Service Start Failure" saying that a Windows service must first be installed using installutl.exe and then started with the ServerExplorer or the net start command.
In our org, we manage many apps using ansible+chocolatey and a local proget package repository. The problem I'm having is DCU is updating itself to 5.5 which we don't want. The 5.x reference guide mentions the dcu-cli.exe /configure flag "-scheduleManual" which should prevent it from updating itself, but it's doing it anyway. Is there a 5.5 download cached somewhere and that's what is causing this? Is there a better way?
Thank you
update: we're still using ansible+internal choco repository to install dcu, but I've removed the scheduled dcu tasks from our playbooks. Instead, at install time dcu imports the settings to update itself automatically. Thanks for recommendations.
I have this issue as I recently updated a Dell lappy Latitude 5420 (no AV, not joined Domain) and reinstalled the Dell command update 6.4.
I ran the Dell command update which updated the BIOS and a few other components (total 6)
- BIOS 1.4 to 1.61
- Embedded controller 1.06 to 1.07.
I performed a full backup using Veeam agent for windows to a USB HDD.
Then as playing around with 2 other new notebooks (Dell lappy Latitude 5420), I decided to restore them to the config as per the backup.
I use Bare Metal restore to “restore” the 2 other lappy, change hostname and rebooted…then I ran Dell command update but it shows no updates (even when things like BIOS is still at 1.4).
So I am guessing that there is some sort of cache to clear for Dell command update ?
IIRC right off hand, within the Dell command update app, it lists the path. I think it’s in the programdata directory.
https://www.dell.com/community/Inspiron/OK-to-delete-files-from-C-ProgramData-Dell-Update-Downloads/td-p/6178772
We have multiple computers, and normally a tech would have to manually install the latest firmware updates on all Dell PCs and Laptops. Is there an easier way to do this?
We recently did a slow release by installing Dell Command Update in new images (so not directly from Intune) and configuring it to update itself via the Intune ADMX. So right now, only about 5% of devices have Dell Command Update. We have it configured to update once per month.
How has it worked for you? Do you have any horror stories? Do you have any config recommendations?
I've searched far and wide and couldn't find an actual script that does this. Everyone said to use the official office tool for uninstall but I couldn't with 100 computers. I've written a script that *actually* works
Function Remove-App([String]$AppName){
$PackageFullName = (Get-AppxPackage $AppName).PackageFullName
$ProPackageFullName = (Get-AppxProvisionedPackage -Online | where {$_.Displayname -eq $AppName}).PackageName
Remove-AppxPackage -package $PackageFullName | Out-Null
Remove-AppxProvisionedPackage -online -packagename $ProPackageFullName | Out-Null
}
Function Remove-App-Registry([String]$AppName) { $appcheck = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -eq $AppName } | Select-Object -Property DisplayName,UninstallString if($appcheck -ne $null){ Write-Host $appcheck $uninst = "$appcheck".split("=")[2].replace("}","") $uninst ="""+$uninst+""" + " /quiet" Write-Host $uninst cmd /c $uninst } else{ Write-Host "$id is not installed on this computer" } }
Function Remove-App-Registry2([String]$AppName) { $appcheck = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -eq $AppName } | Select-Object -Property DisplayName,UninstallString if($appcheck -ne $null){ $uninst = "$appcheck ".split("=")[2].replace("}","") + " /VERYSILENT" cmd /c $uninst } else{ Write-Host "$id is not installed on this computer" } }
Function Remove-App-Registry3([String]$AppName) { $appcheck = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -eq $AppName } | Select-Object -Property DisplayName,UninstallString if($appcheck -ne $null){ $uninst = "$appcheck".split("=")[2] $uninst = $uninst.Substring(0,$uninst.length-1) + " -silent" Write-Host $uninst cmd /c $uninst } else{ Write-Host "$id is not installed on this computer" } }
Function Remove-App-Registry4([String]$AppName) { $appcheck = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -eq $AppName } | Select-Object -Property DisplayName,UninstallString if($appcheck -ne $null){ Write-Host $appcheck $uninst = "$appcheck".split("=")[2].replace("}","") $uninst ="""+$uninst+""" + " /S" Write-Host "" Write-Host $uninst cmd /c $uninst } else{ Write-Host "$id is not installed on this computer" } }
Function Remove-App-Registry5([String]$AppName) { $appcheck = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -eq $AppName } | Select-Object -Property DisplayName,UninstallString if($appcheck -ne $null){
$uninst = $appcheck.UninstallString[1] + " /quiet"
cmd /c $uninst
}
else{
Write-Host "$id is not installed on this computer"
}
}
Function Remove-M365([String]$AppName) { $Uninstall = (Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall* | Where {$_.DisplayName -like $appName} | Select UninstallString) $Uninstall = $Uninstall.UninstallString + " DisplayLevel=False" cmd /c $Uninstall }
#####
EXECUTE
#####
Active identifiers
Remove-App "Microsoft.GetHelp" # MS support chat bot Remove-App "Microsoft.Getstarted" # 'Get Started' link Remove-App "Microsoft.Messaging" # SMS app. Requires a phone link. Remove-App "Microsoft.MicrosoftOfficeHub" # Office 365. Interferes with Office ProPlus Remove-App "Microsoft.MicrosoftSolitaireCollection" # Game Remove-App "Microsoft.OneConnect" # Paid WiFi and Cellular App Remove-App "Microsoft.SkypeApp" # Skype Remove-App "Microsoft.Wallet" # Mobile payment storage Remove-App "microsoft.windowscommunicationsapps" # MS Calendar and Mail apps. Interferes with Office ProPlus Remove-App "Microsoft.WindowsFeedbackHub" # MS Beta test opt-in app Remove-App "Microsoft.YourPhone" # Links an Android phone to the PC Remove-App "ZuneMusic" Remove-App "DellInc.DellDigitalDelivery"
Remove-App-Registry "Dell SupportAssist Remediation" Remove-App-Registry "Dell Optimizer" Remove-App-Registry "Dell Trusted Device Agent" Remove-App-Registry "Dell SupportAssist" Remove-App-Registry "Dell Digital Delivery Services" Remove-App-Registry "Dell Digital Delivery" Remove-App-Registry "Xbox" Remove-App-Registry "Xbox Live" Remove-App-Registry2 "DELLOSD" Remove-App-Registry3 "Dell SupportAssist OS Recovery Plugin for Dell Update" Remove-App-Registry3 "Dell Optimizer Core" Remove-App-Registry4 "Dell Display Manager 2.1" Remove-App-Registry4 "Dell Peripheral Manager" Remove-App-Registry5 "Dell SupportAssist Remediation"
Remove-M365 "Microsoft 365 - fr-fr" Remove-M365 "Microsoft 365 - es-es" Remove-M365 "Microsoft 365 - pt-br" Remove-M365 "Microsoft OneNote - fr-fr" Remove-M365 "Microsoft OneNote - es-es" Remove-M365 "Microsoft OneNote - pt-br"
https://github.com/CjStaal/WindowsScripts/blob/main/CleanBloat.ps1
for better formatting