
Quote: Originally Posted by
bassfisher6522

Quote: Originally Posted by
edwar
Try this in a BAT file.
shutdown -m \\YourPCNameHere -r -t 5 -f
Works for me on both XP and Win 7 to shutdown LAN PCs.
Do you have to do this every time you want to remote shutdown?
Sorry don't know what you mean by "Do you have to do that every time you want to remote shut down".
I save a text file with that command as a .bat file and place it on my desktop, named for the computer I want to remote shut down or restart (slightly different command) and when I want to shut down that computer I double click on that bat file. Computer goes through the shut down process and turns off.
I have made no other adjustments to those computers.
The OPs problem may come from the computers not having a User account with the same username and password as the one he is sending the shutdown command from. So without the right username and password he is denied access to that remote computer.
All my computers, PC or Mac, have a User with the same username and password.