473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

how to disable ctrl+alt+del and alt+tab in c#?

I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?

thanks!
Nov 16 '05 #1
4 3529
Hi zjflyer:

You don't want to try to disable ctrl+alt+del from a user application.
The operating system takes this combination of keys very seriously
since it will usually involve a user entering thier password, and you
would not want just any software on the computer grabbing user
passwords.

If you want to provide a cutomized logon procedure, you'll want to
write a GINA (Graphical Identification and Authentication) DLL, which
you can find more about with any google search.

--
Scott
http://www.OdeToCode.com
On Sun, 26 Sep 2004 13:59:15 +0800, <zj*****@hotmail.com> wrote:
I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?

thanks!


Nov 16 '05 #2
No,there I didnt want to instead the windows logon.
I just want users user their account and password to login and then log the
login account and password to my database.So I want to know how to disable
the ctrl+alt+del and lock mouse when they login

thanks for your help!

"Scott Allen" <bitmask@[nospam].fred.net> ????
news:kn********************************@4ax.com...
Hi zjflyer:

You don't want to try to disable ctrl+alt+del from a user application.
The operating system takes this combination of keys very seriously
since it will usually involve a user entering thier password, and you
would not want just any software on the computer grabbing user
passwords.

If you want to provide a cutomized logon procedure, you'll want to
write a GINA (Graphical Identification and Authentication) DLL, which
you can find more about with any google search.

--
Scott
http://www.OdeToCode.com
On Sun, 26 Sep 2004 13:59:15 +0800, <zj*****@hotmail.com> wrote:
I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?

thanks!

Nov 16 '05 #3

<zj*****@hotmail.com> wrote in message
news:ep**************@TK2MSFTNGP10.phx.gbl...
I want to program a application for user login in windows.


Any operating system in which this can be done is a SERIOUS security risk.
Windows is designed to prevent it. Only Windows can log you in.
Nov 16 '05 #4
look at: http://www.dwinlock.kassl.de
there you will find an easy to use tool called dWinlock to disable
every key combination you want including Ctrl+Alt+Del

Regards
Dittrich

<zj*****@hotmail.com> wrote in message news:<ep**************@TK2MSFTNGP10.phx.gbl>...
I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?

thanks!

Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Joe | last post by:
Dear Friends, How do disable the Alt+Tab,Alt+F4,ctr+Alt+Delete ,Alt+esc,Ctrl+Esc keys through C# program? Can anybody give me a clue or sample code? Advance Thanks, Thanks, Joe
0
by: Stefan | last post by:
Hy, a have an application and i must disable the follow combination of keys: ALT+F4 ALT+TAB CTRL+ALT+DEL CTRL+ESC. For ALT+F4 i can disable the conbination with: protected override...
3
by: Stefan | last post by:
Hy, i have an app and i must disable this combination: ALT+F4; CTRL+ALT+DEL; CTRL+ESC;ALT+TAB like this: i find something on Internet and i can block ALT+F4 protected override...
2
by: tottigang | last post by:
Hi, I have a tabstrip and I have some tabs in it. On the first page, all the tabs are enabled, I need to disbale part of the tabs at a specific point in the application and again enable them. I...
3
by: Mark | last post by:
Any Visual C++ source code available for disabling the following keys in windows 2000. Alt + Ctrl + Del Ctrl + Esc Windows Key to Remove task bar Function keys (or Alt + Function keys or Ctrl...
2
by: Mark Callaway | last post by:
Hello I'm trying to make a little windows service which blocks access to some other program, in order to prevent my childrens to play with some of my games. It works perfectly, but the...
10
by: thupham | last post by:
Dear all friend, I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#. Help me. Thanks for all reply.
7
by: =?Utf-8?B?U3VuZGFy?= | last post by:
Hello ALL, I want some help on How to Disable the Combination Keys stokes like ALT+CTRL+DEL, ALT+TAB or any other Combination using C#. Hope for your response. -- Best Regards,
0
by: Jeff jackson | last post by:
Hello, I'm replacing my normal windows shell, but it won't let me alt+tab in it for some reason. To get around this, I have a .bat that runs at startup that enables Windows Keys: REG add...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.