Starky Posted February 19, 2008 Share Posted February 19, 2008 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now