[Windows 10] How to completely uninstall Flash player

It is time to say goodbye to Flash Player! :zap:

Adobe Flash Player is reached its end of life on December 31, 2020. It will not receive any important security updates leaving computers vulnerable to attacks. If you still have it installed on your computer, you can use this powershell script below to completely uninstall Flash from your computer.
It runs Adobe Uninstaller and removes all other plug-ins/files that may be lingering even after uninstaller run. In short, running this script removes all signs of flash player from Windows 10 machine

How it works

This script:

  1. Downloads and runs Adobe Flash removal tool
  2. Uninstalls any Flash ActiveX or NPAPI plugins
  3. Removes below files and folder:
C:\Windows\system32\Macromed\Flash
C:\Windows\SysWow64\Macromed\Flash
%appdata%\Adobe\Flash Player
%appdata%\Macromedia\Flash Player
C:\Windows\SysWOW64\FlashPlayerApp.exe
C:\Windows\SysWOW64\FlashPlayerCPLApp.cpl

Installation

  1. Download flashremoval.zip and extract flashremoval.ps1 file inside to desired location, preferably C:\temp
  2. Open Windows Powershell as administrator. (its needs to run as administrator or script will error out)
  3. Run flashremoval.ps1 using the relative path where its downloaded. Ex:
PowerShell
C:\temp\flashremoval.ps1

Script will run and remove all flash player existense

It is also recommended to install standalone Windows update KB4577586 that microsoft released to get rid of Flash.