Top "Createprocessasuser" questions

CreateProcessAsUser error 1314

I want create a process under another user. So I use LogonUser and CreateProcessAsUser. But my problem is, that CreatePtocessAsUser …

createprocessasuser
Calling CreateProcessAsUser from C#

I've been attempting to create a new process under the context of a specific user using the CreateProcessAsUser function of …

c# winapi process privileges createprocessasuser
example code: A service calls CreateProcessAsUser() I want the process to run in the user's session, not session 0

I am seeking example code: For a service calls CreateProcessAsUser() I want the process to run in the user's session, …

windows winapi windows-7 windows-services createprocessasuser
How to get Currently logged user's session ID?

I'm running a process from inside a windows service using ProcessStartInfo processStartInfo = new .... Process.Start(processStartInfo); The problem is, if …

c# process service psexec createprocessasuser
starting a UAC elevated process from a non-interactive service (win32/.net/powershell)

I'm using a thrid party Windows service that handles some automation tasks by running scripts and executables using CreateProcessAsUser(). I'm …

winapi uac shellexecute createprocessasuser
Windows 2008 RenderFarm Service: CreateProcessAsUser "Session 0 Isolation" and OpenGL

I have a legacy Windows server service and (spawned) application that works fine in XP-64 and W2K3, but fails …

opengl windows-services windows-server-2008 createprocessasuser session-0-isolation
How to start a Console App as running under the System Windows user account?

I tried var process = new Process { StartInfo = new ProcessStartInfo { FileName = filename, UserName = "System", UseShellExecute = false, }, }; process.Start(); but it yields …

c# .net process createprocessasuser
why is CreateProcessWithTokenW failing with ERROR_ACCESS_DENIED

I have a call to CreateProcessWithTokenW that is failing with access denied. Any ideas how to debug this? The call …

winapi pinvoke createprocessasuser