/build/static/layout/Breadcrumb_cap_w.png

I'm looking for some help on a psexec command

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?

Thanks

--Achref


0 Comments   [ + ] Show comments

Answers (1)

Posted by: matthall 11 years ago
Purple Belt
0

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.
 
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