Rebooting the computer remotely: instructions

No man knows when this or that knowledge will come in handy. The same goes for system administrators. You should remember that a remote reboot of a computer over the network is not done from a swoop, but requires some preparation, as a result of which in an emergency you may not be able to somehow influence it.

reboot computer remotely

Training

In order to restart the computer remotely without any failures, it would be better to take care of setting up the interaction of computers in advance. In total you will have to enable and automate the operation of the two services.

  1. Go to the Start menu and drive into the search bar: services.msc. This function should launch the service management utility.
  2. You will see a list. In it you need to find the "Remote Registry" and Terminal services.
  3. Double click on one of these lines. On the "General" tab, click the "Run" button to make the service work right now. In the drop-down list, select "Automatic" mode, and this utility will be launched every time the operating system starts.
  4. Repeat the same for the second service.

In addition to the above points, do not forget to add the user on your computer to the "administrators" group on the PC on which a reboot may be required. This will complete the preparation, and restart the computer remotely should succeed.

remote reboot of a computer over a network

Operation

Now let's start the direct process. Rebooting the computer remotely is done from the command line, so first of all start it by typing in the search bar: cmd. After that, you can use one of the following options.

  1. Type: shutdown -i. This command to remotely restart the computer will cause a special terminal. In it, you will need to select the desired PC from the list (or add it there yourself). After that, select "reboot" and, if necessary, make an entry in the event log.
  2. The second method involves instantly rebooting the PC. To do this, simply enter the command: shutdown -r. This will be the basis. To indicate which PC you want to restart, add the following attributes: / m \\ computer_name, indicating the name of the PC you need.

By default, the computer will restart remotely after 60 seconds, and a warning message will pop up to the user. So that he will be able to manage to save all his data.

remote reboot command

Program

In practice, using the console to reboot a remote personal computer is not always convenient. It’s much easier to choose a utility and install it. There are a number of programs that can help you simplify your life well.

  1. LanShutDown 4.0 contains only two files, one of which must be placed on the admin computer, and the second on the user. After that, you can turn off the desired PC with one click.
  2. If you use any program to control the remote desktop, you can arrange a reboot, although this function is usually not available. To do this, either use the command line and the method that we already talked about, or press "alt + f4" - and you will see the usual window for turning off the PC.

Source: https://habr.com/ru/post/C10749/


All Articles