Tip: How to remove the baked-in Adobe Flash from Windows 10?

This forum serves as discussion and support collaboration point for products and services of the WPN-XM project.
User avatar
jakoch
Site Admin
Posts: 13
Joined: Mon Dec 07, 2015 2:07 pm
Location: Berlin, Germany
Contact:

Tip: How to remove the baked-in Adobe Flash from Windows 10?

Postby jakoch » Wed Feb 08, 2017 3:43 pm

Here is a helper for removing the baked-in Adobe Flash from Windows 10:

remove-flash.bat

Code: Select all

@echo off

echo Remove Adobe Flash from Windows 10
echo.
echo This will remove the baked-in Adobe Flash from Windows 10.
echo Run this script as admin.
echo.
pause

takeown /f "%windir%\System32\Macromed" /r /d y
icacls "%windir%\System32\Macromed" /grant users:F /t
rd /s /q "%windir%\System32\Macromed"
echo.

takeown /f "%windir%\SysWOW64\Macromed" /r /d y
icacls "%windir%\SysWOW64\Macromed" /grant users:F /t
rd /s /q "%windir%\SysWOW64\Macromed"
echo.

takeown /f "%windir%\SysWOW64\FlashPlayerApp.exe" /r /d y
icacls "%windir%\SysWOW64\FlashPlayerApp.exe" /grant users:F /t
rd /s /q "%windir%\SysWOW64\FlashPlayerApp.exe"
takeown /f "%windir%\SysWOW64\FlashPlayerCPLApp.cpl" /r /d y
icacls "%windir%\SysWOW64\FlashPlayerCPLApp.cpl" /grant users:F /t
rd /s /q "%windir%\SysWOW64\FlashPlayerCPLApp.cpl"
echo.

rd /s /q "%appdata%\Adobe"
rd /s /q "%appdata%\Macromedia"
echo.

pause

Who is online

Users browsing this forum: No registered users and 0 guests