How to uninstall all the various version of Flash Player
Hello All
Since Flash Players most recent vulnerability has been posted, the security team at my company has asked me (the System Center Admin) to uninstall all previous versions of Flash player (<= 18.0.0.161) that might be installed through out the company (roughly 2200 + computers) and re-install the latest package (>= 18.0.0.194). <rant> Going from having no Flash Player management to some management has been a gigantic PIA! This page Uninstall Flash Player | Windows says to run the uninstaller and then go manually remove the files, they don't mention that there are registry keys that also need to be removed and that you cant manually remove anything without taking over ownership from "Trusted Installer" and assigning "full control" to another user or group in the security GUI. REALLY Frustrating and I cant do that for over 2000 computers. </rant>
Ok Enough griping. I need help removing the previous versions first. The common thread on the internet and Adobe Support seems to be to download the most recent Uninstall_Flash_Player.exe and use the -uninstall switch to run silently. This seems to have inconsistent results at best.
I have a Win 8.1 test machine with Flash 17.0.0.188 on it and when I run the uninstaller, it completes just fine (no errors), but nothing has changed. Registry entries are still there, files are still in C:\Windows\System32\Macromed\Flash. Only running user processes were regedit, file explorer and powershell, so no flash dependent applications.
On my Win 7 box, the uninstaller removed the registry values tied to the keys, but not the keys them selves and also remove most but not all the files under C:\Windows\System32\Macromed\Flash, but not the directory its self.
Can anyone help me put together a solid, consistent way to uninstall various old version of flash that I can automate with PowerShell?
Thanks in advance for the help.
