Solved

Emergency !! help

Posted on 2002-03-20
9
197 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 147
Pressing cancel button with C# UI Automation 3 80
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 103
Problem to open Excel file 15 172
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

792 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