Quick way to do this?

Removing Flash from my computer systems and noticed that I have some extra steps other than just uninstalling flash. I have to go to two different folders and remove these four files. The trouble is that for some reason on some of the computers I need to “Take Ownership” of the file before I can remove it. This requires two steps with multiple clicks each. With arthritis in my hands acting up, I’d like to find a faster way to do this so I don’t have to click so much on each file. Plus I have a couple dozen computers to remove flash from and don’t want to run into this on all of them.

is there a way to run a script that will take ownership, change the principle access and delete these files for me?

C:\Windows\System32\Macromed\Flash
C:\Windows\SysWOW64\Macromed\Flash
In each of these directories, you should see these files :

activex.vch
Flash.ocx
FlashUtil_ActiveX.dll
FlashUtil_ActiveX.exe

Hi @Fred,

We have asked our script developers to prepare script for your request and will update you once script is available.

Kind Regards,
PremJK

Hi @Fred,

Can you please run this script to Uninstall Adobe Flash and Delete Flash Files. Please provide your feedback
https://scripts.itarian.com/frontend…e-flash-player

Kind Regards,
PremJK

Thanks Prem that was cool of you.

Hi @PremJkumar

We have tried the script and, apparently, it does not work for us. We have tried on two different endpoints so far, both with “Adobe Flash Player 24 NPAPI”, and we have found the same behaviour in both, the script starts but never finishes. In the endpoint, when checking the running processes we can see an instance of msiexec.exe with the command line “MsiExec.exe -uninstall” that is running there but it just never finishes.

Can you please check the procedure? Is there something we can do on our side to troubleshoot the script execution?

Thanks a lot in advance!

Regards,
– Javier Llorente
Endpoint Security - Devoteam

Hi @DevoteamEndpointSecu,

Thanks for running the script and reporting us the issue. We have shared your input with our script developers team and will provide an updated solution.

Kind Regards,
PremJK

Hi @DevoteamEndpointSecu,

Please check your Inbox for a private message sent requesting some additional information needed by our script developers.

Kind Regards,
PremJK

Hi @DevoteamEndpointSecu,

Thanks for providing the requested files. Our script developers have prepared a script to suffice your needs, please run and provide your feedback.
https://scripts.itarian.com/frontend/web/topic/script-to-uninstall-adobe-all-versions

Kind Regards,
PremJK

Hi, @PremJkumar

Thanks a lot for providing us with the requested script. We will test it and come back with feedback about it as soon as possible.

Have a great weekend!

Regards,
– Javier Llorente
Endpoint Security - Devoteam

Hi, @PremJkumar

We have tested the provided script and it works fine for us. We have also modified it to cover all the different Adobe Flash Player versions within our scope, so the “prod_names” var in line #3 now is set as follow:


prod_names = [r'Adobe Flash Player 32 PPAPI', r'Adobe Flash Player 32 PPAPI', r'Adobe Flash Player 32 NPAPI', r'Adobe Flash Player 32 ActiveX', r'Adobe Flash Player 31 NPAPI', r'Adobe Flash Player 30 NPAPI', r'Adobe Flash Player 29 PPAPI', r'Adobe Flash Player 28 PPAPI', r'Adobe Flash Player 28 NPAPI', r'Adobe Flash Player 27 NPAPI', r'Adobe Flash Player 26 NPAPI', r'Adobe Flash Player 25 NPAPI', r'Adobe Flash Player 24 NPAPI', r'Adobe Flash Player 24 ActiveX', r'Adobe Flash Player 23 NPAPI', r'Adobe Flash Player 22 NPAPI', r'Adobe Flash Player 20 NPAPI', r'Adobe Flash Player 18 NPAPI', r'Adobe Flash Player 11 Plugin', r'Adobe Flash Player 11 ActiveX', r'Adobe Flash Player 10 Plugin', r'Adobe Flash Player 10 Plugin', r'Adobe Flash Player 10 ActiveX', r'Adobe Flash Player 9 Plugin', r'Adobe Flash Player 9 ActiveX', r'Adobe Flash 9 Public Alpha', r'Adobe Flash Player ActiveX']

We have confirmed that this modified version works fine with Adobe Flash Player 32 PPAPI, Adobe Flash Player 31 NPAPI, Adobe Flash Player 24 NPAPI, Adobe Flash Player 20 NPAPI, and Adobe Flash Player 10 ActiveX; we can safely assume it will also work fine for the other versions.

Feel free to add the modified line above to the published version of the script, so other users can uninstall these versions as well.

Again, thanks a lot for providing us with the requested script and for your kind help.

Have a great day!

Regards,
– Javier Llorente
Endpoint Security - Devoteam

Hi @DevoteamEndpointSecu ,

Thanks for checking the script and taking your valuable time to provide input. Our script developers have updated the script as per your comment.

Kind Regards,
PremJK

Hi, @PremJkumar

We have been experimenting a bit with the provided script and we have found that it can also be used to uninstall Oracle Java just by replacing the “prod_names” var in line #3 with the name of the Oracle Java versions we want to uninstall:

prod_names = [r'Java 7 Update 221', r'Java 7 Update 45', r'Java 7 Update 51', r'Java 7 Update 67', r'Java 7 Update 67 (64-bit)', r'Java 7 Update 75 (64-bit)', r'Java 7 Update 79 (64-bit)', r'Java 7 Update 80', r'Java 7 Update 80 (64-bit)', r'Java 8 Update 101', r'Java 8 Update 101 (64-bit)', r'Java 8 Update 111', r'Java 8 Update 111 (64-bit)', r'Java 8 Update 112 (64-bit)', r'Java 8 Update 121', r'Java 8 Update 121 (64-bit)', r'Java 8 Update 131', r'Java 8 Update 131 (64-bit)', r'Java 8 Update 141', r'Java 8 Update 141 (64-bit)', r'Java 8 Update 144', r'Java 8 Update 144 (64-bit)', r'Java 8 Update 151', r'Java 8 Update 161', r'Java 8 Update 161 (64-bit)', r'Java 8 Update 162 (64-bit)',r'Java 8 Update 171', r'Java 8 Update 171 (64-bit)', r'Java 8 Update 172 (64-bit)', r'Java 8 Update 181', r'Java 8 Update 181 (64-bit)', r'Java 8 Update 191', r'Java 8 Update 191 (64-bit)', r'Java 8 Update 192', r'Java 8 Update 192 (64-bit)', r'Java 8 Update 20 (64-bit)', r'Java 8 Update 201', r'Java 8 Update 201 (64-bit)', r'Java 8 Update 202', r'Java 8 Update 202 (64-bit)', r'Java 8 Update 211', r'Java 8 Update 211 (64-bit)', r'Java 8 Update 212', r'Java 8 Update 212 (64-bit)', r'Java 8 Update 221', r'Java 8 Update 221 (64-bit)', r'Java 8 Update 231', r'Java 8 Update 231 (64-bit)', r'Java 8 Update 241', r'Java 8 Update 241 (64-bit)', r'Java 8 Update 251', r'Java 8 Update 251 (64-bit)', r'Java 8 Update 261', r'Java 8 Update 261 (64-bit)', r'Java 8 Update 271', r'Java 8 Update 271 (64-bit)', r'Java 8 Update 281', r'Java 8 Update 281 (64-bit)', r'Java 8 Update 291', r'Java 8 Update 291 (64-bit)', r'Java 8 Update 301', r'Java 8 Update 301 (64-bit)', r'Java 8 Update 45', r'Java 8 Update 45 (64-bit)', r'Java 8 Update 51', r'Java 8 Update 51 (64-bit)', r'Java 8 Update 72 (64-bit)', r'Java 8 Update 74', r'Java 8 Update 74 (64-bit)', r'Java 8 Update 91', r'Java 8 Update 91 (64-bit)']

We have confirmed that this modified version works fine with all the Oracle Java versions within our scope; we can safely assume it will also work fine for the other versions.

Please note that there is a minor drawback: if there are several different versions of Oracle Java installed, all the versions will be uninstalled, but if there are different editions of the same version installed (32-bit and 64-bit), only one of them will be uninstalled. This is not an issue for us, we can just run again the script and the remaining editions will be uninstalled.

Maybe it would be a good idea to publish a specific “Script to Uninstall Oracle Java all Versions”, using the modified line above, so other users can uninstall Java as well.

Again, thanks a lot for providing us with the requested script, this one is proving to be very useful with just minor modifications.

Have a great day!

Regards,
– Javier Llorente
Endpoint Security - Devoteam

Hi @DevoteamEndpointSecu.

Thanks for taking the time to share your findings with us. We have shared it with our script developers to check for their reference.

Kind Regards,
PremJK

Can you please check the procedure, Is there something we can do on our side to troubleshoot the script execution?
tellculvers com survey taco bell breakfast hours

Hi @morasur,

Can you please explain the issue briefly, and share a screenshot of the error you are facing?

Kind Regards,
PremJK