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?

share|improve this 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.

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.