Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I've been trying "net rpc shutdown" but it only works for rebooting and halting. RDP doesn't fit my needs. Any suggestion?


locked by HopelessN00b Feb 19 '15 at 18:08

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by HopelessN00b Feb 19 '15 at 18:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

use winexe it is ps-exec alike program that works under linux. i use it to invoke some actions on few windows boxes from linux.


How about WINE and shutdown.exe -l? -l can't be used with -m (the command to target a remote PC). You could, however force a reboot which would have nearly the same effect: "shutdown.exe /m [computername], -f -r"

WINE and PsShutdown... in fact the whole suite of PsTools would probably be good to have, but I digress...