Networking Forums

Networking Forums > Computer Networking > Linux Networking > shutdown windows from linux

Reply
Thread Tools Display Modes

shutdown windows from linux

 
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 01:52 PM
I have 2 windows box and one linux box. I want to shutdown the windows
box remotely from linux box.

Any ideas for the above problem ??

Every help is appreciated.

Thanks

 
Reply With Quote
 
 
 
 
repo
Guest
Posts: n/a

 
      05-10-2006, 02:18 PM
On Wed, 10 May 2006 06:52:09 -0700, diffuser78 wrote:

> I have 2 windows box and one linux box. I want to shutdown the windows box
> remotely from linux box.
>
> Any ideas for the above problem ??
>
> Every help is appreciated.
>
> Thanks


Vnc, remote desktop ....

--
Chaos, panic & disorder - my work here is done
http://beginnerslinux.org

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      05-10-2006, 02:20 PM
(E-Mail Removed) writes:

>I have 2 windows box and one linux box. I want to shutdown the windows
>box remotely from linux box.


>Any ideas for the above problem ??


>Every help is appreciated.


Do the windows boxes have a shutdown command? Is there some way of running
a command from Linux on the windows boxes (eg having an sshd daemon running
on the windows boxes?)


>Thanks


 
Reply With Quote
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 02:20 PM
I want a utility like net rpc or something like that which would just
shutdown rather than doing remote desktop.

Every help is appreciated.

 
Reply With Quote
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 02:43 PM
windows do have shutdown command, but how do i remotely send this to
the windows box from linux box. SSH works only on linux (as far as my
knowledge goes..i am a newbie) .

Eveyr help is appreciated.

Thanks

 
Reply With Quote
 
Jeremiah DeWitt Weiner
Guest
Posts: n/a

 
      05-10-2006, 03:00 PM
(E-Mail Removed) wrote:
> windows do have shutdown command, but how do i remotely send this to
> the windows box from linux box. SSH works only on linux (as far as my
> knowledge goes..i am a newbie) .


Run a telnet or ssh daemon on the Windows box, maybe? Sounds to me
like you should be asking this on a Windows newsgroup, not a Linux one,
since the question is basically "How do I shut down Windows remotely
(without using remote desktop)", not "How do I do it with Linux?"

--
Oh to have a lodge in some vast wilderness. Where rumors of oppression
and deceit, of unsuccessful and successful wars may never reach me
anymore.
-- William Cowper
 
Reply With Quote
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 03:07 PM
I have to strictly use Linux box to shutdown the windows PC.

 
Reply With Quote
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-10-2006, 03:11 PM
I was wondering if somebody could suggest using Samba server to
accomplish the above task.

 
Reply With Quote
 
Lothar Roth
Guest
Posts: n/a

 
      05-10-2006, 03:57 PM
(E-Mail Removed) wrote:
> windows do have shutdown command, but how do i remotely send this to
> the windows box from linux box. SSH works only on linux (as far as my
> knowledge goes..i am a newbie) .


I think there is at least one shareware/freeware sshd for windows.
If you don't care about security, Microsoft has a telnet server service (daemon)
for XP (not installed/activated by default, perhaps as part of XP or the
Microsoft Ressource Kit).

A shutdown command is included in XP (or the Microsoft Ressource Kit) or us this
http://www.sysinternals.com/Utilities/PsShutdown.html
to shutdown the "local" computer after logging in via SSH.

> Eveyr help is appreciated.
>
> Thanks


Lothar
 
Reply With Quote
 
Beemer Biker
Guest
Posts: n/a

 
      05-10-2006, 04:03 PM
>I have to strictly use Linux box to shutdown the windows PC.

You need to be running some type of service on the windows box. It would
also have to be administrator. Complicating this is the ip address, if dhcp
and it changes, your linux system needs to be able to locate the windows
boxes to send a shutdown message.

A cheap way would be a service that periodically looks for a file and resets
the system if the file shows up. You can ftp or drop the file or the
windows service can look in a samba mount point to spot the file. I have
done this with about 20 notebooks, ftp a file and an app on the notebooks
resets them. Not all notebooks seem to shut down cleanly at least on the
win98 ones I had. Some would say "shutting down" and never shut down.

A better solution would be to run a window script on a windows box.
Enumerate the domain and issue a shutdown request to the boxes on the
windows domain. see "Windows 2000 scripting guide" and you can download
free software from microsoft so you dont have to actually buy the book.
This begs the question of how your linux box gets the windows one to run the
script. I have done this in a windows domain, but not from a linux box.

A more expensive way would be to use a naming service on your linux box. A
windows box's service would find the naming service and register with it.
The linux box would then have a list of subscribers that it could send a
message to causing a shutdown. CORBA has tools to do this. Look here for
software http://deuce.doc.wustl.edu/Download.html and read
news:comp.soft-sys.ace

BTW: I inadvertantly email this to you instead of posting it.

================================================== =====================
Beemer Biker joestateson at grandecom dot net
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
================================================== =====================


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Samba to shutdown windows from Linux terminal diffuser78@gmail.com Linux Networking 0 05-12-2006 12:36 PM
about rpc shutdown windows xp joker Linux Networking 3 06-07-2004 12:34 AM
Windows 98 hangs up on shutdown w/Netgear MA111 USB adapter installed Bernie Geller Windows Networking 1 09-12-2003 04:34 AM
Windows 98 peer to peer network, remote shutdown Bibi Justason Windows Networking 0 08-26-2003 02:43 PM
Windows ME won't shutdown after installing a network card JB Windows Networking 1 08-20-2003 01:57 AM



1 2 3 4 5 6 7 8 9 10 11