Remotely install MSIs using psexec

article #446, updated 4277 days ago

This works well in a domain environment. Here’s the template:

psexec \\DESTINATION -u "DOMAIN\Username" -p "PASSWORD" cmd /c "msiexec.exe /i "\\FILESERVER\SHARE\APP.MSI" /q /qn /norestart"

DESTINATION is the hostname of the system upon which you desire to install the MSI.

DOMAIN is the name of the domain. A domain login with rights sufficient for software login and access to the share is required.

FILESERVER is the hostname of any system on the LAN which has the MSI on a valid file share.

SHARE is the name of the file share on FILESERVER containing the MSI.

APP.MSI needs to be replaced with the MSI filename.

Categories: