CreateProcessAsUser Error

J

Jay

Hey There,
I am trying to execute the CreateProcessAsUser function, but when I
do, I get this error:
"Cannot create a file when that file already exists.". What would cause
that error to occur in this function?

-Jay
(patelj27b at gmail dot com)
 
G

Guest

Jay said:
Hey There,
I am trying to execute the CreateProcessAsUser function, but when I
do, I get this error:
"Cannot create a file when that file already exists.". What would cause
that error to occur in this function?

Can we get a code sample? CreateProcessAsUser is a complicated API and there
are many ways to go wrong when using it. If you could show us how you are
calling it, it would narrow down the possibilities.

Also, let us know what type of user (normal user, Administrator, service,
etc.) is calling CreateProcessAsUser and what user is represented by the
hToken parameter when you call it.

Sean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top