Pages

Tuesday, November 6, 2012

Uninstalling Mozilla Firefox with Active Directory GPO

Although not too challenging of a task, I thought it would be a good idea to quickly demonstrate how to create a Active Directory group policy that uninstalls Mozilla Firefox from workstations upon startup so that I can reference this post if I ever need to do this again.

Begin by creating a new GPO and assign it to the OU containing the desktop objects that you would like to have Mozilla Firefox uninstalled.  Edit the policy and navigate to Computer Configuration –> Policies –> Windows Settings –> Scripts (Startup/Shutdown):

image

Double click on the Startup option to bring up the properties, then click on the Add… button:

image

In the Edit Script window, click on the Browse button:

image

From within the Browse window, right-click in Startup folder to create a new Text Document then name it UninstallFireFox.bat:

clip_image002

Edit the batch file and paste in the following:

"C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /S

clip_image002[4]

Save the batch file then select it to return to the Edit Script window.  Continue by clicking the OK button:

clip_image002[6]

The script should now be shown in the Startup Properties window.  Proceed by clicking on the OK button:

clip_image002[8]

The desktops with this new GPO assigned will now silently uninstall Mozilla Firefox upon the start up of Windows.  Note that the user may still see Mozilla Firefox if they log in immediately upon boot up but the application should disappear in a short while.

2 comments:

Anonymous said...

Thanks for this! For once I found a person who actually explains exactly what I needed to do :)

Anonymous said...

the /S switch do no work. use the -ms switch instead