Configure .exe to always runas certain user in Windows??

ricolee99_at_hotmail.com
Date: 11/15/05


Date: 15 Nov 2005 14:36:49 -0800

Hi There,

There is an application, 'A' that runs as a service, which starts up my
application, 'B'. Application A also invokes other applications in our
company. I would like application B to run as a certain user. The
problem is that 'A' only takes in the path to application 'B' as input
for invoking (input: "c:\Location_of_App_B"). That means when 'A'
executes my application, it cannot run with the command line option,
'runas'.

Is there a way to configure my application in Windows such that
whenever it's executed, it always runs under a certain user account?

Thanks so much in advance!

~Sharon