Jump to content

PSTools PsExec Help


Recommended Posts

So I have a web server setup on a remote windows machine using wamp. I am trying to run this php script and have it open the file on that machine:

<?php
    exec('C:\Users\*user*\Desktop\PSTools\PsExec.exe -accepteula -i -s C:\wamp\www\Titanium.exe', $output);
?>

This code causes it to indefinately hang. Any suggestions?

Edited by Azerex
Link to comment
Share on other sites

So I was messing around with the code more and I tried moving the PsTools directory into the wamp server and the calling it from the new path. This now does not cause it to indefinitely hang however, it still does not run the intended program on the remote computer.

Edited by Azerex
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.