View previous topic :: View next topic |
Author |
Message |
Cyberspew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 03 Jul 2003 Posts: 20 Location: Lancaster, PA
|
Posted: Tue May 29, 2007 8:21 pm Post subject: Shutting Down Windows Remotely |
|
|
Is there a way to get my Gentoo box to shutdown my Windows XP clients remotely over the network? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Paczesiowa Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 06 Mar 2006 Posts: 593 Location: Oborniki Śląskie, Poland
|
Posted: Tue May 29, 2007 8:34 pm Post subject: |
|
|
yes, you can connect using rdp and run start->run->"shutdown -s -t 0"
if you want script doing that thing, check http://www.cendio.com/seamlessrdp/ and try switching notepad with shutdown command. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cyberspew n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 03 Jul 2003 Posts: 20 Location: Lancaster, PA
|
Posted: Tue May 29, 2007 9:34 pm Post subject: |
|
|
that seemlessrdp does look pretty slick. But I would rather not put that seemlessrdpshell on all the computers I would like to shutdown with my linux box.
I know from windows I can just type shutdown -s -t 0 -m \\compname and it shuts compname down. Is there like a linux equivalent of that command that will emulate that command? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JeliJami Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/148526789243d7753a09b11.jpg)
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
Posted: Tue May 29, 2007 10:06 pm Post subject: |
|
|
you can run any command with rdesktop (explorer.exe being the hidden default):
Code: | $ rdesktop compname -s c:\path\to\shutdown.cmd |
see man rdesktop _________________ Unanswered Post Initiative | Search | FAQ
Former username: davjel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zillode n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 May 2006 Posts: 54
|
Posted: Tue May 29, 2007 10:26 pm Post subject: |
|
|
net rpc shutdown -U "xxx.xxx.xxx.xxx/Administrator%PASSWORD" -I xxx.xxx.xxx.xxx -f
(xxx..... is the ip btw...) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23112
|
Posted: Tue May 29, 2007 11:38 pm Post subject: |
|
|
On the off chance that the original poster does not have /usr/bin/net, I should point out that it is part of net-fs/samba. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|