Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 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 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.

2 Answers 2

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...