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)
Please log in to answer
Posted by:
matthall
11 years ago
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.