forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Possible way of disabling CTRL+ALT+DEL in XP/2000/NT

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Nov 05, 2002 10:34 pm    Post subject: Possible way of disabling CTRL+ALT+DEL in XP/2000/NT Reply with quote

I don't know if this article applies to Windows 2000/XP/NT, but here's a link with some information:
http://msdn.microsoft.com/archive/default.asp?url=/ARCHIVE/en-us/dnarvbtips/html/msdn_msdn178.asp

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Nov 05, 2002 11:52 pm    Post subject: Reply with quote

The below is a link to a kit to disable CTRL+ALT+DEL all versions of Windows including Windows NT/2000 and XP.
Quote:
KeyboardControl Software Developer Kit allows custom Win32 applications to expand control over Windows environment by adding the ability to filter out and disable any keystroke or combination keystroke such as PrintScreen, Alt+Tab, Alt+F4, Ctrl+Tab, Ctrl+Alt+Del, Alt+Esc, Ctrl+F4, etc. on all versions of Windows including Windows NT/2000 and XP. It's a very valuable tool for leading-edge security applications development.

Requirements:
Microsoft Visual C++, Borland C++ Builder, Microsoft Visual Basic, Borland Delphi or any other Win32 compliant IDE.
Windows 95/98/Me or NT/2000/XP.


http://www.meliorasoft.com/kits/keyboard/index.htm

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Nov 06, 2002 12:41 am    Post subject: Reply with quote

After doing some more reading online, I found that simulating the ctrl+alt+del on NT based systems is not going to happen. NT won't allow it at all. It's part of the security measures built into the NT system. There were references to a GINA dll, but such references were about making a wrapper or something like that. Far too complicated for my feable brain.

So it looks like that code I did will only work on Windows 95 through Windows ME.

-Garrett
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Wed Nov 06, 2002 1:36 pm    Post subject: Reply with quote

Hi,

I cant seem to reach the website Freezingfire...always times out... Do you have another place where I can get it? If its not too complicated I may be able to do a DLL for it or included in my future DLL. (Of course if they give it away as a freeware)

Thanks Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Nov 06, 2002 1:50 pm    Post subject: Reply with quote

Hey All,
I just looked at that kit and it is a $299 kit? Wow I wander why it is so much? Anyway I kust thought you would want to know.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Wed Nov 06, 2002 1:56 pm    Post subject: Reply with quote

Wow what a steal!!!!

Anyway I found some VB code to Disable CTRL-ALT-DEL I will try to convert this to Delphi and see how it goes...

Thanks Mindpower for the info... Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Nov 06, 2002 2:48 pm    Post subject: Reply with quote

Also the MSDN article above from FreezingFire will not work on NT and above.

Quote:

I don't know if this article applies to Windows 2000/XP/NT, but here's a link with some information:
http://msdn.microsoft.com/archive/default.asp?url=/ARCHIVE/en-us/dnarvbtips/html/msdn_msdn178.asp

[/url]

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Wed Nov 06, 2002 2:59 pm    Post subject: Reply with quote

The Keyboard Control software that FreezingFire mentioned seems to include some
(kernel?) drivers, which probably explains why it's so expensive. At least I expect it to
require administrator privileges on Windows NT in order to work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Nov 06, 2002 4:22 pm    Post subject: Reply with quote

BTW, the vdssave.dll disables the ctrl+alt+del keys. Problem is though, that I still can't get any of the hotkey dlls to intercept those keys after the dll has disabled windows from catching them.

-Garrett
Back to top
View user's profile Send private message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Wed Nov 06, 2002 4:50 pm    Post subject: Reply with quote

Quote:
BTW, the vdssave.dll disables the ctrl+alt+del keys. Problem is though, that I still can't get any of the hotkey dlls to intercept those keys after the dll has disabled windows from catching them
.

Not on an NT machine. I tried to today. Confused

Like I said I found some piece of code and will try tonight if I have a chance...

There`s something about registering the app as a service on NT and then disabling the CTRL-ALT-DEL using some code...

Ciao
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Feb 08, 2003 11:36 pm    Post subject: Reply with quote

Here's another article on MSDN for NT/2K/XP, etc.

http://msdn.microsoft.com/msdnmag/issues/02/09/CQA/default.aspx

Also you can find a lot more with this link:
http://www.google.com/search?q=ctrl%2Balt%2Bdel+nt+site%3Amsdn.microsoft.com

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sun Feb 09, 2003 11:34 pm    Post subject: Reply with quote

The article FreezingFire mentioned is great! For those of you who didn't read the full
article, this is the clue:

Quote:

You can forget about GINA because all you have to do to disable Ctrl+Alt+Del is set a policy. Really. Go to the Start menu, select Run, and type "gpedit.msc" to run the Group Policy editor. Look in User Configuration | Administrative Templates | System and you'll find a section called Ctrl+Alt+Del Options (see Figure 2). "Remove Task Manager" is just the ticket to make Ctrl+Alt+Del go bye-bye. From code, you have to set the registry entry:
HKCU\
Software\
Microsoft\
Windows\
CurrentVersion\
Policies\
System\DisableTaskMgr = dword:1


Now if Joe User types Ctrl+Alt+Del, he'll get a message like the one in Figure 3. So the short answer to the first half of your question—how to disable Ctrl+Alt+Del in Windows XP?—is: enable the policy "Remove Task Manager," either in GPEDIT or by setting the registry entry. I assume you've already disabled Ctrl+Alt+Del for logon by checking "Use the Welcome screen" in Control Panel | User Accounts (see Figure 4), since otherwise you wouldn't be asking about Task Manager. If you aren't using the Welcome screen, then setting DisableTaskMgr disables the Task Manager button from the logon/logoff dialog.



I haven't tested this myself yet, but this seems perfect.

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Feb 10, 2003 3:17 pm    Post subject: Reply with quote

Tommy wrote:
The article FreezingFire mentioned is great! For those of you who didn't read the full
article, this is the clue:

Quote:

You can forget about GINA because all you have to do to disable Ctrl+Alt+Del is set a policy. Really. Go to the Start menu, select Run, and type "gpedit.msc" to run the Group Policy editor. Look in User Configuration | Administrative Templates | System and you'll find a section called Ctrl+Alt+Del Options (see Figure 2). "Remove Task Manager" is just the ticket to make Ctrl+Alt+Del go bye-bye. From code, you have to set the registry entry:
HKCU\
Software\
Microsoft\
Windows\
CurrentVersion\
Policies\
System\DisableTaskMgr = dword:1


Now if Joe User types Ctrl+Alt+Del, he'll get a message like the one in Figure 3. So the short answer to the first half of your question—how to disable Ctrl+Alt+Del in Windows XP?—is: enable the policy "Remove Task Manager," either in GPEDIT or by setting the registry entry. I assume you've already disabled Ctrl+Alt+Del for logon by checking "Use the Welcome screen" in Control Panel | User Accounts (see Figure 4), since otherwise you wouldn't be asking about Task Manager. If you aren't using the Welcome screen, then setting DisableTaskMgr disables the Task Manager button from the logon/logoff dialog.



I haven't tested this myself yet, but this seems perfect.

Tommy


Ok I just tried this under Win2k and it did not work... I guess it is only for XP unless I needed to reboot for the new policy setting to take Question If you have to reboot I don't think this will work for FF's purpose Question

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Feb 10, 2003 4:06 pm    Post subject: Reply with quote

When making changes to the registry more then likely you will need to reboot for changes to take effect. There is some sort of trick which allows you to reload explorer which will do the same thing as a reboot, I think it was discussed somewhere on the forums long ago, not sure though.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group