Solved

Login into Windows 2000 from service.

Posted on 2002-04-10
6
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

724 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