Solved

Login into Windows 2000 from service.

Posted on 2002-04-10
6
211 Views
Last Modified: 2011-08-18
I need to login into windows 2000 from NT Service,
I created service which is listening on network for some command (windows is in logoff state), when command is received the service have to login user, so that logged in user can use deskop, IE, Word and so on ?

Is that posible with LogonUser Api call ?
or what ?
0
Comment
Question by:zeko
6 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6932177
Techincally, it is possible by using the GINA API - see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/Security/winlogon_and_gina_start_page.asp ("Winlogon and GINA") and the GINA sample that ships with the PSDK. Just calling "LogonUser()" isn't enough by far...
0
 

Author Comment

by:zeko
ID: 6932309
Do u have any example of doing something like that ?
0
 

Author Comment

by:zeko
ID: 6932341
Do u have any example of doing something like that ?
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 11

Expert Comment

by:griessh
ID: 7012024
Dear zeko

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to

     "refund the points and delete this question"

since nobody had a satisfying answer for you.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 7012044
Well, I _did_ mention a sample, but a 'delete' is OK for me...
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7052954
The examples were posted above in the links provided, and clearly you chose a "C" in error, so I corrected this for you.  If you have questions in this regard, let me know.
Thanks,
Moondancer - EE Moderator
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

776 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