using psexec.exe I wanted to run a .MSI file on many remote machines.   The .MSI is not on the remote machines.  So I typed this:


psexec.exe @machines.txt -c -d -u Domain\AdminID -p MyPassword msiexec.exe /i "c:\windows\system32\Acme.MSI" /qb REBOOT=R


This does not work.  I think it wants to copy msiexec.exe and not my acme.msi. 


How do you pull this off?  How can you use psexec.exe to copy and then run a .MSI file on remote machines?


0 Comments   [ + ] Show Comments


Please log in to comment



Put the msi on a share that the user you are connecting with has rights to and then sub \\server\share\acme.msi

Answered 08/06/2012 by: SMal.tmcc
Red Belt

  • Try:
    psexec @machines.txt accepteula -u domain\user -p password -d msiexec.exe /i \\server\share\acme.msi /qb reboot=r
  • if that bombs try puttimg quotes around "msiexec ..... reboot=r"
Please log in to comment
Answer this question or Comment on this question for clarity