干掉Flash的弹窗广告

自从国内某公司接管了Adobe Flash 在中国区的权限后,就定制了中国特制版Flash,在中国的只能用这个,然而这个定制版却不省心啊,有自带的广告,时不时就会弹出来,很烦人,其实网上都有很多方法教的,就是删掉FlashHelperService.exe这个程序

鉴于某些人懒得找,我就直接放一个一键干掉的bat代码吧,把下面的代码复制后保存到一个bat文件内,直接运行就可以干掉FlashHelperService.exe了

@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
taskkill /im FlashHelperService.exe /f
del C:\Windows\SysWOW64\Macromed\Flash\FlashHelperService.exe
pause

如果是32位,请使用下面这个命令

@echo off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
taskkill /im FlashHelperService.exe /f
del C:\Windows\System32\Macromed\Flash\FlashHelperService.exe
pause

代码声明:

第二行为申请管理员权限,第三行为停止该程序的服务,第四行为删除广告程序