B
Balamurugan KR
I am trying to impersonate and start a new process using the following
steps.
1. LogonUser
2. LoadUserProfile
3. CreateEnvironment Block
4. CreateProcessAsUser.
The above works fine if the "impersonated user" belongs to administrators .
For non administrators CreateProcessasuser fails with the error message
"The application failed to initialize properly (0xc0000142). Click on ok to
terminate the application"
I am trying to find out the minimum priviliage for the "impersonated user"
to start the process.
steps.
1. LogonUser
2. LoadUserProfile
3. CreateEnvironment Block
4. CreateProcessAsUser.
The above works fine if the "impersonated user" belongs to administrators .
For non administrators CreateProcessasuser fails with the error message
"The application failed to initialize properly (0xc0000142). Click on ok to
terminate the application"
I am trying to find out the minimum priviliage for the "impersonated user"
to start the process.