Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Where have you been all my life! I found the answer I needed in seconds..."

Geography

Where in the world do Tek-Tips members come from?
guestgulkan (TechnicalUser)
6 Jul 05 5:09
For example at my local library internet cafe - the usual windows (xp) logon screen has been replaced with the library's
own version.
What windows API function(s) allow you to do this?
Dimandja (Programmer)
6 Jul 05 9:31
The executable that you logon through is called logonui.exe.

I have not done it, but there are tools that will let you modify it.  One such tool is seen here:
http://www.snapfiles.com/get/resourcehacker.html
or here:
http://www.longhorn.be/modules.php?name=FAQ&myfaq=yes&id_cat=4&categories=Windows+Longhorn#35
or here:
http://www.wincustomize.com/Skins.aspx?LibID=26

sebastiannielsen (Programmer)
10 Dec 05 18:12
Or you can build your own logon application and then rename explorer.exe to logonsucess.exe, then you place your own logon application instead of explorer.exe
Startup logonsucess.exe when the user has suceed logon in your application.
Make sure to disable CTRL+ALT+DEL in your logon application.

(you may need to rename your application to templogon.exe, place it in system dir, open a dos window (cmd.exe or command.exe), then exit explorer.exe via task manager, then in the dos window browse to the system32 dir, and then "ren explorer.exe logonsucess.exe". after that, "ren templogon.exe explorer.exe", then you are set! your logon application will load instead of explorer.exe)

Then you use autologon on the standard logon.
mattKnight (Programmer)
11 Dec 05 5:31

Quote:


Make sure to disable CTRL+ALT+DEL in your logon application.

Easier said than done, I think

Take Care

Matt
If at first you don't succeed, skydiving is not for you.

LazyMe (Programmer)
12 Dec 05 12:27

Quote:

Easier said than done, I think

Worse; there's no way you can disable CTRL+ALT+DEL from within your application....

Greetings,  
Rick

sebastiannielsen (Programmer)
12 Dec 05 13:41
search for winlock on www.codeproject.com

Download the "demo" application, you will find an DLL in the zip file. Pack this DLL along with your application.

In the demo application, you will find instructions on how to call specific methods to the DLL.

Some methods are about disabling CTRL+ALT+DEL and task manager.
LazyMe (Programmer)
12 Dec 05 14:50
Well, there you have it; there's no way you can do it from within your application.

I have to admit though that subclassing the SAS window technique is new for me (and very promessing). You'll need an external library (as the one supplied) for that though; your VB app itself can't do the trick for you there.....

Greetings,  
Rick

mgagnon (Programmer)
9 Jan 06 14:05
LazyMe.

Quote:

Worse; there's no way you can disable CTRL+ALT+DEL from within your application....

Funny you would say that, I have an application that does just that...You should have told me, here I was thinking it was working properly all along. Who ever told you that is wrong.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)

chiph (Programmer)
10 Jan 06 10:43
It depends on which OS you're targeting.  On Win98, you can prevent the CAD sequence.  But on the NT/2K/XP family, this is not possible without writing your own GINA dll.

If you should decide to write your own GINA, I strongly suggest you do this inside a Virtual PC session with undo disks turned on.  This will save you much heartache when you crash the OS due to a bug in your program.

Chip H.

____________________________________________________________________
Donate to Katrina relief:
http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825
If you want to get the best response to a question, please read FAQ222-2244 first

mgagnon (Programmer)
10 Jan 06 13:04
Chip H.

Quote:

But on the NT/2K/XP family, this is not possible without writing your own GINA dll.

You may want to insvestigate that statement. If you disable the task manager (without the use of a GINA), you effectively disabled the ctrl+alt+del sequence.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)

cpjust (Programmer)
10 Jan 06 14:40
I'd be a little pissed if a program disabled my Task Manager...  ;)
chiph (Programmer)
10 Jan 06 16:37
You mean through a group policy, or such?

What about the Ctrl+Shift+Esc keyboard shortcut?

Chip H.

____________________________________________________________________
Donate to Katrina relief:
http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825
If you want to get the best response to a question, please read FAQ222-2244 first

strongm (MIS)
10 Jan 06 19:03
>If you disable the task manager (without the use of a GINA), you effectively disabled the ctrl+alt+del sequence

Not at all. It only has this apparant effect on (XP)machines that are not a member of a domain (and even then it depends on a simple config setting)... On servers (NT4 , 2000, 2003) it results in the security dialog, whether the task manager is disabled or not
mgagnon (Programmer)
11 Jan 06 5:47

Quote:

I'd be a little pissed if a program disabled my Task Manager...  ;)

I did an application recently for a computer that was meant to sit in the middle of a MALL that listed a job bank in the local area, and preventing the task manager to pop-up was one of the requirements.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)

mgagnon (Programmer)
11 Jan 06 6:37

Quote:

You mean through a group policy, or such?

No registry hack.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close