If you have multiple always-on PCs connected to your network in your home in different rooms, it can be a difficult task to shut down or reboot each one physically. There are three ways to shut down these PCs all at once whether you have Windows, Linux or Mac computers.
STEPS TO SHUT DOWN A WINDOWS PC FROM ANOTHER WINDOWS PC
First of all, make sure to modify Remote Services on the computer you want to remotely shut down. For this check, if you have administration permissions on both computers for this method.
- On the PC you want to shut down remotely press the “Windows” key.
- In the search field and press “Enter” type “services.msc”. The Remote Services console opens.
- Find Remote Registry and left-click on it.
- Click on Properties.
- Click the “Startup type” dropdown menu
- Select the “Automatic” option.
- 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.
- Click the “Change settings” button.
- Find “Windows Management Instrumentation” and check the box. 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”.
- Click “Add”. Enter the name of the PC you want to shut down.
- Click “OK”.
- Choose the shutdown options.
- Click “OK”.
STEPS TO SHUT DOWN A WINDOWS PC FROM A LINUX COMPUTER
Prepare your Windows PC the same way you did for a remote shutdown from another Windows PC for shutting down your computer from a Linux computer.
- Here both computers will have to be connected to the same LAN/Wireless network. You’ll need to have administrator’s privilege on the Windows PC.
- Find out your Windows PC’s IP address through Command Prompt.
- Open it and type “ipconfig” and
- Press “Enter”.
- Find the IPv4 address in the router’s configurations. It is in the DHCP client table.
- 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.
- Type “net rpc shutdown – I IP address – U user%password”.
- Replace the IP address part with the actual IP address of your Windows PC. And you are done.
STEPS TO REMOTELY SHUT DOWN A MAC
For this method, administrator access is required on both computers. The Mac and the computer you’re using to perform the remote shutdown have to be connected to the same network.
- Open another Mac’s terminal. If you’re using a Windows PC to remotely shut down your Mac you can also do this via PuTTY.
- Once the terminal or PuTTY launches, type in “ssh username@ipaddress”.
- Replace the “username” with the remote Mac’s user name.
- 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.
- Provide the remote Mac’s user password.
- Type “sudo /sbin /shutdown now” if you want to shut down your Mac immediately.
- Press “Return” or “Enter”.
- If you want to restart it, type this command: “sudo /sbin / shutdown –r”.
All these methods can be done in a matter of minutes with admin access on each computer and some system settings very easily.