Note: For Steps 4 and 5 above, if you also have any other Mozilla products installed, such as Mozilla Thunderbird, then make sure to only delete entries/folders which specifically relate directly to Firefox by name. That is, right click on their name in the left pane of Registry Editor and select Delete:
Using the Windows Registry Editor (Start>Run>Regedit), delete any of the following keys if they exist. Uninstall Mozilla Firefox using a Powershell script. Uninstall the Mozilla Firefox application. Search for the Mozilla Firefox application. Find and remove all of the major Firefox/Mozilla-related entries in the Windows Registry. Tutorial Powershell - Uninstall the Mozilla Firefox As an Administrator, start an elevated Powershell command-line. This will ensure that all remaining custom data relating to your profile, any cached files, any files relating to installed add-ons for Firefox, will all be removed from your system.ĥ. To make sure all existing Firefox profile data is removed, delete the following directories if they still exist: Open Windows Explorer, go to your \Program Files (x86)\Mozilla Firefox directory, or \Program Files\Mozilla Firefox\ for Firefox 64-bit, and delete it and all of its contents if it still exists.Ĥ. Make sure you've performed step 1 first if you want to backup any of your Firefox customizations.ģ. During uninstallation tick the 'Remove my Firefox personal data and customizations' box. Go to Windows Control Panel>Programs & Features, find the 'Mozilla Firefox' entry, select it and uninstall it. I recommend backing up and restoring only your Bookmarks and Passwords, not your entire profile, as that will defeat the entire purpose of doing a fresh installation of Firefox.Ģ. The Firefox profile contains all of your settings and customizations. Backup components of your existing Firefox profile. Firefox is removed, and I can go on about my other business.To completely remove all traces of your current Firefox installation from your system, follow these steps:ġ. In my lab the entire process completes in just a handful of seconds. In the command window you may insert the removal command just as I have done here:Ĭlick ‘Execute’ to launch the command on all of the selected/highlighted hosts in the BatchPatch grid. We highlight the desired target computers in our BatchPatch grid and then select ‘Actions > Execute remote process/command > Create/modify remote command 1’ Once confirmed, we can then run the same command in BatchPatch to target numerous remote computers, simultaneously. However, the command should work for you just as it did for me to completely remove Firefox. If the command does not successfully remove Firefox on your computer at the command prompt, then there’s no way that BatchPatch will be able to remotely execute the same command with success. Run the command and make sure that it successfully removes Firefox. "C:\Program Files (x86 )\Mozilla Firefox\uninstall\helper.exe" /S The 圆4 version of Firefox default setup uninstall command:
So first to confirm that we are able to successfully remove the software from just one computer using the command prompt rather than BatchPatch, we execute the following command in a cmd.exe window. We just want the process to run on its own after we launch it. We don’t want a situation where we have to click “yes” or confirm in some other way to proceed with the uninstallation. We need the process to execute “silently” or “quietly” so that it simply runs to completion without needing any additional interaction from the user or administrator to complete the process. In order to remove Firefox from numerous computers using BatchPatch, we first have to be able to successfully uninstall it from a single computer at the command prompt with no user interaction. If your computers have Firefox installed in a different directory then just make sure you substitute your installation directory in the command instead of using the one in my command. For example, on my lab computers Firefox is installed in either “C:\Program Files\Mozilla Firefox” or “C:\Program Files (x86)\Mozilla Firefox”. The process if very straightforward and simple.įirst you’ll just need to identify the installation directory on your computers. Alternatively you could just use BatchPatch to perform this task on all of your remote computers at the same time, enabling you to effectively uninstall Firefox from your entire network of computers in under a minute. While you could certainly use remote desktop to connect to each target computer and then manually launch the add/remove programs applet, this would take a very long time if you had to perform the task on dozens or perhaps hundreds or even thousands of computers. Removing Firefox from numerous computers does not have to be a tedious process.