{"id":833401,"date":"2026-07-03T12:57:55","date_gmt":"2026-07-03T12:57:55","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=833401"},"modified":"2026-07-03T12:57:55","modified_gmt":"2026-07-03T12:57:55","slug":"remover-o-dell-supportassist-usando-o-powershell","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/pt-br\/script-hub\/remover-o-dell-supportassist-usando-o-powershell\/","title":{"rendered":"Como remover o Dell SupportAssist usando o PowerShell"},"content":{"rendered":"<p>Os ambientes de TI corporativos frequentemente exigem a remo\u00e7\u00e3o de bloatware ou utilit\u00e1rios instalados pelo fabricante (OEM) que oferecem pouco valor em ambientes de infraestrutura gerenciada. Um desses aplicativos \u00e9 o\u00a0Dell SupportAssist, uma ferramenta que, embora seja \u00fatil para sistemas de consumidores, pode apresentar desafios administrativos e de seguran\u00e7a em ambientes corporativos ou de servi\u00e7os gerenciados. Para profissionais de TI e <a href=\"https:\/\/www.ninjaone.com\/what-is-an-msp\/\">MSPs<\/a> que buscam <a href=\"https:\/\/www.ninjaone.com\/pt-br\/eficiencia\/\">efici\u00eancia<\/a> e controle, o uso <a href=\"https:\/\/www.ninjaone.com\/it-hub\/gerenciamento-de-endpoints\/what-is-powershell\/\">do PowerShell<\/a> nessas tarefas oferece <a href=\"https:\/\/www.ninjaone.com\/pt-br\/rmm\/automacao-de-ti\/\">automa\u00e7\u00e3o<\/a>, confiabilidade e repetibilidade.<\/p>\n<p>Este artigo explica como <strong>remover o Dell SupportAssist<\/strong>\u00a0<strong>usando o PowerShell em <\/strong>computadores com Windows. Seja para manter a higiene dos terminais ou para preparar sistemas para a cria\u00e7\u00e3o de imagens e reimplanta\u00e7\u00e3o, este script pode ser um complemento essencial ao seu conjunto de ferramentas.<\/p>\n<h2>Contexto<\/h2>\n<p>O Dell SupportAssist \u00e9 um utilit\u00e1rio pr\u00e9-instalado que verifica de forma proativa o estado do sistema e interage com o sistema de suporte da Dell. Embora seja \u00fatil em contextos de consumo, muitas vezes \u00e9 desnecess\u00e1rio em ambientes gerenciados, nos quais o monitoramento de terminais \u00e9 realizado por meio de ferramentas profissionais <a href=\"https:\/\/www.ninjaone.com\/pt-br\/blog\/definicao-de-gerenciamento-de-monitoramento-remoto\/\">de RMM<\/a>, como o NinjaOne. Se n\u00e3o forem monitorados, utilit\u00e1rios como o SupportAssist podem executar servi\u00e7os em segundo plano, consumir recursos e at\u00e9 mesmo causar vulnerabilidades de seguran\u00e7a devido a componentes desatualizados ou servi\u00e7os desnecess\u00e1rios.<\/p>\n<p>Dada a aus\u00eancia de um desinstalador padronizado entre as vers\u00f5es, os profissionais de TI precisam de uma solu\u00e7\u00e3o\u00a0confi\u00e1vel e automatizada. Este script do PowerShell atende a essa necessidade, detectando o Dell SupportAssist e desinstalando-o por meio de refer\u00eancias ao Registro do sistema e m\u00e9todos de desinstala\u00e7\u00e3o adequados.<\/p>\n<h2>O Roteiro<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">#Requires -Version 5.1\r\n\r\n&lt;#\r\n.SYNOPSIS\r\n    Removes Dell Support Assist from the system.\r\n.DESCRIPTION\r\n    Removes Dell Support Assist from the system.\r\n\r\n    Note: Other Dell SupportAssist related applications will not be removed. This script can be modified to account for them if needed.\r\n      See line 43 for more details\r\nBy using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n    Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n    Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n    Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n    Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n    Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n    Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n    EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n.EXAMPLE\r\n    (No Parameters)\r\n    \r\n    [Info] Dell SupportAssist found\r\n    [Info] Removing Dell SupportAssist using msiexec\r\n    [Info] Dell SupportAssist successfully removed\r\n.OUTPUTS\r\n    None\r\n.NOTES\r\n    Minimum OS Architecture Supported: Windows 10, Windows Server 2016\r\n    Release Notes: Initial Release\r\n#&gt;\r\n\r\n[CmdletBinding()]\r\nparam ()\r\n\r\nbegin {\r\n    function Test-IsElevated {\r\n        $id = [System.Security.Principal.WindowsIdentity]::GetCurrent()\r\n        $p = New-Object System.Security.Principal.WindowsPrincipal($id)\r\n        $p.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)\r\n    }\r\n}\r\nprocess {\r\n    if (-not (Test-IsElevated)) {\r\n        Write-Error -Message \"[Error] Access Denied. Please run with Administrator privileges.\"\r\n        exit 1\r\n    }\r\n\r\n    # Get UninstallString for Dell SupportAssist from the registry\r\n    $DellSA = Get-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*', 'HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*' | \r\n        Where-Object { $_.DisplayName -eq 'Dell SupportAssist' } | \r\n        # Replace the line above with additions like below\r\n        # Where-Object { $_.DisplayName -eq 'Dell SupportAssist' -or $_.DisplayName -eq 'Dell SupportAssist Remediation' } |\r\n        # Other Dell apps related to SupportAssist:\r\n        # 'Dell SupportAssist OS Recovery'\r\n        # 'Dell SupportAssist'\r\n        # 'DellInc.DellSupportAssistforPCs'\r\n        # 'Dell SupportAssist Remediation'\r\n        # 'SupportAssist Recovery Assistant'\r\n        # 'Dell SupportAssist OS Recovery Plugin for Dell Update'\r\n        # 'Dell SupportAssistAgent'\r\n        # 'Dell Update - SupportAssist Update Plugin'\r\n        # 'Dell SupportAssist Remediation'\r\n        Select-Object -Property DisplayName, UninstallString\r\n\r\n    # Check if Dell SupportAssist is installed\r\n    if ($DellSA) {\r\n        Write-Host \"[Info] Dell SupportAssist found\"\r\n    }\r\n    else {\r\n        Write-Host \"[Info] Dell SupportAssist not found\"\r\n        exit 1\r\n    }\r\n\r\n    $DellSA | ForEach-Object {\r\n        $App = $_\r\n        # Uninstall Dell SupportAssist\r\n        if ($App.UninstallString -match 'msiexec.exe') {\r\n            # Extract the GUID from the UninstallString\r\n            $null = $App.UninstallString -match '{[A-F0-9-]+}'\r\n            $guid = $matches[0]\r\n\r\n            Write-Host \"[Info] Removing Dell SupportAssist using msiexec\"\r\n            try {\r\n                $Process = $(Start-Process -FilePath \"msiexec.exe\" -ArgumentList \"\/x $($guid) \/qn \/norestart\" -Wait -PassThru)\r\n                if ($Process.ExitCode -ne 0) {\r\n                    throw $Process.ExitCode\r\n                }\r\n            }\r\n            catch {\r\n                Write-Host \"[Error] Error removing Dell SupportAssist. Exit Code: $($Process.ExitCode)\"\r\n                exit 1\r\n            }\r\n        }\r\n        elseif ($App.UninstallString -match 'SupportAssistUninstaller.exe') {\r\n            Write-Host \"[Info] Removing Dell SupportAssist using SupportAssistUninstaller.exe...\"\r\n            try {\r\n                $Process = $(Start-Process -FilePath \"$($App.UninstallString)\" -ArgumentList \"\/arp \/S \/norestart\" -Wait -PassThru)\r\n                if ($Process.ExitCode -ne 0) {\r\n                    throw $Process.ExitCode\r\n                }\r\n            }\r\n            catch {\r\n                Write-Host \"[Error] Error removing Dell SupportAssist. Exit Code: $($Process.ExitCode)\"\r\n                exit 1\r\n            }\r\n        }\r\n        else {\r\n            Write-Host \"[Error] Unsupported uninstall method found.\"\r\n            exit 1\r\n        }\r\n    }\r\n\r\n    $SupportAssistClientUI = Get-Process -Name \"SupportAssistClientUI\" -ErrorAction SilentlyContinue\r\n    if ($SupportAssistClientUI) {\r\n        Write-Host \"[Info] SupportAssistClientUI still running and will be stopped\"\r\n        try {\r\n            $SupportAssistClientUI | Stop-Process -Force -Confirm:$false -ErrorAction Stop\r\n        }\r\n        catch {\r\n            Write-Host \"[Warn] Failed to stop the SupportAssistClientUI process. Reboot to close process.\"\r\n        }\r\n    }\r\n\r\n    Write-Host \"[Info] Dell SupportAssist successfully removed\"\r\n    exit 0\r\n}\r\nend {\r\n    \r\n    \r\n    \r\n}<\/pre>\n<p>&nbsp;<\/p>\n\n<h2>Discrimina\u00e7\u00e3o detalhada<\/h2>\n<p>O script \u00e9 modular, est\u00e1 claramente documentado e segue as normas administrativas. Aqui est\u00e1 uma explica\u00e7\u00e3o detalhada de sua l\u00f3gica principal:<\/p>\n<ol>\n<li><strong>Verifica\u00e7\u00e3o administrativa<\/strong><strong><br \/>\n<\/strong>O script come\u00e7a com uma fun\u00e7\u00e3o chamada Test-IsElevated para verificar se est\u00e1 sendo executado com privil\u00e9gios de administrador. Caso contr\u00e1rio, ele gera um erro e interrompe a execu\u00e7\u00e3o.<\/li>\n<li><strong>Pesquisa no Registro para strings de desinstala\u00e7\u00e3o<\/strong><strong><br \/>\n<\/strong>Ele consulta os caminhos do Registro tanto de 32 bits quanto de 64 bits na seguinte localiza\u00e7\u00e3o:<\/p>\n<ul>\n<li>HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*<\/li>\n<li>HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*<\/li>\n<\/ul>\n<\/li>\n<li>Ele filtra a entrada em que o campo DisplayName seja exatamente \u201cDell SupportAssist\u201d. Vale destacar que o script pode ser facilmente ampliado para incluir outros componentes relacionados ao SupportAssist.<\/li>\n<\/ol>\n<h3>Desinstalar o Logic<\/h3>\n<p>Se a string do desinstalador incluir msiexec.exe, o script extrai o GUID do produto e executa a desinstala\u00e7\u00e3o de forma silenciosa usando:<br \/>\nPowerShell<br \/>\nRevis\u00e3o<br \/>\nmsiexec.exe \/x {GUID} \/qn \/norestart<\/p>\n<ol>\n<li>Se o desinstalador utilizar o SupportAssistUninstaller.exe, ele o executa com os par\u00e2metros de instala\u00e7\u00e3o silenciosa apropriados.<\/li>\n<li><strong>Limpeza do processo<\/strong><strong><br \/>\n<\/strong>Ap\u00f3s a desinstala\u00e7\u00e3o, o programa verifica se h\u00e1 algum processo SupportAssistClientUI em execu\u00e7\u00e3o e tenta encerr\u00e1-lo de forma controlada.<\/li>\n<li><strong>Sa\u00edda e registro em log<\/strong><strong><br \/>\n<\/strong>O script exibe mensagens de log claras para cada etapa e encerra normalmente com c\u00f3digos de status adequados.<\/li>\n<\/ol>\n<h2>Poss\u00edveis casos de uso<\/h2>\n<h3>Estudo de caso<\/h3>\n<p>Um provedor de servi\u00e7os gerenciados que est\u00e1 implementando uma frota de 150 laptops Dell para uma empresa do setor financeiro deseja garantir que apenas os softwares essenciais sejam instalados. Utilizando o mecanismo de scripts do NinjaOne, o MSP implanta esse script do PowerShell em todos os terminais. Em quest\u00e3o de minutos, o Dell SupportAssist \u00e9 removido de forma silenciosa em todo o ambiente, economizando in\u00fameras horas de interven\u00e7\u00e3o manual e garantindo uma configura\u00e7\u00e3o de software padr\u00e3o consistente.<\/p>\n<h2>Compara\u00e7\u00f5es<\/h2>\n<p>Os m\u00e9todos tradicionais para remover o Dell SupportAssist incluem:<\/p>\n<ul>\n<li>Acessar manualmente o Painel de Controle \u2192 Programas<\/li>\n<li>Usando o pr\u00f3prio desinstalador do SupportAssist da Dell (que pode n\u00e3o estar instalado em todos os casos)<\/li>\n<li>Depender de programas de desinstala\u00e7\u00e3o de terceiros, que muitas vezes carecem de transpar\u00eancia<\/li>\n<\/ul>\n<p>Em compara\u00e7\u00e3o com esses m\u00e9todos, este script do PowerShell:<\/p>\n<ul>\n<li>N\u00e3o requer intera\u00e7\u00e3o com a interface gr\u00e1fica<\/li>\n<li>\u00c9 silencioso e escal\u00e1vel<\/li>\n<li>Pode ser implantado usando ferramentas de RMM, como o NinjaOne<\/li>\n<li>Oferece controle de vers\u00e3o e rastreabilidade<\/li>\n<\/ul>\n<h2>Implica\u00e7\u00f5es<\/h2>\n<p>A remo\u00e7\u00e3o proativa do Dell SupportAssist pode reduzir sua superf\u00edcie de ataque, melhorar o desempenho do sistema e alinhar o ambiente aos padr\u00f5es corporativos. As ferramentas OEM costumam causar atritos na gest\u00e3o e podem introduzir telemetria ou tarefas agendadas que contradizem as pol\u00edticas de controle centralizado. O uso de scripts como esse melhora a padroniza\u00e7\u00e3o e a conformidade dos terminais.<\/p>\n<h2>Recomenda\u00e7\u00f5es<\/h2>\n<ul>\n<li>Fa\u00e7a o teste em um ambiente de laborat\u00f3rio\u00a0antes da implanta\u00e7\u00e3o em produ\u00e7\u00e3o.<\/li>\n<li>Utilize uma plataforma RMM (como o NinjaOne) para implanta\u00e7\u00e3o em massa e acompanhamento dos resultados.<\/li>\n<li>Amplie o script para lidar com outros bloatwares conhecidos ou aplicativos OEM redundantes.<\/li>\n<li>Revise regularmente os softwares instalados usando ferramentas de invent\u00e1rio e automatize a limpeza sempre que poss\u00edvel.<\/li>\n<\/ul>\n<h2>Considera\u00e7\u00f5es finais<\/h2>\n<p>Ferramentas como <a href=\"https:\/\/www.ninjaone.com\/pt-br\/\">o NinjaOne<\/a> permitem que profissionais de TI e MSPs automatizem e otimizem as tarefas de gerenciamento de dispositivos. Este script do PowerShell ilustra como a cria\u00e7\u00e3o de scripts personaliz\u00e1veis, aliada a uma plataforma de RMM robusta, pode oferecer solu\u00e7\u00f5es r\u00e1pidas e escal\u00e1veis. Se o seu objetivo \u00e9 manter um ambiente de terminais enxuto e seguro, combinar scripts como este com os recursos de automa\u00e7\u00e3o do NinjaOne \u00e9 a melhor abordagem para as opera\u00e7\u00f5es modernas de TI.<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4212],"use_cases":[12460],"class_list":["post-833401","script_hub","type-script_hub","status-publish","hentry","script_hub_category-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub\/833401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/comments?post=833401"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/media?parent=833401"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/operating_system?post=833401"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/pt-br\/wp-json\/wp\/v2\/use_cases?post=833401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}