Profile photo
Submitted by Dave Smith
on May 20th, 2011 at 08:49:23 EST

Accept EULA silently with psexec.exe while deploying to remote server

I am trying to deploy my .NET application to remote server using psexec.exe utility tool. I am trying to execute my msi package in remote server using psexec.exe. It works fine when I test from my local machine but when I include it in the NANT script for automation, it breaks. Seems like psexec.exe pops up EULA acceptance screen. How do I turn off psexec EULA popup and execute my msi in remote server silently?

Profile photo
Replied by SBajra
on May 20th, 2011 at 12:41:11 EST
Yes, you can definitely execute psexec.exe utility in silent mode. Just add the parameter /accepteula in your command line.

For example:
psexec.exe \\RemoteServername /accepteula ApplicationToExecute.exe
Accepted Answer

Profile photo
Replied by Dave Smith
on May 20th, 2011 at 15:17:53 EST
this is exactly what I was looking for. perfect !!!

Profile photo
Replied by Farhan Mohd
on February 15th, 2017 at 16:45:45 EST
Thanks SBajra