Jump to content

Does anyone have a script to remove solarwinds?

Recommended Posts

  • 1 month later...

I know your question is more specific to one particular vendor, but this is the Automate script I use to uninstall applications that were installed using the Windows Installer. If your Solarwinds product was installed with this method, you can switch out where I have [Application Name] in the below snippet with the name of the product you're interested in removing and it should find your product, call the Windows Installer with the path stored in the UninstallString REG_STRING, and silently remove the application.

$Application = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | ?{$_.DisplayName -like "[Application Name]" -and $_.UninstallString -like "*MsiExec* /X*"}
foreach ($i in $Application){
	$Uninstall = $i.UninstallString
	Write-Host "Uninstalling " $i.DisplayName "..."
	& cmd /c $Uninstall /quiet /noreboot


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...