[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

Running an application as another user

Need to run an application under the current user that is invoked by a service run as system.
0
Corey Scheich
Asked:
Corey Scheich
  • 3
1 Solution
 
EDDYKTCommented:
do you want to run 2 copy of the application? Don't quite understand your question
0
 
Corey ScheichDeveloperAuthor Commented:
We are using Windows Messaging to invoke action on the server, the messaging service needs to be run under SYSTEM, so any application it runs is run under SYSTEM which is not aware of network connections or running instances of a program.  So we would like to run an Application that starts another application under the current logged in user instead of SYSTEM
0
 
Corey ScheichDeveloperAuthor Commented:
apparently it is
Process.Start(AppPath,UserName,PassWord,Domain)
0
 
Corey ScheichDeveloperAuthor Commented:
the answer is

Process.Start(AppPath,UserName,PassWord,Domain)
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now