When I use "net rpc shutdown -f -I xxx.xxx.xxx.xxx -U usr%pwrd" I receive the following error.

"NT_STATUS_CONNECTION_REFUSED"

I checked that the firewall is disabled and that I can telnet to port 135 on the remote machine from the local machine. Telnet connects, there is no banner though is there supposed to be one? Not entirely sure.

Remote machine is Windows 7 Ultimate Local machine is CentOS 5.7 "SME Server"

Any ideas why this is still failing?

link|improve this question
I worked around this issue by installing a SSH Server on the Win7 Machine, and issuing this command: ssh user@remotemachine -p port -i keyfile.openssh "cmd.exe /C "shutdown -f -s -t 0"" – Eric Jan 10 at 16:17
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.