Create a batch file and paste the following text:
Code: Select all
@echo off
cls
takeown /f "%SystemRoot%\System32\Macromed" /r /d y > NUL 2>&1
takeown /f "%SystemRoot%\SysWOW64\Macromed" /r /d y > NUL 2>&1
icacls "%SystemRoot%\System32\Macromed" /grant administrators:F /t /q > NUL 2>&1
icacls "%SystemRoot%\SysWOW64\Macromed" /grant administrators:F /t /q > NUL 2>&1
rd "%SystemRoot%\System32\Macromed" /Q /S > NUL 2>&1
rd "%SystemRoot%\SysWOW64\Macromed" /Q /S > NUL 2>&1
rd "%AppData%\Adobe\Flash Player" /Q /S > NUL 2>&1
rd "%AppData%\Macromedia" /Q /S > NUL 2>&1
del "%SystemRoot%\SysWOW64\FlashPlayerApp.exe" /Q /S > NUL 2>&1
del "%SystemRoot%\SysWOW64\FlashPlayerCPLApp.cpl" /Q /S > NUL 2>&1
You shouldn't need to use the Administrator account to accomplish this, only a member of the Administrators group.
NOTE: This is intended for those who don't have Flash installed on their systems by any other means. I've not tested this by installing a downloaded version of Flash on top of the built-in version. The audience here is for companies or individuals who wish to remove Flash completely. You'll also want to make sure any Flash plugins are disabled in your Internet browsers. To remove any downloaded versions, use the Uninstall app linked above.
This batch script will also be handy if Microsoft reinstalls Flash via Windows Update.
I hope you find this useful. I'm sure various blogs and forums will pick this up at some point and copy the work as their own.