Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/astahost/public_html/rkrt/rkrt_tracker.php on line 186
PAGE-2: Creating New Process Under Alternate Credentials (createprocessasuser) related to Desktop, Service, Environment, Vbnet
Astahost.com   Mar 22, 2010
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > BASIC / Visual Basic (.NET)
Pages: 1, 2

Creating New Process Under Alternate Credentials (createprocessasuser)

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > BASIC / Visual Basic (.NET)

Creating New Process Under Alternate Credentials (createprocessasuser)

(G)
Philip Take a look at the Session ID and access token type. In your Vista case, your service is starting in Session 0 and trying to spawn an apllication. Unfortunately, in Vista onwards, Session 0 does not have an associated desktop - hence the strange error you got. If you use the CreateProcessAsUser, you also need to make sure you use the Primary access token and not the Impersonation access token. Http://blogs.Msdn.Com/sripod/archive/2006/11/21/session-0-isolation-in-vista-and-application-compatibility.aspx

 


Comment/Reply (w/o sign-up)

(G)Monika
problem hiding the window created by createprocessasuser
Creating New Process Under Alternate Credentials (createprocessasuser)

Hi,

I am not able to hide the window of the process which I have started using CreateProcessAsUser(). I am using c# and have tried setting values for dwFlags and wShowWindow .

Please help.

-reply by Monika

Comment/Reply (w/o sign-up)

(G)Dave
C# Process.StartInfo with UserName and Password flashes!
Creating New Process Under Alternate Credentials (createprocessasuser)

Anyone ever figure out how to eliminate the flash using the .NET Process object. Works fine without credentials. This BUG has plagued me for years back when I used to use CreateProcess as well. I'm all native code now though so would love to fix this for.NET native. Thanks for any suggestions. Dave

-reply by Dave

 


Comment/Reply (w/o sign-up)

(G)scott
start interactive process from scheduled task
Creating New Process Under Alternate Credentials (createprocessasuser)

My problem is that I need to start an interactive session from a scheduled task and then send commands to the application windows on server 2003. The credentials for the task and the application process need to be the same. I tried doing an interactive login, but I guess I also need to start a process associated with that login? Doesn't just logging in start an interactive desktop session?

-reply by scott

 


Comment/Reply (w/o sign-up)

(G)
Replying to tansqrx My problem is that I need to start an interactive session from a scheduled task and then send commands to the application windows. The credentials for the task and the application process need to be the same. I tried doing an interactive login, but I guess I also need to start a process associated with that login? Doesn't just logging in start an interactive desktop session?


Comment/Reply (w/o sign-up)

(G)Fernando Nomellini
Solution for 1314 problem
Creating New Process Under Alternate Credentials (createprocessasuser)

Hi ! I hope you already find the solution for 1314 issue that arises when calling CreateProcessAsUser. If not, I found it,  and it workey fine to me.

I will try to put in english, but my sistem is Brasilian Portiguese, ok ?

go to control panel / administrative tools / local security / local / user rights /

then in "replace token in user level" (or so)  ADD local ASPNET account.

then reboot.

thatīs it.

-reply by Fernando Nomellini

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : Creating Alternate Credentials Createprocessasuser


    Looking for creating, process, alternate, credentials, createprocessasuser



See Also,

*SIMILAR VIDEOS*
Searching Video's for creating, process, alternate, credentials, createprocessasuser
advertisement




Creating New Process Under Alternate Credentials (createprocessasuser)

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com



Creative Commons License