Jump to content


Photo

PSTools PsExec Help


  • Please log in to reply
1 reply to this topic

#1 Azerex

Azerex

    Newbie

  • New Members
  • Pip
  • 9 posts

Posted 04 May 2014 - 03:19 PM

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, 04 May 2014 - 03:19 PM.


#2 Azerex

Azerex

    Newbie

  • New Members
  • Pip
  • 9 posts

Posted 08 May 2014 - 01:56 AM

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, 08 May 2014 - 01:56 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com