×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Personalised Logon screens...How?

Personalised Logon screens...How?

Personalised Logon screens...How?

(OP)
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?

RE: Personalised Logon screens...How?

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.

RE: Personalised Logon screens...How?

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.

RE: Personalised Logon screens...How?

Quote:

Easier said than done, I think

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

Greetings,  
Rick

RE: Personalised Logon screens...How?

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.

RE: Personalised Logon screens...How?

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

RE: Personalised Logon screens...How?

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)

RE: Personalised Logon screens...How?

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

RE: Personalised Logon screens...How?

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)

RE: Personalised Logon screens...How?

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

RE: Personalised Logon screens...How?

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

RE: Personalised Logon screens...How?

>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

RE: Personalised Logon screens...How?

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)

RE: Personalised Logon screens...How?

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)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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! Already a Member? Login


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