I have Windows XP running in virtual machines connected to my local network for testing purposes. The tests are done remotely. When finished, I want to shut them down remotely, from a Linux box.
ETA: Note that the Windows box runs XP Home, so there are no security / group policies.
For the Linux systems in the same setup, I do:
#> ssh root@linux-vm123 'shutdown -h now';
For the Windows systems, I should be able to do:
#> net rpc SHUTDOWN -I xx.xx.xx.xx -f -U user%pwd
But that gives me the following error:
Could not connect to server xx.xx.xx.xx
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE
The user is an administrator and the account has a password set. Do I need to set up anything on the Windows system?
ETA: Is there a way I can test just the login, i. e. without sending a shutdown command that might need other privileges or settings?