Uninstall Flash Player | Silently uninstall Flash from your computers

Posted by Shane Corellian

Feb 20, 2012 5:09:00 PM

Install Flash Player 10 silently

We have written about deploying Adobe Flash to all of your computers in a few previous posts, most notably Shawn's post from Feb 2011.

This time we are going to look at how we can silently uninstall Adobe Flash Player from all of our computers. This walk-thru assumes that you have PDQ Deploy. If you don't have it, go download it. It's free for crying out loud!

Step One: Download the flash player utilities from Adobe.

Adobe provides separate uninstall files for 32-bit and 64-bit systems. You can read about them here or you can just download the 32-bit and 64-bit files.

Step Two: Build your PDQ Installer (which will, counter-intuitively, Uninstall Flash)

Choose which uninstall file you want to use. In this example we will use the 32 bit version. Right click on the file and select "Deploy with PDQ Deploy"

Uninstall Adobe Flash 1 resized 600

 Name the Installer something like "Uninstall Adobe Flash (32 bit)" (or whatever you want).

Add 

-uninstall

to the Parameters field. As always all parameters vary from application to application and the valid values are dependent upon the vendor (in this case, Adobe). 

Uninstall Adobe Flash 2 resized 600

Step Three: Deploy the Uninstaller to your target computers.

Now that you have your new "installer" you are ready to deploy it to your computers. Find your new Installer in your main PDQ Deploy window. Highlight the new installer and hit the Deploy Now button. (You can also right-click the Installer and select Deploy Now).

Uninstall Adobe Flash 3 resized 600

Now it's time to choose your target computers. In this example we'll just type in the computer names but ideally you would import your targets from other sources such as PDQ Inventory1, Active Directory or Spiceworks.

Uninstall Adobe Flash 4 resized 600

Once you have all your targets selected, press the Deploy Now button. You can view the status of your deployment from the main PDQ Deploy window by selecting All Deployments or just selecting your specific Installer and clicking the Deployment tab (shown below).

Uninstall Adobe Flash 5 resized 600

You can see, at a glance, the specifics of your deployment. The computer Sobchak finished the uninstall in 6 seconds and the computer Yerbouti finished in 47 seconds.

Additional Notes

When uninstalling Adobe Flash it is important that all web browsers are closed on the target computers. If you run PDQ Deploy in Pro mode you can define multiple "Actions" in your Installer.

I like using the multiple actions in cases like this where you want to control the target environment during a deployment. I will provide an example below of Uninstalling Flash Player while also making sure to close any web browsers before the uninstall begins. In addition to defining multiple actions Pro Mode allows you to schedule your deployments, utilize DFS, configure bandwidth throttling, receive e-mail notifications of your deployments and more. f you don't have Pro mode enabled, you can get your Pro Mode Trial Key now.

In Pro mode you create a new action by clicking the New Action button in your Installer window. You will need to choose what type of Action you want: Package or Command. In this case you will want a Command action because all we are going to do is run a command. After you create your new Action, move it above the original Action by using the Move Up button.

Uninstall Adobe Flash 7 resized 600

Notice that I unchecked the "Stop Deployment if this Action fails" checkbox. I did this because even if the attempt to kill running browsers failed I wanted to move to the next Action and perform the uninstall of Adobe Flash. Incidentally, you can just add the return code 128 to the Successful Return Codes field. Exit code 128 is thrown by Taskkill.exe if the specified process (like iexplore.exe) wasn't running. If you don't want to uncheck the "Stop Deployment..." check box at least add 128 as a successful code to the taskkill command window.

Uninstall Adobe Flash 8 resized 600

If you have any questions, feel free to post them on the comments or you can submit them to our PDQ Deploy support forum.

1With PDQ Inventory you can create a collection will shows all 32 bit computers which have Flash Player installed. Then your deploy target would simply be this collection and you wouldn't have to manually keep track of which computers need to have Flash removed.

Topics: remote uninstall, uninstall software remotely, remove adobe flash

Admin Arsenal Blog

Subscribe to Email Updates

Posts by Topic

see all