A program for remotely rebooting a computer. Remote access

Managing a local area network from several computers may require the most unexpected things from the system administrator. One of such knowledge is a remote reboot of the computer. To complete it, you will need some preliminary preparation, and it must be completed much earlier than you need the "reboot" itself.

Customization

The first thing you need to do is add the user from whom the computer will restart remotely to the "administrators" group on the PC that you want to restart. In practice, this means that in the local network, your username should be assigned to the "administrator" at all workstations.

program to restart the computer remotely

The next step is to enable the Remote Registry service on all computers in the workgroup. You will also need administrator rights for this.

In versions of Windows before the "seven" you need to enable the "terminal services".

Service Enable

So, for starters, let's look at connecting the services we need. Remember that remote control of a computer can only occur if it has already undergone initial setup and preparation.

There are two ways to run the service management utility.

  1. Click the "Start" button and enter the combination "services.msc" in the search bar. After that, you need to find the above lines, right-click on them and select "Properties". In the window that opens, on the "General" tab, you will see a drop-down list. To enable the service on your own every time the user starts the computer, you select the "Automatic" mode. Save the changes and exit.
  2. The second way is a little trickier. Press the key combination "Ctrl" + "Alt" + "Del". Go to the "Services" tab and at the bottom of the window click on the button of the same name. After that, we repeat the same steps as in the previous paragraph.

remote computer control

Command

There are various methods by which you can remotely control a computer. These are special programs, and built-in Windows tools, and the usual command line. We will start with the most elementary and visual.

Remote restart of the computer through the command line is carried out in two stages.

  1. Run the "line" from the "Start" menu. To do this, either go to the "Standard" folder and select the desired shortcut, or enter the command "cmd" in the search bar.
  2. You now have options. You can try typing "shutdown -i" first. You will see an information window. This is a utility for restarting the computer remotely. After that, you will need to add the PC from the workgroup there, using the appropriate button. Then specify the desired action, in our case - "reboot". Indicate the reason for registering in the event log, although this is not necessary.

Another option involves a slightly different development of events.

  1. Run the command prompt.
  2. Now you have to enter the team. Be careful, the syntax is quite complicated. First, we write the familiar “-shutdown” command with the “-r” parameter. After that, you need to specify the computer that you want to turn off. Therefore, we write "/ m \\ computer_name". Also, if necessary, you can add a comment using the key "/ with" text "".

remote computer restart

Programmatically

Of course, a remote reboot can be performed not only manually. A program for remotely rebooting a computer is a sure-fire tool for those who are too lazy to understand the intricacies of managing a PC through the console. It is also ideal for parents trying to control their children’s time spent on toys.

For example, you can use the LanShutDown 4.0 utility. It is completely free with an intuitive interface. It contains only two files. LanShutdownC.exe needs to be placed on the "admin" PC. ShutdownC.exe must be "thrown" into the folder with standard Windows programs.

EMCO Remote Shutdown 5.0.7 is another program for remotely rebooting a computer. Allows you to perform any action with the station without additional configuration. Its only minus is paid. But if you want to use it for a solid company, then it is the best suited for the goal.

unable to connect to remote computer

Desktop

If the program for restarting the computer remotely does not suit you, you can always use other methods. When creating a local network, most system administrators configure the remote desktop to have access to the computer of employees at any time. If you use it too, you can always use the following advice.

In the normal mode of working with Remote Desktop , the "Start" menu does not have the "Shutdown" item. Thus, it may seem that you cannot turn off the PC yourself without getting up from your place. However, it is not. There are two ways to restart the remote PC in this mode.

  1. If you close all the folders and windows, and then press the combination "Alt" + "F4", then you will see a familiar window in which you can choose to reboot.
  2. The second way is to use the command line already on the most remote PC. To do this, use the instructions that we wrote in the appropriate paragraph. Call up the command line and enter the operation without specifying the computer name.

remote computer restart via command line

Files

Another way you can remotely restart your computer is to use executable .bat files. They contain instructions and commands that you will initially write in them.

So, all you need is to follow the following instructions.

  1. Create a text document in any editor.
  2. Then the reboot command is written: "-shutdown / r".
  3. Click "Save As ...".
  4. Enter, for example, "reload.bat" in the name. No matter how you name the file, the main thing is to correctly specify its extension.

All. Now, using the command line or remote desktop, you can simply run this "utility". After you double-click on it, an automatic reboot will begin.

reboot command

Error

Sometimes there are times when users cannot connect to the remote computer. In most cases, this is due to the fact that the correct communication between the stations is not configured.

  1. When using Remote Desktop, be sure to check if there is enough RAM. If it is missing, close all third-party applications.
  2. Network problems are the most common mistake. First, ping the remote computer using the ping ip command . If packet exchange is in progress, then try checking the spelling of the computer name.
  3. Check if the required services are enabled.
  4. Turn off the firewall. It can block incoming connections.
  5. In the computer properties, allow connections from remote computers.
  6. An account with administrator rights must exist on the client computer, which is called the same as the user at your workplace.

These were the most common reasons why you cannot connect to a remote computer. The remaining problems must be dealt with more closely and thoroughly, because in each case there are some nuances, and it is impossible to foresee them all.

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


All Articles