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:
- Press the “Windows” key on the PC you want to shut down remotely.
- Type “services.msc” in the search field and press “Enter”.
- When the Remote Services console opens, find Remote Registry. Left-click on it and click on “Properties”.
- Once the Properties window opens, click the “Startup type” dropdown menu and pick the “Automatic” option.
- Next, click “OK” to confirm your choice.
- Press the “Windows” key on your keyboard once more.
- When the Start Menu launches, type “Firewall” in the search field and press “Enter”.
- Click the “Allow a program or feature through firewall” link on the left side of the window.
- After that, click the “Change settings” button.
- Find “Windows Management instrumentation” and check the box. Also, check the “Private” column box.
- Launch Command Prompt on the PC from which you want to shut your PC down.
- Once the program opens, type “shutdown /I” and confirm by pressing “Enter”.
- When the Remote Shutdown app launches, click “Add”.
- Enter the name of the PC you want to shut down. Click “OK”.
- Choose the shutdown options.
- 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.
- 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.
- Next, launch your Linux computer’s terminal.
- 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.
- 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:
- 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.
- 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.
- When asked, provide the remote Mac’s user password.
- 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”.
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.