Remote Install of MSI packages using PSExec. First of all I apologize, I know there are many threads trying to answer this question and rather than copy and re- post all over the place or leave this answer under only one other thread, I'm starting a new topic. Hopefully this will get sticky- ed and the other oustanding threads can be linked into this. What's the sitch? Ok I'm an administrator/domain admin and I want to run a MSI install across multiple servers and/or workstations without writing a bunch of VBS or batch scripts or modifying the domain for an install on login/logout. Give me a single line to run the stupid install!! The main problem with most of the solutions I have seen are focusing on how to get PSExec to either run the msi package from a remote directory or how to copy to the local machine to run the MSI package. The real solution is to have the remote machine run msiexec.
MSI package as an argument of the msiexec. You need the MSI package placed somewhere on the network accessable by the remote machine with the credentials that you supply to PSExec. Here is what I finally got: \\Server - u "DOMAIN\Username" - p "PASSWORD" cmd /c "msiexec. Server\Folder. Share\My Install.
Remote Install of MSI packages. remote machine run msiexec.exe and then point to the MSI package as an. for more advanced deployment. /uninstall. Remote Unattended MSI Installation with PsExec. Jun 28, 2011. I recently had the need to remotely install a freshly built MSI to a remote Windows Server machine using. . %WinDir%\System32\msiexec.exe /i path\Directory\MOMAgent.msi /qn. Option <Required Parameter> [Optional Parameter]. uninstall | /x> <Product.msi.
- The following examples show different ways in which you can use the MOMAgent command. You can use this command to perform new installations of agents, upgrade agents.
- Install SCOM agent using command line we will make use of MOMAgent.msi and this is also. msiexec.exe /i MOMAgent.msi /qn USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=SCOM-.