Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : Prevent shutdown in Windows XP?

www.cryer.info
Managed Newsgroup Archive

Prevent shutdown in Windows XP?

Subject:Prevent shutdown in Windows XP?
Posted by:"mindsleep" (mindsleep20..@yahoo.se)
Date:Thu, 03 Nov 2005 21:28:49 +0100

Hi!

Is there a way to prevent a user from shutting down a program? What i am
thinking of is if i have a program autostarting when they log in
(Windows XP) and then they canīt shutdown my program, even if they try
to kill process from the task manager.

Is this possible?

Why am i asking this, well, my company has 3 computers that the visitors
can borrow for free. But we want the users only to have access to them
one hour at a time. So if a user uses the computer more then one hour he
will automaticly be loged out. I am writing a small software to time how
long they have used the computer and when it comes to one hour, my
software will log them out.

The 3 computers have Windows XP installed and a "restricted access" user
account (the one that is not Administrator, donīt know the exact name in
  English).

Can some one help me to a website that discusses this or if you got some
  code to share to help me het started?

Thank you in advance
Mindsleep.

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive