Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I prevent users from Control -Alt -Sup 1

Status
Not open for further replies.

albertov10

Programmer
May 19, 2001
10
US
I've designed a project for NT and though I can hide the task, it's impossible to hide the process therefore I'm willing to prevent users from using Control -Alt -Sup can anybody help me thanks a lot
 
What is Control-Alt-Sup? Is that the same as Ctrl-Alt-Del on US keyboards?

If so, please see faq222-585

Chip H.
 
albertov10 -

You emailed me with :
Thanks for answering my question though is the same in europe control-alt-sup than in US control-alt-del, my question was intended to prevent users from shutting down my program, is it possible to intercept Control-alt-del once the usser has logged in the computer thanks a lot

There are a couple of ways to bring up the task manager - Ctrl-Alt-Del (or Sup in europe :) ), Ctrl-Shift-Esc, and right-clicking on the task bar and selecting "Task Manager...".

Once they have the task manager up, there is no way for you to prevent them from closing your program.

To prevent the task manager from coming up, you'll need to install a custom keyboard driver that can filter out those keystrokes. Writing a driver is not easy -- you need to use C, and use the NT Device Driver development Kit (DDK). You won't be coding against the Win32 API, either, but against the native NT API. Many people don't know that the Win32 functions are just a layer on top of the native functions -- read "Inside Windows NT" by David Solomon to get an overview of the architecture.

So, I'm afraid the answer is, you can do it, but it's not easy, and it won't be cheap.

You might look at some of the software packages that say they secure the desktop. They are frequently used by universities to prevent the students from modifying the operating system.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top