Solved

Login into Windows 2000 from service.

Posted on 2002-04-10
6
209 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
Comment Utility
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
Comment Utility
Do u have any example of doing something like that ?
0
 

Author Comment

by:zeko
Comment Utility
Do u have any example of doing something like that ?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 11

Expert Comment

by:griessh
Comment Utility
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
Comment Utility
Well, I _did_ mention a sample, but a 'delete' is OK for me...
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 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.

763 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

6 Experts available now in Live!

Get 1:1 Help Now