Solved How do you shutdown a mac using win7? (on the same network)

June 12, 2012 at 17:12:08
Specs: Windows 7
How do you shutdown a mac using win7 (on the same network) using the command line?

win to win: shutdown -i then name or ip-address, what about win to mac? How does that work?


See More: How do you shutdown a mac using win7? (on the same network)

Report •


#1
June 12, 2012 at 17:20:20
✔ Best Answer
Install SFU if it has shutdown command.

Might be able ssh or telnet to it also to run a sync and halt. Halt may not be shutdown in all cases.

Hang up and live.


Report •

#2
June 12, 2012 at 18:34:09
Didn't work, might had made an error (not sure, oh well).

Going to use WinPower instead, thanks anyway.

WinPower:
http://www.ups-software-download.com/


Report •

#3
June 12, 2012 at 23:20:33
1. Enable ssh on the Mac.

2. Use ssh to run the command "sudo shutdown -h now" on the Mac.


Report •

Related Solutions

#4
June 13, 2012 at 08:50:05
....

On win 7, remote shutdown. Reread the question.


Report •

#5
June 13, 2012 at 09:02:07
vinny.gx you need to reread ijacks answer. He is suggesting via a ssh connection to the mac for you to run the sudo command which will then properly shutdown the mac

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's


Report •

#6
June 13, 2012 at 11:33:07
I've reread the question.

My answer is the same.

It's the easiest way to remotely shutdown a Unix system.

Perhaps you should Google "ssh" to learn how it works.


Report •

#7
June 13, 2012 at 12:48:42
I know what he's saying. "Use ssh to run the command "sudo shutdown -h now" on the Mac." that like saying go on cmd then type in shutdown /s...

Ex: You have two laptop (Laptop A is Win, Laptop B is Mac), Using Laptop A, how do you shutdown laptop B?

If your answer is still the same, explain to me how do you shutdown a Unix system (Laptop B) from "Laptop A".


Report •

#8
June 13, 2012 at 12:58:51
Just like I said. You ssh into Laptop B from Laptop A and run the command "sudo shutdown -h now".

I really can't make it any clearer than that.

Google "ssh", then come back.


Report •

#9
June 13, 2012 at 13:08:43
its the same as you would RDP to a workstation and run shutdown

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's


Report •

#10
June 13, 2012 at 13:19:54
ijack:
You can make it clearer than that... What you said before was "Use ssh to run the command "sudo shutdown -h now" on the Mac." (I repeat ON THE MAC)

For window, that like saying go on cmd then type in shutdown /s...

Now are you trying to say install ssh on the mac (Laptop B) then run the command on the window (Laptop A), explain how does that command even communicate with Laptop B?

Wanderer:
Yeah I know. I just want to know if there's a way you can use window to shutdown a mac.

For ex: Shutting down a window to a window (laptop A&B), you would go on cmd then type in shutdown -i and then the ip-address (one click the other laptop shutdown).

If you use the ip-address for the mac, it will say "remote shutdown is not supported on the target computer".


Report •

#11
June 13, 2012 at 13:38:49
Why would you think you can use a command designed for windows on a mac?

Any mac command you can use on a windows machine?

-i is for the gui interface

-m \\servername is how you target a remote computer.

The point you are missing is there is not a windows command to shutdown a mac. That is why you need to ssh to the mac and run ITS shutdown command.

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's


Report •

#12
June 13, 2012 at 13:42:20
"Now are you trying to say install ssh on the mac (Laptop B) then run the command on the window (Laptop A), explain how does that command even communicate with Laptop B?"

Well, ssh is a default part of OS X so there is nothing to install; you just need to ensure that it is enabled. You will need a suitable ssh client for Windows - putty is a favourite.

No, I'm not going to explain further. I've told you twice how to find more information - Google; I don't really have the time to produced tutorials on network communications and protocols. The fun part about computing is finding things out for yourself; I'm happy to point you in the right direction but I'm not going to do your research for you. Read up about ssh and, whilst you are about it, go to your Mac, open a terminal session and type "man shutdown" to learn about the OS X command "shutdown".


Report •

#13
June 13, 2012 at 13:57:45
Now that's an answer! Much better. Good job.

Report •

Ask Question