User Tools

Site Tools


windows:autoit:auto_kill_ie

Some user kept on browsing sites he wasn't supposed to. I was asked to uninstall IE, but that was not possible on that OS, so I just wrote a small script to keep the browser closed at all times.

KillIE.au3
; Remove tray icon
TraySetState(2)
 
; Loop diz' biatch. KILL, KILL, KILL!
While 1
	ProcessClose("iexplore.exe")
	Sleep(1000)
WEnd
windows/autoit/auto_kill_ie.txt · Last modified: 2015/08/20 22:07 by biggi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki