View previous topic :: View next topic |
Author |
Message |
Cyberspew n00b
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 |
|
|
Paczesiowa Guru
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 |
|
|
Cyberspew n00b
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 |
|
|
JeliJami Veteran
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 |
|
|
Zillode n00b
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23062
|
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 |
|
|
|