Solved

Use VB app to log on to XP

Posted on 2003-11-13
3
241 Views
Last Modified: 2010-05-01
Howdy all... I'm trying to setup a VB app to run as a service on an XP box and log the user in to XP. Scenario: User turns on XP box. XP comes up with standard CTRL-ALT-DEL window. VB service starts. User inserts USB keychain drive. VB app reads key file off USB drive and logs user in.

I have everything down except how to get my VB app to be able to log the user in. I don't think the LogonUser API is what I'm after.

Thanks!
0
Comment
Question by:ishmell
3 Comments
 
LVL 28

Expert Comment

by:vinnyd79
ID: 9745091
0
 
LVL 1

Accepted Solution

by:
RocketMan801 earned 250 total points
ID: 9749278
if, what u want is to autenficate a user, depending on the USB device, i think u have to do a custom GINA (Graphical Identification 'N' Authentication) DLL, and u cant do it in vb.

more info here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/gina.asp
0
 

Author Comment

by:ishmell
ID: 9749656
Thanks! Looks like the GINA is what I'm after. Now... to dust off my DLL programming skills.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now