Skip to main content
Question

uninstall DELL Support Assist

  • March 14, 2024
  • 1 reply
  • 338 views

Forum|alt.badge.img

Hi All

we’ve noticed DELL Support Assist started running an agent task that is hogging major amounts of system RAM
we have a dispersed user population so I'd like to look at uninstalling the DELL Support Assist application from our remote users via Automox, has anyone managed to uninstall DELL SA remotely?

cheers :)

1 reply

Forum|alt.badge.img
  • Pro
  • 11 replies
  • March 15, 2024

Hi, I just tested this in our environment. 

for evaluation I just did a simple exit 1 since I manually ran this but i suppose you can get creative and look for the program

Eval:

$program = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -eq "Dell SupportAssist"}

if($program){
exit 1
}else {
exit 0
}

Remediation: 

$program = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -eq "Dell SupportAssist"}
try {

    if ($program) {
        $ID = $program.IdentifyingNumber
        $Name = $program.Name
        Write-Host "Uninstalling $Name ..."

        $uninstallResult = (Start-Process "C:\WINDOWS\system32\msiexec.exe" -ArgumentList "/x $ID /quiet /norestart" -PassThru -Wait).ExitCode

        if ($uninstallResult -eq 0) {
            Write-Host "$Name has been uninstalled."
            exit 0
        } else {
            Write-Host "Failed to uninstall $Name."
            exit 1
        }
    } else {
        Write-Host "No programs found to uninstall."
        exit 0
    }
} catch {
    Write-Host "An error occurred: $_"
    exit 1
}

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings