Jump to content
Sign in to follow this  

Question with RunAsSet

Recommended Posts


This may be the wrong direction I am taking but I don't know of anything else to try. I would like to basically run an application (.exe) from PHP and have the window of the application display on the web server itself. When I use a run command from PHP, it runs the application as the inet guest user and I cannot view that application from the server. What I have tried to do is make an AutoIt script to run that application as the user the web server is currently logged onto so I can view that application from the server. But I keep getting an error (displayed on the server): "The application failed to initialize properly (0xc0000142). Click OK to terminate the application". From the task manager I can see that the application is running from the correct user, I just cannot get passed this error. Is what I am trying to do possible with the RunAsSet command, or do I need to look elsewhere?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.