Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Uninstall mozilla firefox with sccm

  • Thread starter Thread starter jportilla
  • Start date Start date
  • Replies Replies 3
  • Views Views 5K

jportilla

New Member
Messages
2
Reaction score
0
Points
1
I want to know if anyone knows any configuration or script to uninstall applications like Mozilla Firefox with SCCM, it was installed manually by the user but want to uninstall from Configuration Manager.
 
I want to know if anyone knows any configuration or script to uninstall applications like Mozilla Firefox with SCCM, it was installed manually by the user but want to uninstall from Configuration Manager.

run this command from a packcge or script

c:\program files\mozilla firefox\uninstall\helper.exe /S
 
Save this script as a vbs file,

REM ON ERROR RESUME NEXT
Dim FileSys,objWshShell,PF86
Dim objNetwork

Dim Folder, Sour, Dest


Set FileSys=CreateObject("Scripting.FileSystemObject")
Set objWshShell = CreateObject( "WScript.Shell")
setWindir = objWshShell.ExpandEnvironmentStrings( "%windir%" )
PF86 = objWshShell.ExpandEnvironmentStrings( "%ProgramFiles(x86)%" )
Set objNetwork = CreateObject("WScript.Network")


If FileSys.FileExists(PF86 + "\mozilla firefox\uninstall\helper.exe") Then
objWshShell.Run chr(34) & PF86 & "\mozilla firefox\uninstall\helper.exe" & chr(34) & " /S",0, True
End If

Set FileSys=Nothing
Set objWshShell=Nothing



Manually run this script with administrative privileges.
Create a package in SCCM and deploy it to endpoints if it works.
 

Forum statistics

Threads
7,144
Messages
27,896
Members
18,191
Latest member
ragyekum

Trending content

Back
Top