psynegy Posted May 11, 2007 Posted May 11, 2007 Okay, it's all very well having the BlockInput() function, but is there a way to stop people from being able to press ctrl+alt+del? I'm getting a bit fustrated with ctrl+alt+del... As soon as I want to do something, autoit can't do it because those keys get in the way ¬_¬ Cheers for any help!
psynegy Posted May 11, 2007 Author Posted May 11, 2007 Doesn't help me disable someone from pressing it when I want too, I basically want to be able to lock a workstation completely, no keyboard, mouse or power buttons. Autoit just doesn't seem to be up to the job at the moment... *cries*
James Posted May 11, 2007 Posted May 11, 2007 Reg edistry! Google it! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
psynegy Posted May 11, 2007 Author Posted May 11, 2007 Reg edistry! Google it!Only want the power button/ctrl+alt+delete disabled tempoarily (e.g. toggle)
mmavipc Posted May 11, 2007 Posted May 11, 2007 (edited) if processexists("taskmgr.exe") then processkill("taskmgr.exe") blockinput(1) endif put that in a loop. that will disable CTRL+ALT+DELETE Edited May 11, 2007 by mmavipc [size="10"]Pure Au3 crypt funcs(I'm currently also working on making a dll from this)[/size][Y] Be more active in the community[Y] Get 200 posts[N] Get 300 posts[N] Make a Topic in the example scripts forum with at least 50 replies.People who currently hate me:ValikSmOke_N
James Posted May 11, 2007 Posted May 11, 2007 (edited) I dont think you can disable the power button, that goes straight to the motherboard. Also try looking at _IsPressed() Edited May 11, 2007 by Secure_ICT Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
James Posted May 11, 2007 Posted May 11, 2007 Yes, but then that would just be stupid Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
erebus Posted May 11, 2007 Posted May 11, 2007 Maybe for you. If that would be stupid, I don't think that it would be a wide open option in Windows.
psynegy Posted May 11, 2007 Author Posted May 11, 2007 if processexists("taskmgr.exe") then processkill("taskmgr.exe") blockinput(1) endif put that in a loop. that will disable CTRL+ALT+DELETE Nice idea, but the computers are all on a domain, ctrl+alt+delete brings up the user info page with things like lock workstation, log off, tskmanager I suppose I could wait for them to press ctrl+alt+delete, press ESC, then lock it again... Worth a try... And as for the power button, is it possible to identify when windows is going into shutdown? That way I can just issue, shutdown -a! Genious? I think so! (Major bodge job also, but such is windows!)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now