Scripting Question

I'm looking for some help on a psexec command

12/07/2012 4586 views

I'm trying to automate a few jobs on a server; the purpose is to execute a .bat file on a distant machine (Remote Exec), this file contains a very simple command which opens an URL (start "URL"). The execution works fine but on the distant machine the issue is that the iexplorer.exe is running on the background with no display!

Psexec \\computer "path\file name"

Can anyone advise please?



0 Comments   [ + ] Show comments


All Answers


I believe that in order for the psexec command to pass something that is interactive, you need to specify a -i as part of the execution string.

If you launch "psexec -?" youll see this:

 -i Run the program so that it interacts with the desktop of the specified session on the remote system. If no session is specified the process runs in the console session.
Answered 12/17/2012 by: matthall
Purple Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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