I am writing a script that is goin to have my server to a automated backup of windows. I have it so it will wake the machine windows machine up and do a sync with the specified files. However I need the server to be able to shut the windows machine down.
I found this guide:
http://www.linuxforums.org/forum/red...linux-box.html
And they say to use this command:
However when i try it I get this errorCode:"net rpc SHUTDOWN -C "some comment here" -f -I x.x.x.x -U user_name%password"
Code:Could not connect to server 127.0.0.1 Connection failed: NT_STATUS_CONNECTION_REFUSED
Bookmarks