buttercheese Posted October 18, 2004 Posted October 18, 2004 Hello together, sorry, couldn´t find the needed info searching the forum. I want to block CTL+ALT+DEL while my kiosk-application is running. Is there any way to disable CTL+ALT+DEL and re-enable, when the application is done? Thanks in advice buttercheese
trids Posted October 18, 2004 Posted October 18, 2004 You can use this cool idea ..#36658(( thanks to Ezzetabi and Cyberslug ))
trids Posted October 18, 2004 Posted October 18, 2004 Oops :"> .. according to the helpfile (see HotKeySet) .. this won't work for ALT+CTRL+DEL!Sorry!
buttercheese Posted October 18, 2004 Author Posted October 18, 2004 Hello again,I found the following software, that can do the job:http://www.phord.com/keyblock.htmlYou can disable and reactivate CTRL-ALT-DEL without reboot.I wonder, if some of you code-gurus will be able to give us the autoit-way to do more or less the same. best wishesbuttercheese
SlimShady Posted October 18, 2004 Posted October 18, 2004 I hope not. Way too dangerous. Just like memory reading and partition managing.
buttercheese Posted October 18, 2004 Author Posted October 18, 2004 I hope not. Way too dangerous. Just like memory reading and partition managing.<{POST_SNAPBACK}>Pardon?What´s to dangerous? I posted the link, to show what functionality I (and many others) need.Would be really very nice to get some code-gurus answer.buttercheese
SlimShady Posted October 18, 2004 Posted October 18, 2004 This:You can disable and reactivate CTRL-ALT-DEL without reboot.I wonder, if some of you code-gurus will be able to give us the autoit-way to do more or less the same.
buttercheese Posted October 18, 2004 Author Posted October 18, 2004 Hi SlimShady, your answer is more or less no answer for me. Would you please be so kind, explaining a bit more detailed, where you see the problem? What will you do, if you should avoid Ctrl-Alt-Del for a Kiosksystem where you need the keyboard? Thanks in advice buttercheese
sugi Posted October 18, 2004 Posted October 18, 2004 Would you please be so kind, explaining a bit more detailed, where you see the problem?AutoIt has been classified as a virus a few times already and adding functionality like this is dangerous because it makes the decision for AV software companies a lot easier to classify AutoIt as a virus again.
buttercheese Posted October 18, 2004 Author Posted October 18, 2004 So, if avoiding is more or less not possible, are there any workarounds to make ctrl-alt-del impossible? (the problem is, that the pupils working with the pc´s are a bigger security problem than everything else ;-)) they should run only one given application (fullscreen)
buttercheese Posted October 18, 2004 Author Posted October 18, 2004 p.s. sugi, I run the mentioned keyblocker with active and actual virus-scanner. No problem, no note, nothing happened. cheers buttercheese
ioliver Posted October 19, 2004 Posted October 19, 2004 One thing you can do for a Kisok, is not disable Ctrl+Alt+Del, just limit what it can do. That's if you are running 2000 or XP. Then you can use a Group Policy to disable things like Change Password, Task Manager, Logoff, Lock Computer, and Shutdown. So if a user press Ctrl+Alt+Del all he can do is Cancel. It may be a good idea to leave the Logoff option enabled, and just setup Autologon. That way if you need to Logon, you can. Just a suggestion, Ian "Blessed be the name of the Lord" - Job 1:21Check out Search IMF
ioliver Posted October 19, 2004 Posted October 19, 2004 Here's a Kiosk Script that I have been working on. It's works for my situtation, you may need to change it up a bit for your's. Also it reads two settings from an INI file, so you'll need to create that file, but it's easy... expandcollapse popup; kioskwatch3.au3 ; March 9, 2004 ; Built with AutoIt3 ; Starts Internet Explorer in Kiosk Mode and ; prevents any (Ctrl +) HotKeys from being used. ; March 3, 2004: Added Maintenance Mode ; Maintenance Mode starts a Command Prompt ; This is usefull if KioskWatch runs as the Windows Shell ; March 4, 2004: Script now block (Alt + Tab), ; and will close any Pop-up windows ; March 9, 2004: Added the function to check for 2 minutes of Idle Time ; August 30, 2004: Modified the script to get Homepage location from ; the kw3.ini file, and restart IE in Kiosk Mode if it's closed Global $StartTime ; Read in Maintenance Password $maintpw = IniRead("C:\kw3.ini", "Settings", "PW", "") $homepage = IniRead("C:\kw3.ini", "Settings", "Homepage", "") Call ("StartTimer") Run("C:\Program Files\Internet Explorer\iexplore.exe -k " & $homepage) Sleep(500) AutoItSetOption("WinTitleMatchMode", 2);2 = Any Substring While 1;Infinite Loop ; Restarts IE in Kiosk Mode if necessary If Not WinExists(" - Microsoft Internet Explorer") Then Run("C:\Program Files\Internet Explorer\iexplore.exe -k " & $homepage) EndIf ; Handles IdleTime $MPos1 = MouseGetPos() $CPos1 = WinGetCaretPos() ; Handles Hotkeys If WinActive(" - Microsoft Internet Explorer") Then HotKeySet("!{TAB}", "Block") HotKeySet("^h", "Block") HotKeySet("^a", "Block") HotKeySet("^b", "Block") HotKeySet("^c", "Block") HotKeySet("^f", "Block") HotKeySet("^l", "Block") HotKeySet("^n", "Block") HotKeySet("^o", "Block") HotKeySet("^p", "Block") HotKeySet("^s", "Block") HotKeySet("^v", "Block") HotKeySet("^w", "Block") HotKeySet("^x", "Block") HotKeySet("^!z", "Maintenance") EndIf ; Block Pop-ups (The followingn Pop-ups were specific to My.LSUE) ;If WinExists("Connect to *****.lsue.edu") Then ; WinClose("Connect to *****.lsue.edu") ;EndIf ;If WinExists("Microsoft Internet Explorer", "&Yes") Then ; WinActivate("Microsoft Internet Explorer", "&Yes") ; Send("!y") ;EndIf ; Handles IdleTime (Continued) $MPos2 = MouseGetPos() $CPos2 = WinGetCaretPos() If $MPos1[0] <> $MPos2[0] Then Call("StartTimer") ElseIf $CPos1[0] <> $CPos2[0] Then Call("StartTimer") EndIf $EndTime = TimerStop($StartTime) If $EndTime > 120000 Then;120000 = 2 minutes Call("CloseIE") Call("StartTimer") EndIf Sleep(3);Reduces the load this script puts on the CPU time Wend Func Block() EndFunc Func StartTimer() $StartTime = TimerStart() EndFunc Func CloseIE() ;$title = WinGetTitle(" - Microsoft Internet Explorer") ;If $title <> "http://*****.lsue.edu/ - Microsoft Internet Explorer" Then Send("!{F4}");Closes the Internet Explorer Window ;EndIf EndFunc Func Maintenance() $Password = InputBox("AutoIt3 - KioskWatch3 Maintenance Mode", "Enter KioskWatch3 Maintenance Mode Password:", "", "*") If $Password = $maintpw Then $choice = MsgBox(547, "AutoIt3 - KioskWatch3 Maintenance Mode", "Yes - Command Prompt" & @LF & "No - Exit Script" & @LF & "Cancel - Return to Kiosk") If $choice = 6 Then Run("cmd") EndIf If $choice = 7 Then Exit EndIf If $choice = 2 Then EndIf EndIf EndFunc "Blessed be the name of the Lord" - Job 1:21Check out Search IMF
sugi Posted October 19, 2004 Posted October 19, 2004 p.s. sugi, I run the mentioned keyblocker with active and actual virus-scanner. No problem, no note, nothing happened.Because the Keyblocker lacks a lot functionality that AutoIt offers. Just search the forum for "virus" and you should have enough posts explaining the whole problem as this has been discussed several times.
Guest BL@(K-R34P3R Posted October 19, 2004 Posted October 19, 2004 Check this website:http://neworder.box.sk/They know everything about everything.
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