/build/static/layout/Breadcrumb_cap_w.png

Using PsExec to troubleshoot MSI packages on remote machines

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

Answers (1)

Posted by: SMal.tmcc 12 years ago
Red Belt
1

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


Comments:
  • Try:
    psexec @machines.txt accepteula -u domain\user -p password -d msiexec.exe /i \\server\share\acme.msi /qb reboot=r - SMal.tmcc 12 years ago
  • if that bombs try puttimg quotes around "msiexec ..... reboot=r" - SMal.tmcc 12 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ