Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2006, 06:45 AM
Authorized User
 
Join Date: Aug 2005
Location: vellore, t.n, India.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to harsh_hot
Default DISABLING CTRL-ALT-DELETE

HI FOLKS..I WANT TO DISABLE CTRL-ALT-DELETE(IN WINDOWS XP) USING A SCRIPT ...HW CAN I DO IT?
IF U HAVE ANY IDEA TO MY QUESTION..PLS ANS ME

 
Old February 6th, 2006, 06:51 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

No chance, you would need to implement your own version of MSGINA to do this and certainly not from a scripting level.

--

Joe (Microsoft MVP - XML)
 
Old February 6th, 2006, 07:18 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

if you can detect the eventKey Alt, can you not detect the eventKey Ctrl?

www.crmpicco.co.uk
 
Old February 6th, 2006, 07:22 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Yes, but the combination of those three keys is handled at a very low level. I think you'd have to install a Windows hook to cancel it.

I've seen some code that works on Windows 9x but not on NT. It's so dangerous because if a password protected screen saver or the like came up you'd never be able to log back in...

--

Joe (Microsoft MVP - XML)
 
Old February 6th, 2006, 08:50 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

yeah, i totally agree with you Joe. its certainaly something thats not recommended!

www.crmpicco.co.uk
 
Old February 6th, 2006, 08:51 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

just out of interest, what is a Windows Hook?

www.crmpicco.co.uk
 
Old February 7th, 2006, 08:52 AM
Friend of Wrox
 
Join Date: May 2004
Location: , , .
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Picco,

Its a function for trapping or monitoring whats going on inside an OS (usually at interrupt level). They can be local (for one or more App), or global, for the whole OS. They're used alot these days by hackers writing keylogging apps.

Cheers
Joe

 
Old February 7th, 2006, 11:31 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

thanks Joe

www.crmpicco.co.uk
 
Old February 7th, 2006, 12:23 PM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

thinking seriously about trying to completely disable Ctrl+Alt+Del - it not something that is not going to be either easy to do or something that can't be done with scripting

www.crmpicco.co.uk
 
Old February 10th, 2006, 03:30 AM
Authorized User
 
Join Date: Aug 2005
Location: vellore, t.n, India.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to harsh_hot
Default

hey folks..i have done it using Jscript ....can u pls tell me hw to disable alt key functions using registry..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Alt+Ctrl+Del Keys through Asp.Net 2005 p330418 ASP.NET 2.0 Basics 5 February 13th, 2008 01:18 PM
Disabling the "delete message" acheo Excel VBA 1 October 19th, 2006 08:42 PM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
How to block Alt+Ctrl+Del sagarkoirala VB How-To 0 August 8th, 2003 12:00 PM
API to disable CTRL ALT DELETE key stroke Dhodie Pro VB 6 2 July 9th, 2003 04:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.