hey everyone , need some help figuring how to block common keyboard commands such as:
Alt Ctrl Del, Windows Run, Windows E, Windows Pause/Break, Ctrl Esc, Alt Tab, Windows key,
Thank you
Professional Software Development Tools
hey everyone , need some help figuring how to block common keyboard commands such as:
Alt Ctrl Del, Windows Run, Windows E, Windows Pause/Break, Ctrl Esc, Alt Tab, Windows key,
Thank you
If this is on a kiosk system that your app will be running on permanently, and you just want to disable those keys completely, you could use KeyTweak to disable (some of) them. (I don't think this method would disable ctrl+alt+del as the system processes that before the scancode is translated.)
Or were you wanting to disable those keys only while your application is running?
--[[ Indigo Rose Software Developer ]]
Hey emma,
Maybe this is it what u want?
if System.IsKeyDown(13) then
-- The user is holding down the 'enter' key (13 is a virtual key integrated by --- AMS, you also can use the LuaScript).
end
I refer you to the helpfile inside AMS and search in the index on System.IsKeyDown. You find the values there !!
This will definitely help you !
Kind Regards,
Casper
hmmm... thank you guys. I'll see what I can do. Not experienced in AMS at all.
I will have my kiosk running on a lot of computers and different locations so the easiest way to disable keyboard keys is in my kiosk, if its just one computer I can disable a lot of functions from gpedit
Last edited by emma06; 11-21-2006 at 03:11 PM.
nice !
keep in mind you dont abuse this method for potential clients
if you know what I mean![]()
Kind Regards,
Casper
hey guys this is not enough of information for me as a AMS starter. can I just pay someone to do this? or can I buy a plugin or some little copy and paste thingy.
Well to disable ctrl+alt+del you can use a script like this (registery script):
PHP Code:REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableTaskMgr"=dword:00000001
And here the reg script to enable it again:
PHP Code:REGEDIT4
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
"DisableTaskMgr"=dword:00000000
Remember that am not responsible for any damage it can bring on the system you install this script.
(This change does not affect how Windows works, merely changes the results on pressing ctrl+alt+del.)
Last edited by Ham; 11-24-2006 at 06:21 PM.
Ham, so I can put this code in the 'when application starts, and reenable alt ctrl del on application exit, so this should work right?
this works fine, but you need to call from an external web file for this to work, AMS dose not support php file running
well i dont seem to be able to get it to work unless i call a remote file on a website.
These are reg file's not php.
This is what i use for Alt Ctrl Del but use this at your own risk!
Put this in On Startup.
Put this in On Shutdown.Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Pol icies\\System", "DisableTaskMgr", 1, REG_DWORD);
Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Pol icies\\System", "DisableTaskMgr", 0, REG_DWORD);
yep that works and thank you so much. ....but, anyone can help adding more command blocking: like let's say how to block 'locking the workstation' when you click alt-ctrl-del it blocks the task manager but still brings up the alt-ctrl-del menu with options like change password, lock computer, etc.
Hummm,
It can be done with regkeys, but make sure you know what you doing.
You want something like this: "gpedit.msc" in Start->Run (type without quotes) to give rights ?
I will have a closer look this week, im very busy last week.
-Casper
Did you try the use of KeyTweak ?