Solved

Emergency !! help

Posted on 2002-03-20
9
180 Views
Last Modified: 2013-11-20
please tell me how to prevent CTRL-ALT-DEL in windows2000.

thanks/
0
Comment
Question by:can9999
  • 4
  • 2
9 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6881990
Try RegisterHotKey

GOOD LUCK
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6882001
Windows NT 5.0 introduces the ability to remove the necessity of pressing Ctrl-Alt-Del, the Security Attention Sequence (SAS) to logon. By default on a workstation this is no longer needed however on a server it is still necessary but this can be configured with a single registry entry.

Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Double click on DisableCAD (create of type REG_DWORD if it does not exist)
Set to 1 if you don't want to have to press Ctrl-Alt-Del, and set to 0 if you do. Click OK
Close the registry editor
Reboot the machine
Disabling this feature does not decrease the security of Windows NT. To gain access to the computer, users are required to log on to Windows NT with a valid user name and password. The Windows NT logon process suspends all other user-mode processes to protect the logon process and is the only process that can create the access tokens used by the Windows NT security system.

This can also be set via a GUI on Windows 2000 Professional as follows:

Start the Users and Passwords control panel applet (Start - Settings - Control Panel - Users and Passwords)
Select the Advanced tab
Unselect "Require users to press Ctrl-Alt-Delete before logging on."
 
Click Apply then OK
0
 
LVL 1

Author Comment

by:can9999
ID: 6882008
thanks roshmon ,but..

I want to program it with MFC.

I'd programed it with SystemParametersInfo ...

But it doesn;t work in win2000..

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 23

Accepted Solution

by:
Roshan Davis earned 200 total points
ID: 6882037
0
 
LVL 1

Author Comment

by:can9999
ID: 6882045
it doesn't work in win2000..

it may be some difference win2000 and winnt 5.0
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 6882051
No. NT 5.0 is Win 2000
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short film showing how OnPage and Connectwise integration works.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now