Skip to content

Instantly share code, notes, and snippets.

@ur0n2
Created June 8, 2017 01:44
Show Gist options
  • Save ur0n2/185e41f5c0a836eee0507dda899072e8 to your computer and use it in GitHub Desktop.
Save ur0n2/185e41f5c0a836eee0507dda899072e8 to your computer and use it in GitHub Desktop.
Flash_Player_Remover_on_Win10.bat
echo off
cls
echo [-] Flash Player Remover for Windows 10 with Edge Browser.
takeown /f C:\Windows\SysWOW64\Macromed\Flash\*.*
takeown /f C:\Windows\System32\Macromed\Flash\*.*
cacls C:\Windows\SysWOW64\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
cacls C:\Windows\System32\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
regsvr32 C:\Windows\SysWOW64\Macromed\Flash\Flash.ocx /u /s
regsvr32 C:\Windows\System32\Macromed\Flash\Falsh.ocx /u /s
regsvr32 C:\Windows\SysWOW64\Macromed\Flash\FlashUtil_ActiveX.dll /u /s
regsvr32 C:\Windows\System32\Macromed\Flash\FlashUtil_ActiveX.dll /u /s
del C:\Windows\SysWOW64\Macromed\Flash\*.* /F /S /Q
del C:\Windows\System32\Macromed\Flash\*.* /F /S /Q
rd C:\Windows\SysWOW64\Macromed\Flash /S /Q
rd C:\Windows\System32\Macromed\Flash /S /Q
rd C:\Windows\SysWOW64\Macromed /S /Q
rd C:\Windows\System32\Macromed /S /Q
del C:\Windows\SysWOW64\FlashPlayerApp.exe /F /S /Q
del C:\Windows\SysWOW64\FlashPlayerCPLApp.cpl /F /S /Q
del C:\Windows\System32\FlashPlayerApp.exe /F /S /Q
del C:\Windows\System32\FlashPlayerCPLApp.cpl /F /S /Q
echo [-] Flash Player Remove Complete.
timeout 5 > NUL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment