Skip to content

Instantly share code, notes, and snippets.

Last active October 13, 2023 20:08
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Elepover/1bbc559231c1c158b743e9ef6f765333 to your computer and use it in GitHub Desktop.
Script to delete FlashHelperService and prevent it from coming back again
@echo off
REM Made by Elepover
set FILENAME=%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashHelperService.exe
title See ya, FlashHelper!
echo Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
echo Permission granted, moving on...
) else (
echo Permission not granted, please run the script as administrator.
goto DONE
echo Muting the moron...
taskkill /f /t /im FlashHelperService.exe
echo Destroying it...
del /f /s /q %FILENAME%
echo Permanently removing its seat...
sc delete "Flash Helper Service"
echo Preventing it from spawning again...
mkdir %FILENAME%
echo FlashHelperService.exe >> %FILENAME%\Grave.txt
echo Done!
echo Press anywhere on your keyboard to continue.
pause >nul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment