2007-06-05 09:36:00 UTC
I use psexec which has a problem when called from Java (or scripts). I found in sysinternals forum (http://forum.sysinternals.com/forum_posts.asp?TID=10825) recommendation to use remcom instead of psexec. I tried remcom and found that it fails in some cases connecting to admin$ with the following messages:
----------------------
Initiating Connection to Remote Service . . . Failed
Couldn't connect to \\xxx\ADMIN$
Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again..
---------------------------
It can happen that my user had a network connection to that remote computer, but I need to run remcom in scripts with some generic user, so the problem prevents using it. psexec does not have such problems.
Rgds, Leonid