Solved

Login into Windows 2000 from service.

Posted on 2002-04-10
6
213 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

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!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

756 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