Re: problem in creating Services

Tech-Archive recommends: Speed Up your PC by fixing your registry



<ashukasama@xxxxxxxxx> wrote in message
news:1180360805.493774.175280@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
As i start a service.

It will start in system as a user account .

but i need it will start as a current login as a user.

The whole point of a service is to be able to run while _no_ user is
logged in. That's why you cannot set it up to run as logged in user
(what if there's none? What if there's more than one?).

If you want your code to run under launching user's account, make it a
regular executable rather than a service.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • RE: unable to login as user
    ... unable to login as user ... Log in as root and look closely at the user account. ... the system just seems to hang and then go back to the username ...
    (RedHat)
  • Re: Outlook Express starts by itself
    ... starting OE at the login screen. ... > Thanks, Lawrence, for suggesting that I create a new user account. ... Reboot ... >> disappears. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Why is uid/gid 350 bad? [WAS: Re: f10 gdm user hide]
    ... I've just set up a user account for our scanner - no the scanner will ... never login at GDM. ... I've given it a uid/gid of 350 so that it doesn't show up in the GDM ... Then you can set up KDM through systemsettings. ...
    (Fedora)
  • RE: ADMT - User List for Migration
    ... I have red "Rename Objects During Migration" part of domainmig.chm file, ... which comes with the installation of ADMT. ... effects login names. ... is it possible to migrate this user account to ...
    (microsoft.public.windows.server.migration)
  • Re: New Login
    ... When in Admin login, I had to change the type of user to be Administrator. ... This made the logon of the new user work. ... > Select your user account, choose copy to and then browse to the folder ... > holds the profile of the new user account. ...
    (microsoft.public.win2000.general)