Here is the code:
net use \\<ip or hostname>\ipc$ /user:<administrator>
shutdown -i -s -m \\<ip or hostname> -t 1
Then:
A remote shutdown window pops up, and everything goes fine until it says add computer. My directory agent isn't working, so I can't browse for it. I tryed clicking add and typing in the IP. I also tryed typing in the computer name.
Then, back in the command prompt, it says:
Access is denied
Failed <Whatever I typed in>
Tags: