starting interactive process from windows service(vb.net or c#)

Q

Qais

Hi there all,

i am trying to work on this for past two weeks but nothing seem to
work. I am trying to launch a process from windows service (i have to
do this way, no other option). Windows service is running under system
account with interaction with desktop enabled. The application i want
launch is a vb.net gui application. I have tried using wmi, windows
api, managed system.process.start method but all have one problem or
the other. Under one situation i am able to run process under a
specific user account giving user/password but the gui is not showing,
the other method is used shows gui and user can interact with it but
process runs under system account.

Is there a way in wmi so that i can start process under specific
account(logged on account) and process shows gui as well. I'll have
access to user/password of that account. Please give me just one
example running notepad.exe as i desired. many thanx in advance.

Oh one thing operating system i need to run are win2000 pro(latest sp)
and winxp pro sp2.
 

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