Solved

Is there a tool to reboot windows xp/2003 PCs over the network from a Linux box?

Posted on 2006-10-22
5
369 Views
Last Modified: 2013-11-15
Like it says - How can I reboot windows PC from a Linux terminal session?

-I have a site that has 1 public IP available, 3389 goes to the windows server, 22 goes to a CentOS 4.3 server (no X). There are several other XP workstations, but my port mappings are limited. Something locked me out of my windows server, is there a way I can reboot it over the LAN from my Linux server.

Please elaborate on any solutions, I am not a huge Linux guru, my experience is more in the beginner>intermediate range.

Thanks
0
Comment
Question by:totalimpact
5 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 84 total points
ID: 17786886
I'm not familiar with Windows but here what I know:
install sshd on Win machine
http://www.bitvise.com/winsshd.html?gclid=CMj6nLjRjogCFRFbMAodPms7Aw
http://pigtail.net/LRP/printsrv/cygwin-sshd.html
http://devguy.com/fp/scp/

configure key based authentication (passwordless) - if You need.
execute remote command with ssh (http://www.aumha.org/win5/a/shutcut.php).
0
 
LVL 6

Assisted Solution

by:collins23
collins23 earned 83 total points
ID: 17786901
the simplest ways i can think about:
1. -- installating a tightvnc on the windows machine and then using a vnc client on the linux computer to login to the windows machine then reboot.

or

2. -- Install cygwin (http://cygwin.com/) on the windows computer enable ssh. so that you can "ssh windowsip" from the linux computer then type "shutdown -r"   to reboot windows.

0
 
LVL 14

Assisted Solution

by:canali
canali earned 83 total points
ID: 17787695
if u have samba installed in the linux box try (so u don't need to become crazy to install in a loked out server;)
net rpc shutdown --reboot -I <windows-ip> -U administrator

Gastone
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn how to use the Hootsuite Dashboard.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now