shutdown windows from linux

This is a discussion on shutdown windows from linux within the Linux Networking forums, part of the Linux Forums category; I have 2 windows box and one linux box. I want to shutdown the windows box remotely from linux box. ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2006
diffuser78@gmail.com
 
Posts: n/a
Default shutdown windows from linux

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
  #2 (permalink)  
Old 05-10-2006
repo
 
Posts: n/a
Default Re: shutdown windows from linux

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
  #3 (permalink)  
Old 05-10-2006
Unruh
 
Posts: n/a
Default Re: shutdown windows from linux

diffuser78@gmail.com 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
  #4 (permalink)  
Old 05-10-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

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
  #5 (permalink)  
Old 05-10-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

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
  #6 (permalink)  
Old 05-10-2006
Jeremiah DeWitt Weiner
 
Posts: n/a
Default Re: shutdown windows from linux

diffuser78@gmail.com 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
  #7 (permalink)  
Old 05-10-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

I have to strictly use Linux box to shutdown the windows PC.

Reply With Quote
  #8 (permalink)  
Old 05-10-2006
diffuser78@gmail.com
 
Posts: n/a
Default Re: shutdown windows from linux

I was wondering if somebody could suggest using Samba server to
accomplish the above task.

Reply With Quote
  #9 (permalink)  
Old 05-10-2006
Lothar Roth
 
Posts: n/a
Default Re: shutdown windows from linux

diffuser78@gmail.com 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
  #10 (permalink)  
Old 05-10-2006
Beemer Biker
 
Posts: n/a
Default Re: shutdown windows from linux

>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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0