Run remotely a .exe/.msi files using PsExec RRS feed

  • Question

  • Hi All,

    Have a Good day! How to remotely run a .exe or .msi file silently using Psexec command? What is the correct syntax? 


    • Moved by Bill_Stewart Wednesday, December 12, 2018 6:33 PM This is not "research things for me" forum
    Thursday, August 23, 2018 6:42 AM

All replies

  • Hi,

    Usage: psexec [\\computer[,computer2[,...] | @file\]\]\[-u user [-p psswd][-n s][-r servicename][-h][-l][-s|-e][-x][-i [session]][-c executable [-f|-v]][-w directory][-d][-<priority>][-a n,n,...] cmd [arguments]

    C:\Windows\System32\psexec.exe @remotecomputername -s msiexec.exe /i \\MyServer\Software\Chrome\googlechromestandaloneenterprise64.msi <-- you must specify the credentials so the file can be opened.

    -u domain\userid -p password. I would also create a bat file for the install.

    batch file would be something like, Chrome.bat

    @Echo Off
    Msiexec /I " googlechromestandaloneenterprise64.msi" /q (or whatever silent switch for Chrome is)

    C:\Windows\System32\psexec.exe @remotecomputername -s -u domain\userid -p password "\\MyServer\Software\Chrome\Chrome.bat"

    Please refer to the following documentation for more information:

    Here's also a guide on how to deploy .MSI files remotely with PSexec:

    Best regards,

    Blog: https://thesystemcenterblog.com LinkedIn:

    Thursday, August 23, 2018 6:52 AM