Impersonation without credentials ?

J

Jarrod Morrison

Hello all

Is it possible to use Impersonation from inside a windows service to
impersonate the logged on user without supplying any credentials and
launching a program as that user ? My problem is that when launching
external apps from my service it does so as the services logon account not
the logged on user. If not does anybody have any suggestions for how to do
so ?

Many thanks
 
A

andy

Jarrod said:
Hello all

Is it possible to use Impersonation from inside a windows service to
impersonate the logged on user without supplying any credentials and
launching a program as that user ? My problem is that when launching
external apps from my service it does so as the services logon account not
the logged on user. If not does anybody have any suggestions for how to do
so ?

Many thanks

So you have a user's app which is interacting with a service?
Can you not launch whatever from the user's app?
 
P

Paul Clement

¤ Hello all
¤
¤ Is it possible to use Impersonation from inside a windows service to
¤ impersonate the logged on user without supplying any credentials and
¤ launching a program as that user ? My problem is that when launching
¤ external apps from my service it does so as the services logon account not
¤ the logged on user. If not does anybody have any suggestions for how to do
¤ so ?

See the following thread:

http://tinyurl.com/b2r3x


Paul
~~~~
Microsoft MVP (Visual Basic)
 
J

Jarrod Morrison

Hi andy

The service runs in the background and talks to an sql server and accepts
remote tcp connections, the service monitors what the user is doing and
records information at different times, i need to be able to send a remote
command to open an app from time to time as the logged on user from the
service program
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top