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
Solved

Login into Windows 2000 from service.

Posted on 2002-04-10
6
212 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

840 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