Trylinux.org
 

October 22, 2007

Reboot a windows box from Linux

Filed under: linux, tips — tip @ 11:59 am

Occasionally I have the need to reboot a windows box from Linux. Here is the command I use to do this.
net -I {IP Address} -U Administrator rpc shutdown -r -f

The net command is part of the samba package and can be used for much more than rebooting, like adding or deleteing users, etc.  Read the man file for more info.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment