Jacek Jurkowski wrote:
Run a Process using current user login?
I hava a service that works as LocalSystem
and i'm running some Process but I would
Like to run it as an current logged user or
admin even? How to obtain current user info?
You can run the service as a specific user (see the properties
of the service, tab LogOn).
I don't think you can find out a "currently logged on user",
because that service runs even if no-one is logged in, or when
multiple users are logged on (server, WinXP with 'fast user switching')
Hans Kesting