Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The command

$ net rpc SHUTDOWN -f -I xxx.xxx.xxx.xxx -U uname%psswd

Fails with the following errors:

Could not connect to server xxx.xxx.xxx.xxx
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
Could not connect to server xxx.xxx.xxx.xxx
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE

When the credentials are definitely, absolutely correct. Whats going on?

share|improve this question
up vote 2 down vote accepted

Disable simple file sharing on the remote host by going to

My Computer > Tools > Folder Options > View  

And UNCHECK simple file sharing

Also punch the appropriate holes in your firewall by going

Control Panel > Security Center > Windows Firewall > Exceptions 

and CHECK "File and Printer Sharing"

Also on the Advanced tab > ICMP Settings CHECK "Allow incoming echo request"

More info here.

share|improve this answer

if your user name is of the form domain\uname, try changing the form to domain/uname (i.e., change the \ to / )

share|improve this answer
    
This works for use with a domain account: DOM/username%password. Thanks. – Miles Lott Feb 19 '14 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .