0

How To Shut Down a Computer Remotely

Posted by Arch on March 18, 2019
How to Shut Down a Computer Remotely

If you have two or more computers connected to your home network, you can use one of them to shut all the others down remotely. Windows, Linux, and Mac computers all support this feature. You can use any of the three to shut down all of them. Let’s see how to shut down a computer remotely.

Shut Down a Windows PC from another Windows PC

To be able to shut your Windows PC down from another Windows PC, you will need to modify Remote Services on the computer you want to remotely shut down. Have in mind that you need to have administration permissions on both computers for this method to work. Here’s how to remotely shut down a Windows PC from another Windows PC:

  1. Press the “Windows” key on the PC you want to shut down remotely.
  2. Type “services.msc” in the search field and press “Enter”.
  3. When the Remote Services console opens, find Remote Registry. Left-click on it and click on “Properties”.
    Shut Down a Computer Remotely
  4. Once the Properties window opens, click the “Startup type” dropdown menu and pick the “Automatic” option.
  5. Next, click “OK” to confirm your choice.
    How to Shut Down a PC Remotely
  6. Press the “Windows” key on your keyboard once more.
  7. When the Start Menu launches, type “Firewall” in the search field and press “Enter”.
  8. Click the “Allow a program or feature through firewall” link on the left side of the window.
  9. After that, click the “Change settings” button.
    Windows Management Instrumentation Check Boxes
  10. Find “Windows Management instrumentation” and check the box. Also, check the “Private” column box.
  11. Launch Command Prompt on the PC from which you want to shut your PC down.
  12. Once the program opens, type “shutdown /I” and confirm by pressing “Enter”.
    Shut Down a PC Remotely
  13. When the Remote Shutdown app launches, click “Add”.
  14. Enter the name of the PC you want to shut down. Click “OK”.
  15. Choose the shutdown options.
  16. Click “OK”.

 

Shut Down a Windows PC from a Linux Computer

You can remotely shut down your computer from a Linux computer, as well. In order for this to work, you will have to prepare your Windows PC the same way you did for a remote shutdown from another Windows PC (Steps 1-10). With that out of the way, let’s see how to remotely shut down your Windows PC from a Linux computer.

There are two things you’ll have to keep in mind. First, you’ll need to have administrator’s privilege on the Windows PC. Second, both computers will have to be connected to the same LAN/Wireless network.

  1. Find out your Windows PC’s IP address. You can find it through Command Prompt. Open it and type “ipconfig” and press “Enter”. You need the IPv4 address. You can also find it in the router’s configurations. It is in the DHCP client table. Write the remote computer’s IP address down because you will need it later.
  2. Next, launch your Linux computer’s terminal.
  3. Install Samba, a protocol you’ll need to connect your Linux computer to your Windows PC. For Ubuntu, use this command: “sudo apt-get install samba-common”. The terminal will ask you for your root password before installation.
  4. Once you’ve installed Samba, type “net rpc shutdown – I IP address – U user%password”. Replace the IP address part with the actual IP address of your Windows PC. Instead of “user”, write the Windows user’s name and instead of “password” type the password of your Windows admin account.

 

Remotely Shut Down a Mac

You can also remotely shut down a Mac. Have in mind that the Mac and the computer you’re using to perform the remote shutdown have to be connected to the same network. Also, you will require administrator access on both computers.

The process looks very similar, whether you’re using another Mac or a Windows PC to shut down your Mac. Let’s see how to remotely shut down a Mac:

  1. Open another Mac’s terminal. Alternatively, you can perform this operation via PuTTY if you’re using a Windows PC to remotely shut down your Mac.
  2. Once the terminal or PuTTY launches, type in “ssh [email protected]”. You should replace the “username” with the remote Mac’s user name. Also, replace the “ipaddress” part with your Mac’s actual IP address. To find your Mac’s IP address on OS X 10.5 and higher, go to Apple Icon > System Preferences > Network. If you’re running OS X 10.4, go to Apple Icon > System Preferences > Network > Your Network > Configure > TCP/IP.
  3. When asked, provide the remote Mac’s user password.
  4. Next, type “sudo /sbin /shutdown now” if you want to shut down your Mac immediately and press “Return” or “Enter”. If you want to restart it, the command should look like this: “sudo /sbin / shutdown –r”.

 

Final Thoughts

Instead of shutting down or restarting each computer on your network manually, you can do it remotely from a single computer in a matter of minutes. For this to work, you only need to have admin access on each computer and perform some basic system settings tweaks if you’re working with a Windows PC.

Leave a Reply

Your email address will not be published. Required fields are marked *


Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.