R
richie
Hi Everyone
I have a problem with windows service I wrote which spawns a win32
program.
the code in question looks like this:
myProcess = new Process();
myProcess.StartInfo.FileName = GetInstallPath() + "\\my.exe";
myProcess.StartInfo.CreateNoWindow = false;
myProcess.Start();
Some users (not all) get access denied immediately after calling start
on the process.
The service is installed to run under the local system account.
If the account is changed to run under the local user account there is
no problem.
This is perplexing cos surely the local system account has the highest
privileges.
Any ideas?
I should say the exe is local and not on mapped network drive.
Cheers
Richard
I have a problem with windows service I wrote which spawns a win32
program.
the code in question looks like this:
myProcess = new Process();
myProcess.StartInfo.FileName = GetInstallPath() + "\\my.exe";
myProcess.StartInfo.CreateNoWindow = false;
myProcess.Start();
Some users (not all) get access denied immediately after calling start
on the process.
The service is installed to run under the local system account.
If the account is changed to run under the local user account there is
no problem.
This is perplexing cos surely the local system account has the highest
privileges.
Any ideas?
I should say the exe is local and not on mapped network drive.
Cheers
Richard