I know this is going to sound crazy and I hope that I may just be missing something simple. I am trying to use psexec to restart IIS on a cluster of remote servers. The dept that actually uses the scripts only know the servers by IP address and not hostnames. For some reason 1 of the servers does not work when issuing the command by IP. Here is an example.

WORKS:

psexec \\hostname cmd

DOESNT WORK:

psexec \\ipAddress cmd

I know the ip is correct. I can verify with nslookup and I can RDP into the server via IP address. This server is a virtual and should be identical to every other server in the cluster. I have never seen anything where hostname works fine and ip fails... The routing seems to be fine too since I make it to the server. I am kinda at a loss here

link|improve this question
feedback

migrated from stackoverflow.com Jun 12 '11 at 6:58

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

It looks like the netlogon service was stopped on the server. Weird behavior considering everything worked via hostname.

link|improve this answer
feedback

It should work with IP... You can try with xcmd:

http://feldkir.ch/xcmd.htm

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.