Best Ways to Remotely Turn Off your Computer from LAN & WAN

In the previous article, we had discussed the best ways to Remotely Turn on your computer from LAN & WAN. Today we are going to discuss the best ways to remotely turn off your computer using LAN & WAN. If you have multiple computers on your network, you can shut them down remotely regardless of their operating system.

If you are using Windows, you will need to set the remote computer to be able to shut down remotely. Once this is set up, you can perform the shut down from any computer, including Linux. Mac computers can be shut down remotely with a simple Terminal command.

It is also possible to turn on a remote computer by using a 3rd party Wake On LAN (WOL) tool that is able to send a magic packet. Logically the computer will have to be plugged into a powerpoint so that there is electricity to boot up the computer. And this will help to keep the computer running.

Best ways to Turn Off your Computer from LAN and WAN

Turning off or shutting down a remote computer is also possible and it is actually much easier. Since the computer is already booted up and assumed is connected to the network. There are a few different methods to remotely shut down, restart or log off a user from the computer. Every method has its own advantage and disadvantages as well.

The easiest method is probably to use a third party software to shutdown a remote computer because the configuration is much simpler than using the built-in shutdown.exe tool that is also covered in this article. Most of the time you will need to have the software running on both computers, one is listening for the command to shut down while the other sends a command to request the computer to shutdown.

Here is the list of the third-party tools that are very useful to Remotely Turn Off your computer.

  1. Airytec
  2. DShutdown
  3. PowerOff

There are some other methods also that are very important and useful to fulfill the requirement. To combine the all over methods you may get puzzled. But, I will try my best to explain in an easy manner. Above we have mentioned about the third-party tools. These are part of our first Method.

List of methods that are useful to Remotely Turn off your computer:

  1. Third-Party Tools
    1. Airytec
    2. DShutdown
    3. PowerOff
  2. Using Twitter
  3. Remote Access
  4. Network Scanner
  5. In-built Shutdown.exe
  6. Other Methods
    1. Enable Remote Registry in Windows
    2. Shut down the Computer using Command Prompt
    3. Shut down your System from Linux
    4. Remotely Turn Off Mac
    5. Remotely Turn Off Windows 10 Desktop

Now let us start with Third-party tools and discuss all the methods one by one.

Method 1. Third-party Tools


It is the best option if you are looking for a third-party tool. Because you only need to run the program on the remote computer and the remote commands. Such as shutdown, restart, sleep, hibernate and opening predefined scripts can be accessed through your web browser including your mobile or tablet.

First of all, install Airytec Switch Off. Then, run the program. Make a right-click on the tray icon at the notification area and select Options. Go to the Remote tab and click the Edit web interface settings button followed by accepting the UAC prompt.

Then again go back to the Remote tab and click on the Enable web interface checkbox. By default, it uses port 8000 and it is advisable to set a password for the username User. Click OK to save the settings. You will need to allow the program through a Firewall or else you would not be able to access the web interface.

Switch Off Remote Options

The setting of User Name and Password

As you have configured to shut down the remote computer. Just launch the web browser from other computers and enter the URL http://Computername: 8000 in the address bar. Here you need to change the ComputerName that is set on the computer. Or alternatively, specify the internal IP address. You will be prompted to enter a username and password to access the webpage.

The username is “User” without the quotes and the password is what you have entered earlier at the Remote tab. Once you get in the Airytec Switch Off-page, simply click on any commands that you want to perform the actions on the remote computer.

Once you have enabled the Remote feature, Airytec Switch Off will automatically install itself as a service to run during Windows startup. Although they have portable builds for 32 and 64-bit systems, the remote functions are only available in the full installer version.

DShutdown– Remotely Turn Off tool

It is a small and portable shutdown tool that comes with quite a good amount of shut down types. It includes other actions such as wake on LAN, alarm clock, lock workstation, hanging up modem, disable LAN adapter, etc. The best part of DShutDown is it can automatically search for all online computers on your network. Once it searches the computers it adds to the list.

Download the DShutdown. You will get it as an archive file. Then, extract the archive and run RDShutdown Setup Utility.exe on the computer that you want to shutdown. Like Airytec first set a password, and then check the Autostart when Windows starts checkbox.

To shut down the computer that you have set up, run DShutdown.exe and click the Get PC list button. Once the remote computer has been added to the list, tick on the checkbox to select the PC, select the shutdown type and enter the password. To send the command, click the Enable Timer button where you are given 10 seconds to cancel the task.

Poweroff– Remotely Turn Off tool

It is a small but powerful utility. Poweroff is an open-source free utility that is able to control the power state of your computer. It seems an outdated tool but Poweroff is still one of our favorite tools because of the powerful features. The functionality still works except it requires a bit of manual configuration to get it working. Otherwise, you will end up with a connection timed out error.

Now, run Poweroff.exe as an administrator. For this make a right-click and select Run as Administrator. Then at the menubar, click on Service and select Create service. Check the Allow remote control checkbox and click the Settings button. You can change the port number, set a new password and click OK.

Finally, save settings in File that you will find in the menubar. You will need to manually add poweroff.exe to the allowed programs in Firewall which are located in C:\Windows\System32\poweroff.exe. The file is automatically copied to the System32 folder after creating the service.

How to Shut down?

To shut down, the remote computer, run poweroff.exe from another computer, select Remote Computer and click the Specify button. Enter the name of the computer that you want to shut down, type in the password and click OK. If you have changed the port, make sure you change it to match the one on the other PC.

Select the action that you want to send to the remote computer along with any additional options such as a warning message, allow cancel, run program, etc and finally when to do the action. Click the Do it button.

Method 2: Twitter– Use as remotely turn off tool

There is a freeware called TweetMyPC where you can run a bunch of commands including shutdown, restart, logoff, standby and etc on the remote computer by tweeting the supported commands on your Twitter account.

This method is also very useful because there are free Twitter apps for every device which means you can shut down a computer by logging in to your Twitter account and tweet the command. Moreover, you do not need to know the IP address or Dynamic DNS. The only configuration that you need to go through is installed TweetMyPC program and sign in with your Twitter account. You should create a new Twitter account for this purpose.

Method 3: Remote Access

Another method to remotely shut down a computer is through remote access. By enabling Remote Desktop that comes in certain versions of Windows. Or there are so many alternatives to install free remote access tools such as TeamViewer, AnyDesk, LogMeIn or any other. You can log in to your computer as though you are sitting in front of it and shut it down.

Although it is easy and straight forward and it lacks automation because you need to manually connect to the computer. Wait for it to load up and perform a few clicks.

Method 4: Network Scanner

If you are an administrator of a network and want to make sure that all computers on the network are turned off before you go home, network scanners will be a great help. It is able to scan a range of IP addresses and then shows you the computer that is online. You can then select all of the online computers and shut it down through the right-click context menu.

One of our favorite free network scanning tool is Advanced IP Scanner because it is able to automatically detect the internal IP address. It let you easily scan the whole subnet by clicking the Scan button. To shut down the computer, right-click on it and select Shut Down.

An options window will now appear allowing you to use windows authentication by providing the username and password of the remote machines. You can also specify the timeout and shut down the message. The last two options are to force shut down in case there are running programs that can possibly prevent the shutdown and to reboot instead of powering off.

Method 5: In-built Shutdown.Exe Tool

Windows comes with a built-in shutdown.exe command-line tool that can be used to shut down a local or remote computer. The good thing about using shutdown.exe is you can run it in a batch file for automation. This method is considered to be the most troublesome because it does not work right out of the box and requires a few configurations.

Once all of the requirements to use networking tools on remote Windows computers are met, then you can proceed with the commands below to shutdown a remote computer. You will first need to authenticate yourself on the remote computer but unfortunately, the shutdown.exe tool does not support user authentication.


You can do is use the “net use” command to map the system drive and specify the username and password, then followed by using the /m switch to shut down the remote computer:

net use x: \\computername\c$ /user:yourusername yourpassword

shutdown /s /f /m \\computername
net use x: /delete

You can also use PsExec or PsShutdown by Windows Sysinternals that comes with user authentication support to shutdown a remote computer.

psshutdown.exe -r -f -u yourusername -p yourpassword \\computername psexec.exe \\computername -u yourusername -p yourpassword shutdown /s /f

This was all about the tools now study some other methods.

Method 6: Other Methods

Enabling the Remote Registry Service (Windows)

Open the Start menu on the computer you want to be able to shut down remotely. Before you can remotely shut down a Windows computer on your network, you will need to enable Remote Services on it. This requires administrator access to the computer.

After that Type .services.msc while the Start menu is open and press ↵ Enter. This starts the Microsoft Management Console with the “Services” section open. Then Find “Remote Registry” in the list of services. The list is sorted alphabetically by default.

Right-click Remote Registry and select “Properties.” This will open the Properties window for the service. Select “Automatic” from the “Startup type” menu. Click “OK” or “Apply” to save changes. Click the Start button again and type “firewall.” This will launch Windows Firewall.

More Instructions

After this click “Allow an app or feature through Windows Firewall.” You will find this on the left side of the window. Then click on the “Change settings” button. This will allow you to make changes to the list below it.

Now check the “Windows Management Instrumentation” box. Check the box in the “Private” column.

Shutting Down the Windows Computer Remotely

Open the Command Prompt on your computer. You can use the Shutdown program to manage the shutdown process for multiple computers on your network. The quickest way to open the program is to use the Command Prompt.

For Windows 10 and 8.1 – Right-click the Windows button and select “Command Prompt.” For Windows 7 and earlier – Select “Command Prompt” from the Start menu.

After this Type .shutdown /i and press ↵ Enter. This will start the Remote Shutdown utility in a separate window. Click the “Add” button. This will let you add a computer on your network that you want to manage the shutdown process for.

You can add multiple computers as long as they are all configured for remote shutdown. Then enter the computer name. And then click “OK” to add it to the list. You can find a computer’s name in its “System” window (⊞ Win+Pause).

Set your shutdown options.

There are several options you can set before you send the shutdown signal: You can choose to shut down the remote computer or restart it. You can warn the users that their computers will be shut down. This is highly recommended if you know people are using computers. You can adjust the length of the warning that is displayed.

You can add a reason and comment at the bottom of the Window. These will be added to the logs, which is important if you have multiple administrators or need to be able to review your actions later. Click “OK” to shut down the remote computers. If you set a warning time, the computers will shut down when it expires, otherwise, they will shut down immediately.

Shutting Down the Windows Computer Remotely from Linux

Find the remote computer’s IP address. You will need to know the remote computer’s IP address in order to shut it down from Linux. There are several ways you can determine this:

Open the Command Prompt on the remote computer and type IP config. Look for the IPv4 address. Or open your router’s configuration page and look for the DHCP client table. This will display all of the devices connected to your network.

Open the Terminal on the Linux computer 

The Linux computer will need to be connected to the same network as the Windows computer you are shutting down. Then install Samba. This protocol is required to connect to the Windows computer. The following command will install Samba in Ubuntu:

sudo apt-get install samba-common

You will be required to enter your Linux root password in order to proceed with the installation. Now run the remote shutdown command. Once the Samba protocol has been installed, you can perform the shutdown command:

  1. net RPC shutdown -I IP address -U user%password
  2. Replace the IP address with the remote computer’s IP address (e.g.
  3. Replace user with the Windows user’s username.
  4. And finally, replace the password with the Windows user’s password.

Shutting Down a Mac Computer Remotely

Open the Terminal on another Mac on your network. You can use the Terminal to shut down any Mac on your network that you have administrator access to find the Terminal in the Utility folder in your Applications directory.

You can do this from Windows by using an SSH program such as PuTTY to connect to the Mac via the command line. Once you are connected via SSH, you can use the same following commands: type.ssh username@ipaddress. 

Replace username with your username for the remote computer. Replace the IP address with the remote computer’s IP address. Enter your user password for the remote Mac when prompted. After entering the command on the previous step, you will are prompted to enter the password for that user account.

Then type: sudo /sbin/shutdown now and press ⏎ Return. This will immediately shut down the Mac computer remotely, and your SSH connection with the computer will be severed.

Shutting Down Windows 10 Remote Desktop 

If the desktop is not activated, you will close the active program instead of opening the shutdown menu. Make sure the desktop is active and all other programs are closed or minimized.

Then press Alt+F4 while logged in remotely. If you use Windows 10 Remote Desktop, you may have noticed that there is no Shut Down option in the Power menu. If you need to shut the computer down, you can do so from the new Shut Down Windows menu.

Select “Shut down” from the drop-down menu. You can also choose from the other options, including “Restart,” “Sleep,” and “Sign out. Click “OK” to shut down the computer. Since you are using Remote Desktop, you will lose your connection to the remote computer.


Please enter your comment!
Please enter your name here