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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task Manager 2

Status
Not open for further replies.

fischadler

Programmer
May 31, 2002
258
MT
Is it possible to prevent the task manager from loading when someone presses CTRL+ALT+DELETE in Windows 98/XP/2000 while my application is running? I have a security program and I don't want people to close it using the task manager. Hiding the application from the applications list is not enough because it seems impossible to remove it from the processes list.

Thanks
 
People would close a security program unless it was causing their computer to crash in which case yes, they would remove it via task manager. i see no justification for hiding something from a user like this unless the intent was malicious (not saying yours is).

~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."
 
OK. Here's the justification. My application should be used in an internet cafe and should not allow users to use the computer unless they pay. It's no use having this inhibitor if the users can turn it off using CTRL+ALT+DELETE. My application is VERY visible, so much so it is always on top and does not let you use Internet Explorer. The form is hidden as soon as the user enters a correct code number given to him/her from the counter.
 
Maybe it's unpractical, but you can allways make a backup of the Task Manager exe and replace it with your own app called taskmgr.exe

This way your whatever phony app will load when they press Cntrl+Alt+Del

P.S. You will have to backup and replace your taskmngr exe from dos or a batch file.

Windows 2000 and Up automatically replaces all system files if deleted or renamed or replaced whilst in windows

**********************************
May the Code Be With You...
----------
x50-8 (X Fifty Eigt)
 
Fair enough, sorry if i caused any offence. Would it not be easier to use the windows logon script? theres a good net cafe where I live called Evil Eye, they have a screen save that's password protected (from within the program, not the password that windows adds), maybe something like this would be better? Have a timer running in the background whilst the computer's in use, set it to say, an hour then it forces the screen saver to run.

~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."
 
in that case use system policy to disable task manager....

in XP:

Start-->Run
GPEDIT.MSC

user configuration
admin templates
system
ctrl-alt-del

hth

C>
 
Excellent tip caffrinho


**********************************
May the Code Be With You...
----------
x50-8 (X Fifty Eigt)
 
Thanks caffrinho, this seems to do the trick. One last thing. Is it possible to set this setting programmatically?
That way the application would be fully automatic and the administrator would not have to meddle with any settings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top