user180860
user180860

Reputation:

Starting a process as a user account

Currently I am working on an windows installer which has a custom action built in to run an installed exe immediately after installation.

My problem is that using System.Diagnostics.Process the application launches under the SYSTEM user when I would like the application to launch under the same user that is running the installer.

Is this possible?

Upvotes: 0

Views: 124

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

You may use one of the overloads of the Start method which takes username and password.

Upvotes: 2

Related Questions