Friday, April 17, 2015

Shutdown Remote Computers from LAN or WAN

It is 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 in to a power point so that there’s electricity to boot up the computer and keep the computer running. 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, each with its own pros and cons.

Method #1: Third Party Software

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 command to shutdown while the other sends a command to request the computer to shutdown.
1. Airytec Switch Off
Airytec Switch Off is probably the best option for third party software 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.
After installing Airytec Switch Off, run the program, right click on the tray icon at the notification area and select Options. Go to Remote tab and click the Edit web interface settings button followed by accepting the UAC prompt. 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 Firewall or else you won’t be able to access the web interface.
Switch Off Remote Options
To shut down the remote computer that you’ve just configured, simply launch the web browser from other computer and enter the URL http://ComputerName:8000in the address bar. You will need to change the ComputerName with the name 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’ve 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.
Switch Off Web Interface
Once you’ve 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. Airytec Switch Off is free and has successfully tested on Windows 7 32-bit.

2. DShutDown
DShutDown is a small and portable shutdown tool that comes with quite a good amount of shut down types including other actions such as wake on LAN, alarm clock, lock workstation, hanging up modem, disable LAN adapter and etc. The good thing about DShutDown is it can automatically search for all online computers on your network and add it to the list.
After downloading DShutDown, extract the archive and run “RDShutdown Setup Utility.exe” on the computer that you want to shutdown. First set a password, and then check the “Auto start when Windows starts” checkbox. We failed to get the Install as Service option working because it kept on terminating by its own when it receives any shutdown command. Once you’ve configured DShutDown to automatically start when Windows is booted up, RDShutdown.exe file will run and sit in the notification area.
rdshutdown setup utility
To shut down the computer that you have setup, 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.
dshutdown

3. Poweroff
Poweroff is an open source free utility that is able to control the power state of your computer. Even though it is a bit outdated, Poweroff is still one of our favorite tool because of the powerful features and the support for command line arguments. The functionality still works except it requires a bit of manual configuration to get it working or else you’ll end up with connection timed out error.
First of all, you need to run Poweroff.exe as administrator (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.
poweroff remote control settings
Finally click File at the menubar and select “Save settings”. You will need to manually add poweroff.exe to the allowed programs in Firewall which is located in C:\Windows\System32\poweroff.exe. The file is automatically copied to the System32 folder after creating the service.
To shutdown 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 shutdown, type in the password and click OK. If you’ve changed the port, make sure you change it to match the one on the other PC.
Poweroff Remote Computer
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.


Read More:https://www.raymond.cc/blog/how-to-remotely-turn-off-computer-from-lan-or-wan/


No comments:

Post a Comment