Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shutting Down Windows Remotely
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cyberspew
n00b
n00b


Joined: 03 Jul 2003
Posts: 20
Location: Lancaster, PA

PostPosted: Tue May 29, 2007 8:21 pm    Post subject: Shutting Down Windows Remotely Reply with quote

Is there a way to get my Gentoo box to shutdown my Windows XP clients remotely over the network?
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Tue May 29, 2007 8:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Cyberspew
n00b
n00b


Joined: 03 Jul 2003
Posts: 20
Location: Lancaster, PA

PostPosted: Tue May 29, 2007 9:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Tue May 29, 2007 10:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zillode
n00b
n00b


Joined: 19 May 2006
Posts: 54

PostPosted: Tue May 29, 2007 10:26 pm    Post subject: Reply with quote

net rpc shutdown -U "xxx.xxx.xxx.xxx/Administrator%PASSWORD" -I xxx.xxx.xxx.xxx -f


(xxx..... is the ip btw...)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Tue May 29, 2007 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum