Open process as another user

61 Views Asked by At

I'm writing a C# program that runs on a remote windows embedded device. it is running in admin mode.

From this program I try to open an exe, but by default, this exe is opened in the same admin session.

How can I open it as another user?

I already tried different things googled here and there, especially : Starting a process with credentials from a Windows Service.

But it still opens in the admin session.

Thanks for your suggestions.

0

There are 0 best solutions below