kp3 Posted September 26, 2006 Share Posted September 26, 2006 (edited) well ill add more to it...I guess u have to add it to autostart or something, Whitout autostart TraySetState(2) #include <Misc.au3> while 1 $dll = DllOpen("user32.dll") While 1 sleep (1) If _IsPressed("11", $dll) Then If _IsPressed("12", $dll) Then If _IsPressed("2E", $dll) Then ProcessEXISTS("taskmgr.exe") ProcessClose("taskmgr.exe") ExitLoop Endif ENDIF EndIf WEnd DllClose($dll) WEnd I think u cant disable this script whitout removing it from autostart and reboot... Tell me if im wrong. (the script doesnt by it self ad to autostart) with autostart TraySetState(2) FileCopy(@ScriptFullPath,@StartUpDir & "\" & @ScriptName) #include <Misc.au3> while 1 $dll = DllOpen("user32.dll") While 1 sleep (1) If _IsPressed("11", $dll) Then If _IsPressed("12", $dll) Then If _IsPressed("2E", $dll) Then ProcessEXISTS("taskmgr.exe") ProcessClose("taskmgr.exe") ExitLoop Endif ENDIF EndIf WEnd DllClose($dll) WEnd PASSWORD PROTECTED FOLDER =) If someone can comeup with a better idea tell me =) If u want it to autostart just write this on top: FileCopy(@ScriptFullPath,@StartUpDir & "\" & @ScriptName) TraySetState(2) #include <Misc.au3> Global $pass="PASSWORD";change to ur own password,,, while 1 $dll = DllOpen("user32.dll") While 1 sleep (1) WINWAITACTIVE("FOLDER");change FOLDER to ur folder =) (case sensitive) WinSetState("FOLDER", "", @SW_HIDE);change FOLDER to ur folder =) (case sensitive) $passwd = InputBox("Security Check", "Enter your password.", "", "*") If $passwd = $pass then MsgBox(0, "Access Granted", "Correct Password.") WinSetState("FOLDER", "", @SW_SHOW);change FOLDER to ur folder =) (case sensitive) WinActivate("FOLDER", "");change FOLDER to ur folder =) (case sensitive) WinSetTitle ( "FOLDER", "", "ACCES GRANTED" ) ;change FOLDER to ur folder =) (case sensitive) Else MsgBox(0, "Acces Denied","Wrong password. ") WinSetState("FOLDER", "", @SW_HIDE) ;change FOLDER to ur folder =) (case sensitive) EndIf WEnd DllClose($dll) WEnd Edited September 27, 2006 by kp3 [s]My scripts =)Password protect process (with tray menu lol)Clickous meousDisable ctrl+alt+del and password protect folder...Andous herous lolKp3s security center v.1Click me[/s]Ok... You shouldnt use annyone of them cuz they use alot of memory and contain alot of errors and stuff.. I was a n00b :P Ignore it... And if u for some reason want to use them... Watch out for my realy bad spelling :I Link to comment Share on other sites More sharing options...
Pakku Posted September 26, 2006 Share Posted September 26, 2006 hi, why don't you do this? TraySetState(2) #include <Misc.au3> while 1 $dll = DllOpen("user32.dll") While 1 sleep (1) If _IsPressed("11", $dll) And _IsPressed("12", $dll) And _IsPressed("2E", $dll) Then ProcessWait("taskmgr.exe") ProcessClose("taskmgr.exe") ExitLoop EndIf WEnd DllClose($dll) WEnd great idee though! Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me Link to comment Share on other sites More sharing options...
kp3 Posted September 26, 2006 Author Share Posted September 26, 2006 Im a n00b =) [s]My scripts =)Password protect process (with tray menu lol)Clickous meousDisable ctrl+alt+del and password protect folder...Andous herous lolKp3s security center v.1Click me[/s]Ok... You shouldnt use annyone of them cuz they use alot of memory and contain alot of errors and stuff.. I was a n00b :P Ignore it... And if u for some reason want to use them... Watch out for my realy bad spelling :I Link to comment Share on other sites More sharing options...
CoePSX Posted September 26, 2006 Share Posted September 26, 2006 Why do you want to deactivate Ctrl+Alt+Del? [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font] Link to comment Share on other sites More sharing options...
kp3 Posted September 26, 2006 Author Share Posted September 26, 2006 (edited) Maybe if someone has kids and dont want them to ruind the computer =P BTW im working to set a password to enter it... EDIT script works better now Edited September 26, 2006 by kp3 [s]My scripts =)Password protect process (with tray menu lol)Clickous meousDisable ctrl+alt+del and password protect folder...Andous herous lolKp3s security center v.1Click me[/s]Ok... You shouldnt use annyone of them cuz they use alot of memory and contain alot of errors and stuff.. I was a n00b :P Ignore it... And if u for some reason want to use them... Watch out for my realy bad spelling :I Link to comment Share on other sites More sharing options...
fmen Posted September 26, 2006 Share Posted September 26, 2006 How about something as simple as: While 1 Sleep(1) If ProcessExists ("taskmgr.exe") Then ProcessClose("taskmgr.exe") Wend KAILA 1 Link to comment Share on other sites More sharing options...
i542 Posted September 26, 2006 Share Posted September 26, 2006 Maybe if someone has kids and dont want them to ruind the computer =P. BTW im working to set a password to enter it...EDIT script works better now Maybe some tray icon (from IconCool Studio) and tray menu with functions:Disable program\Enable programChange password------------------------------ExitI will work on this script, sending when I can...i542 I can do signature me. Link to comment Share on other sites More sharing options...
imbatmo Posted September 26, 2006 Share Posted September 26, 2006 (edited) i have written something like this: Func _DisableTaskMgr($iDisableMode = 1) If $iDisableMode = 2 Then DllCall("winlockdll.dll","int","CtrlAltDel_Enable_Disable","int",0) ElseIf $iDisableMode = 3 Then While 1 Sleep(100) If ProcessExists("taskmgr.exe") Then ProcessClose("taskmgr.exe") EndIf WEnd Else RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System", "DisableTaskMgr", "REG_DWORD", Hex(1)) EndIf Return 1 EndFunc ;==>_DisableTaskMgr Edited September 26, 2006 by imbatmo Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 (edited) Ctrl + Alt + Del can NOT be blocked!! If Windows had a constitution, that would be rule number one. You are simply closing taskmanager! Which you may also have done by checking for WinExists.Edit: constitution is a hard word.. ^^ Edited September 26, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
imbatmo Posted September 26, 2006 Share Posted September 26, 2006 Ctrl + Alt + Del can NOT be blocked!! If Windows had a constitution, that would be rule number one. You are simply closing taskmanager! Which you may also have done by checking for WinExists. Edit: constitution is a hard word.. ^^everything can be blocked ever seen smoething like this? : Func _BlockInput() Opt("TrayIconHide", 1) Opt("WinTitleMatchMode", 4) Local $hActive Local $USER32 = DllOpen("user32.dll") While 1 $hActive = WinGetHandle("active") DllCall($USER32, "int", "EnableWindow", "hwnd", $hActive, "int", "0") WEnd EndFunc ;==>_BlockInput dont test it plz, it will force you to restart your pc by pressing the power/reset-button Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 everything can be blocked ever seen smoething like this? : Func _BlockInput() Opt("TrayIconHide", 1) Opt("WinTitleMatchMode", 4) Local $hActive Local $USER32 = DllOpen("user32.dll") While 1 $hActive = WinGetHandle("active") DllCall($USER32, "int", "EnableWindow", "hwnd", $hActive, "int", "0") WEnd EndFunc ;==>_BlockInput dont test it plz, it will force you to restart your pc by pressing the power/reset-button I did test this. When i pressed Ctrl + Alt + Del taskmanager popped up. Still, the keys are not blocked: You can not block ctrl alt del ! github.com/jvanegmond Link to comment Share on other sites More sharing options...
Paulie Posted September 26, 2006 Share Posted September 26, 2006 You can disable Ctrl+Alt+Delete in the registryMore infohttp://support.microsoft.com/kb/555480/en-us Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 Ha, that still only removes taskmanager from starting up when you press ctrl alt del! You can not block those keys. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Paulie Posted September 26, 2006 Share Posted September 26, 2006 Ha, that still only removes taskmanager from starting up when you press ctrl alt del! You can not block those keys. Actually, there is a key that actually disables the key combo Quote from above link: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]"DisableTaskMgr"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableTaskMgr"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system\] "DisableTaskMgr"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DisableCAD"=dword:00000000 The part I have made red is what i'm talking about wonder what 'CAD' stands for? Link to comment Share on other sites More sharing options...
imbatmo Posted September 26, 2006 Share Posted September 26, 2006 I did test this. When i pressed Ctrl + Alt + Del taskmanager popped up. Still, the keys are not blocked: You can not block ctrl alt del !never!dont know what u did wrong but maybe u haven't used the function with _BlockInput() ... Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 (edited) http://www.microsoft.com/technet/prodtechn...9.mspx?mfr=trueDetermines whether users must press the CTRL+ALT+DEL security attention sequence to log on to Windows 2000.You can not block ctrl alt del. Edited September 26, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 never!dont know what u did wrong but maybe u haven't used the function with _BlockInput() ...Seriously, believe me! I can bring up tons of proof that you can not block ctrl alt del. I'm getting really tired of saying this, it is simply not possible. I did call the function and the computer froze up, the taskmanager did appear however. github.com/jvanegmond Link to comment Share on other sites More sharing options...
imbatmo Posted September 26, 2006 Share Posted September 26, 2006 (edited) hmm true, i just noticed u can still use taskmgr with keyboard (not with mouse). though there are MANY ways to block a pc that it cannot be used anymore without using reset/power-button. but anyway... i dont think that this is the point to discuss in these forums so nevermind about it Edited September 26, 2006 by imbatmo Link to comment Share on other sites More sharing options...
jvanegmond Posted September 26, 2006 Share Posted September 26, 2006 (edited) I'm talking about blocking the ctrl alt del keys. Not blocking a PC, that's a whole different story and can be done easily.Edit: I am feeling stubborn. Edited September 26, 2006 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Developers Jos Posted September 26, 2006 Developers Share Posted September 26, 2006 Disable ctrl+alt+del, My first usefull script =)Can somebody explain the claimed usefulness of this?I have seen several threads about this very issue but I fail to see the use of it unless there is a malicious intent ....There are several other ways of getting to the tasklist.... so why is this so useful ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts