Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Trying to use SCCM to script uninstall of multiple unsupported Firefox applications

  • Akukho zimpendulo
  • 3 zinale nkinga
  • 1 view
more options

I have ~500 end users that have unsupported versions (half have a combination of unsupported and supported versions) of Firefox which show up on our Security breach website. I've been trying to create a script to use in SCCM however, I've noticed all these versions are a combination of the following:

32 bit versions showing up in C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe. Some 32 bit versions do not completely uninstall (CFG files remain as well as a maintenance folder). 64 bit versions showing up in C:\Program Files\Mozilla Firefox\uninstall\helper.exe. Most versions are EXE however, I've come across some MSI. I believe I have the detection method down: If (Get-WmiObject -Namespace root\cimv2\sms -class SMS_InstalledSoftware | Where {$_.ARPDisplayname -like 'Mozilla Firefox*'})

   {
   }

else

   {
   Write-Host "Installed"
   }    

I'm using the following uninstall script which works once and sometimes will not remove if both 32 and 64 bit applications are present:

Get-WmiObject -Class win32_product -Filter "Name like 'Mozilla Firefox%'" | ForEach-Object {$_.Uninstall()}

Any help would be greatly accepted: Thank You MISHologic

I have ~500 end users that have unsupported versions (half have a combination of unsupported and supported versions) of Firefox which show up on our Security breach website. I've been trying to create a script to use in SCCM however, I've noticed all these versions are a combination of the following: 32 bit versions showing up in C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe. Some 32 bit versions do not completely uninstall (CFG files remain as well as a maintenance folder). 64 bit versions showing up in C:\Program Files\Mozilla Firefox\uninstall\helper.exe. Most versions are EXE however, I've come across some MSI. I believe I have the detection method down: If (Get-WmiObject -Namespace root\cimv2\sms -class SMS_InstalledSoftware | Where {$_.ARPDisplayname -like 'Mozilla Firefox*'}) { } else { Write-Host "Installed" } I'm using the following uninstall script which works once and sometimes will not remove if both 32 and 64 bit applications are present: Get-WmiObject -Class win32_product -Filter "Name like 'Mozilla Firefox%'" | ForEach-Object {$_.Uninstall()} Any help would be greatly accepted: Thank You MISHologic