[opensuse] How to remotely shut a windows box down from Linux
Is there any way to remotely shut a standard windows box down from a linux system? I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas. None of my google searches gives me any clues unless i am on a winbox myself. -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
Rikard Johnels wrote:
Is there any way to remotely shut a standard windows box down from a linux system? I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas. None of my google searches gives me any clues unless i am on a winbox myself.
I was going to suggest the shutdown command, but then I realized you'd have to be able to telnet or ssh into the system. What about something like remote desktop? -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Poweroff? http://users.pandora.be/jbosman/applications.html It allows you to telnet in and run commands: You can remotely control poweroff by starting it as a service and setting the �Allow remote control� option. You can control it by using poweroff itself and selecting a remote computer, or you can control it by using telnet to the port where poweroff listens on (default 3210). For example telnet computer 3210. You�ll see a welcome message like this: 201 Welcome to Poweroff 3.0 created by Jorgen Bosman
Is there any way to remotely shut a standard windows box down from a linux system? I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas. None of my google searches gives me any clues unless i am on a winbox myself.
-- /Rikard
----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
Is there any way to remotely shut a standard windows box down from a linux system?
net rpc shutdown -S serve-name -U Administrator
I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas.
You need the samba-client package to do this.
[...]
Cheers Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
Is there any way to remotely shut a standard windows box down from a linux system?
net rpc shutdown -S serve-name -U Administrator
I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas.
You need the samba-client package to do this.
[...]
Cheers Herbert
I probably have something wrong: rikjoh@weasle:~> net rpc shell -S 192.168.1.167 -U Administrator Password: Could not connect to server 192.168.1.167 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE Could not open connection Linux or Windows the problematic point? -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* Rikard Johnels
rikjoh@weasle:~> net rpc shell -S 192.168.1.167 -U Administrator Password: Could not connect to server 192.168.1.167 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE Could not open connection
Linux or Windows the problematic point?
is "Administrator" the name of the highest-level account, ie: on my wife's hp box it is HP_Administrator? - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn4472 (GNU/Linux) iD8DBQFHG3tvClSjbQz1U5oRAp8jAKCZwJTBvn6wbznVoU8eaIwkMFEkpQCgq5fX +r4h0WAQ5xwnXD6saaJwfOs= =SetS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 21. Oktober 2007 18:16:48 schrieb Patrick Shanahan:
* Rikard Johnels
[10-21-07 12:10]: rikjoh@weasle:~> net rpc shell -S 192.168.1.167 -U Administrator Password: Could not connect to server 192.168.1.167 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE Could not open connection
Linux or Windows the problematic point?
is "Administrator" the name of the highest-level account, ie: on my wife's hp box it is HP_Administrator?
It has to be an user that has the right to shutdown the machine remotely. Usually thats the user Administrator, but it may you have renamed it, or if you have a domain you ha to add the domain to the command as well. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Sonntag, 21. Oktober 2007 18:09:46 schrieb Rikard Johnels:
On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
Is there any way to remotely shut a standard windows box down from a linux system?
net rpc shutdown -S serve-name -U Administrator
I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas.
You need the samba-client package to do this.
[...]
Cheers Herbert
I probably have something wrong:
rikjoh@weasle:~> net rpc shell -S 192.168.1.167 -U Administrator Password: Could not connect to server 192.168.1.167 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE Could not open connection
Linux or Windows the problematic point?
Mabey, if you want to use the ip number you have to use -I instead of -S. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 21 October 2007 18:09, Rikard Johnels wrote:
On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
Is there any way to remotely shut a standard windows box down from a linux system?
net rpc shutdown -S serve-name -U Administrator
I have a few boxes i need to kick users from and shutdown (or reboot) every now and then. And its the only Windows boxes on the network. My system is a SuSE Linux, and i dont have win4lin, vmware or any other emulator running. I hope i can accomplish the task without having to install it too. any pointers/ideas.
You need the samba-client package to do this.
[...]
Cheers Herbert
I probably have something wrong:
rikjoh@weasle:~> net rpc shell -S 192.168.1.167 -U Administrator Password: Could not connect to server 192.168.1.167 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE Could not open connection
Linux or Windows the problematic point?
Swedish XP... Administratör.. Next problem: :~> net rpc shutdown -S 192.168.1.167 -U Administratör Password: Shutdown of remote machine failed result was: WERR_ACCESS_DENIED -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
Rikard Johnels wrote:
Swedish XP... Administratör..
Next problem:
:~> net rpc shutdown -S 192.168.1.167 -U Administratör Password:
Shutdown of remote machine failed
result was: WERR_ACCESS_DENIED
I got this far as well, then, I tried changing name of user in windows services RPC to Administrator and it's password. I then rebooted the XP machine and got the same result. For me this would be great to get working I could set a cron job on my Linux server to shutdown my 40 lab computers at the end of the day -- In theory, there is no difference between theory and practice; In practice, there is Robert Cunningham Sr. Physics Laboratory Coordinator /RSO -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Donovan R. Palmer
-
Herbert Graeber
-
James Knott
-
Patrick Shanahan
-
Rikard Johnels
-
Robert Cunningham