Execute app under different account.

  • Thread starter Thread starter SStory
  • Start date Start date
S

SStory

When you run a service you can execute an app under a different account.

I need to do that with a normal app. I need to run it as admin, even though
I am not logged in as admin.

How can I do this in DOT NET?

thanks,

Shane
 
SStory said:
I need to do that with a normal app. I need to run it as admin, even
though I am not logged in as admin.

How can I do this in DOT NET?

Keyword "impersonation". If you are using .NET 2.0, simply pass username
and password to 'System.Diagnostics.Process.Start'.
 
Back
Top