Jump to content

Recommended Posts

Posted

Hey guys, ive been messing with a little program to block all IE pages from opening on my mothers cp, b/c stepdad and brother have a tendency to use HER cp when shes at work, lol. My question is, is there a to NOT show the process in processlist? I dont want them to CTRL + ALT + DEL to close the process....

Any Ideas?

Crome

Posted (edited)

you could do a while loop that does

#notrayicon ; to make sure they dont pause the script

While 1

If ProcessExists(ProcessHereforIE) Then

ProcessExit(IEProcess) - Wrong function, but you get the picture, its in the help file somewhere

EndIf

WEnd

EDIT: I just realized, I didn't answer your question, but this should work. I don't think they would find the process if you named it something clevor like Win32UpKeep.exe or something that sounds professional

Edited by Encryption
Posted

Hmmmmm i dont understand all that well, lol im trying to. If i can get it so that cannot close the program via CTRL ALT DELETE, it will be great.

<{POST_SNAPBACK}>

I dont think that is possible, but I could be wrong.
Posted

My question is, is there a to NOT show the process in processlist? I dont want them to CTRL + ALT + DEL to close the process....

Any Ideas?

<{POST_SNAPBACK}>

How about this. Revise the hot keys and the processes it monitors to suit yourself

; Note: Give this script a name that would disguise itself if another scritp
; is used to review the list of processes (e.g. Directdcr.au3), and compile it.

; To stop this script, quickly press F9, then F6 and finally F4.
; Hesitate too long and the sequence resets.  A quick message and
; a beep occur when successful.
HotKeySet("{F9}", "_Stop1")

opt("TrayIconHide", 1)
opt("WinTitleMatchMode", 2)

; Acknowledge start up
DllCall ("user32.dll", "int", "MessageBeep", "int", 0x33333333)
SplashTextOn("Activating Security", "Security has been activated", 250, 25)
sleep(1000)
SplashOff()

; Keep the script alive
$iLoopDaLoop = 1
While $iLoopDaLoop = 1
  ; Force these windows to close whenever they appear.
   Winclose("Windows Task Manager")
   Winclose("Internet Explorer")
   Winclose("Firefox")
   Winclose("Outlook Express")
   Winclose("Connect")
   Sleep(10)
WEnd

; Acknowledge shut down
DllCall ("user32.dll", "int", "MessageBeep", "int", 0x33333333)
SplashTextOn("Protection Halted", "Disabled programs are allowed again.", 300, 25)
sleep(1000)
SplashOff()
Exit


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Func _Stop1()
  ; First key pressed in the stop sequence
   HotKeySet("{F9}")
   HotKeySet("{F6}", "_Stop2")
   Sleep(250)
  ; Took too long.
   HotKeySet("{F9}", "_Stop1")
   HotKeySet("{F6}")
EndFunc


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Func _Stop2()
  ; Second key pressed in the stop sequence
   HotKeySet("{F6}")
   HotKeySet("{F4}", "_Stop3")
   Sleep(250)
  ; Took too long.
   HotKeySet("{F9}", "_Stop1")
   HotKeySet("{F4}")
EndFunc


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Func _Stop3()
  ; Last key pressed in the stop sequence
  ; Break the loop
   $iLoopDaLoop = 0
EndFunc

Phillip

Posted

Very, very nice idea.

One fault though(I think)

When you press Ctrl+Alt+Delete to get to the task manager, does the AutoIt script still make it close? I can't remember if it did or not.

Posted

Very, very nice idea. 

One fault though(I think)

When you press Ctrl+Alt+Delete to get to the task manager, does the AutoIt script still make it close?  I can't remember if it did or not.

<{POST_SNAPBACK}>

Yep, the task manager closes. At least it does in XP SP1. Give it a try.

Phillip

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...