Program for remote reboot of the computer. Remote access. TeamViewer - remote computer control

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

Preparation

  1. Go to the "Start" menu and type in the search bar: services.msc. This function should launch the service control utility.
  2. A list will appear in front of you. In it you need to find "Remote Registry" and Terminal services.
  3. Double click on one of these lines. On the "General" tab, click the "Start" button to start the service right now. In choose "Automatic" mode, and this utility will run every time you start the operating system.
  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 that may need to be restarted. This completes the preparation, and restarting the computer remotely should work.

Operation

Now let's get down to the actual process. The computer is rebooted remotely from, so the first thing to do is run it by typing in the search bar: cmd. After that, you can use one of the following options.

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

Program

In practice, using the console to restart a remote personal computer is not always convenient. It is much easier to choose some utility and install it. There are a number of programs with which you can make your life easier.

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

What is DNS?

DNS stands forDomain Name System or Domain Name Service. You have specified a name, and DNS substitutes the ip address of the resource hosting the site. The name in this case is the hostname or IP address. Without DNS, you would have to remember the IP address of every site you want to visit. Today there are more than 300 million websites on the Internet, it is absolutely impossible to remember the IP address of the required site.

What is dynamic IP?

How to make a static ip address from a dynamic one?

No need to buy a static IP. Use our free Dynamic DNS to match a dynamic address or long URL to your property to easily remember the hostname. Remote monitoring of your home through a webcam on any port or running your own server at your home with a dynamic IP address - all this is available with the serviceDnsIP . In the case of a dynamic IP allocation by an ISP, a service such as Dynamic DNS becomes necessary.

When registering on our service, you get a domain name. A special client that needs to be downloaded is installed on the user's computer. This client periodically sends information to the DNS server, reporting its IP address. The DynDNS service server stores the last IP of the user and, when accessing the custom domain name obtained during registration, redirects the request to this IP.

Private network.

Conventional services offer only third-level domain names. This may be inconvenient. In the presence of an external dynamic IP address, our innovative project allows you to get a domain name not only of the third, but also of the first level. By installing a special application on computers, a private network will become available to you, in which you will be able to access services or programs using any protocol or port. In this case, no traffic will pass through our server. All information will be transferred between computers directly.

Remote computer and remote desktop.

By using DynDNS Secure service DnsIP allows you to organize a connection to a remote computer through any remote access program using any port. In this case, you directly contact the remote computer, and our service only informs your programs of the required IP address.

Network monitoring.

Using our service, network monitoring will become available to you. All connected users (names of their computers) will be tracked only by you. You will be informed which computer is online and which one is offline.

If any application on the remote computer is not responding and you need to safely reboot the remote machine, you can do this with the click of a button without using the command line and special firewall settings, and even if the remote network does not have an external IP address. All you need is an Internet connection.

Auto-click on the free access button when using Yota.

If you use free Internet access from the "Yota" provider, once a day the connection is blocked, and a browser window appears with a suggestion to continue at a slow speed. This is extremely inconvenient when using remote access to this computer. In this case, it is enough to install ourfree program, and it will restore access to the Internet within a few minutes. This option is available without user registration on our website. In this case, the program only needs to be installed, no settings need to be made.

At any time, you can find out the IP address of your resource.

The page http://dns-free.com/dns2ip.php?dns=xxxxxxx is at your service, where xxxxxxx is the domain name in the DnsIP system. Use it to organize links to your resource using the dynamic DNS system. Or add to favorites, and with one click, find out the current ip of your resource. Or enter manually in the form on the same

If you've ever wondered if it's possible to restart or shut down a computer via remote network access (from a distance), I will answer - yes, it can be done quite well on both windows 7 and windows 10 simply using the command line.

First steps to disable or restart your computer over the network

To perform this process correctly, you must be connected to the same local area network (LAN) as the computer you want to shut down or restart.

In addition, you need to know the username and password assigned to the computer (if any). Without this information, the process will not be possible.

Before taking any action, make sure that TCP port 445 is open in the Windows Firewall on the computer that you want to shut down or restart.

To do this, go to the "Control Panel" and "Security Center". Then select the Windows Firewall option.

Click the Exceptions tab. Typically, the option to allow file and printer sharing is already selected.

Attention

Today, many antiviruses take over the firewall function, then you need to look into them.

If it is not, select it and click OK. If you don't see File and Printer Sharing, click Add Port and select 445 TCP.

Then open the Control Panel again. Select the System command and select Allow users to connect to this computer on the Remote tab.

To turn off or restart a computer over the network, use the command - net use

To obtain the necessary rights, you must first use the net use command on the target computer.

Before starting the whole operation, you will also need the address of the destination computer. To enter the NET USE command, launch a command prompt and enter the command below:

  • Net use \\IP of target PC /user:administrator

Then enter the administrator name and password - if the operation was successful, you will see the corresponding information on the screen.

Shut down or restart the computer using the Shutdown command

To restart or shut down the computer using Remote Desktop, you can use the shutdown command through the command line.

After launching the command prompt in a black window, type:

  • shutdown /r /f
  • /r - reload
  • /f - force reload (ignore interfering processes) processes

After confirming with Enter, the system will inform you that the computer or laptop will restart in a moment.

Attention

If you want to turn off and restart your computer or laptop, if it freezes then try it through: / f - it might work.

How to restart or turn off the computer through - bat

If you often restart your computer via Remote Desktop, it's a good idea to create a (.bat) file on your desktop.

To do this, create Text Document” (txt) and name it “Restart.bat”. At the same time, you must have the display of extensions enabled (otherwise you will not see anything).

If you don't see the .bat extension, you should go to Folder Options and uncheck "Hide extensions of known file types".

Now, in the created file, enter the command (it is better to do this before renaming it to “Restart.bat”), for example, shutdown / r / f. Then we close, saving the changes and we can run the file.


It can be used to automatically restart the computer, for example every Saturday. Just set it to run at a specific time in the task scheduler.

Now you can move on to the main command, thanks to which you can shut down or restart your computer over the network.

For those who are not yet fully familiar with such procedures, here are some commands, as an example: shutdown -a -f -t 30 - m \\192.168.3.4/

  1. So -a - the "End" command can be executed during the "Shutdown Delay" action.
  2. -f : Forces applications that are currently running to be shut down without warning.
  3. -t xx: Sets the countdown in seconds.
  4. -m \\ xxx.xxx.xxx.xxx: IP address of the target computer.
  5. Graphics are available after the command: Shutdown -i.

The easiest way to reboot a computer remotely over a network using the command line

This is a great way with a command.

  • Shutdown/r/t000

After executing such a command, the computer will restart immediately. Instead of zeros, you can specify a delay. For example:

  • Shutdown/r/t 60

After executing this command, the PC will restart with a delay of 60 seconds. The user will see warnings.

How to turn on or restart your computer using the Wake On Lan command

The Wake On Lan operation involves switching the system over the network by sending a Magic Packet to the network card of the target computer.

Attention

Important: Not all network adapters and BIOS are compatible with the Magic Packet tool.

To perform this operation, the device you want to use for execution must be connected to the same local area network (LAN) as the target, that is, the one you want to turn on from a distance.

In addition, you must know the physical address (MAC address) and IP address of the destination PC. Without these elements, such an operation cannot be performed.

How to check the MAC and IP address and compatibility of the card to shutdown or restart the computer over the network

In order to get the required two addresses, go to Start, then execute or use the keyboard shortcut "Win+R".

Type cmd and hit the Enter button. In the dialog box, type ipconfig /all. In the table, you will see both the physical MAC address and the IP address. Write them down or remember.

To check the compatibility of the network card on your computer, click the My Computer icon and select Manage.

Select the "Device Manager" option and then the "Network Adapters" tab. Right-click the "Network adapter" option and then "Properties".

After opening the "Properties" tab, look for the word "Magic Packet", "Wake on Magic Packet" or "Wake On Lan".

The name of the tool may differ depending on the model. If you don't find this option anywhere, you most likely need to update your network card drivers.

You can search for missing drivers online on intermediate pages or directly on the manufacturer's website. After installing all the necessary elements, reboot.

You should also check for BIOS compatibility. Once logged in, go to the power option and activate the Wake-on-Lan option or a similar name. The names may vary depending on the PC model.

In the firewall, open port 8900 in the same way as described to check if port 445 is open.

How to turn on a computer from a distance using the WOL program

You need to download the Wake-on-LAN (WOL) program. This is what it looks like when you open it

Then fill in the required fields using the previously obtained information.

  1. Mac Address: MAC address (target computer)
  2. Internet address: Local IP address (target computer)
  3. Subnet mask: 255.255.255.255
  4. Send options: Local subnet
  5. Remote port number: 8900
  6. Press the "Wake Me Up" button.

How to turn on a computer remotely over a network

Theoretically, after the appropriate configuration of the router, you can turn on the computer via the Internet.

More specifically, it is about forwarding a UDP packet from a specific port to all devices connected to the network.

Only in practice does such a device allow such operations (IP address xxx255 for Type C networks).

The process is done by sending a Magic Packet to your public IP address and to the appropriate port (as described above), which will shut down the computer.

One configuration provides access to all devices on a given network, but with the appropriate settings, each of them can work independently of the others.

How to turn on your computer remotely using your phone

If you want to turn on the computer remotely over the network from your phone, you need to use an external RTC modem in the RS-232 port.

Connect the modem to the PC, and in the BIOS, activate the wake-up on modem function. In this way, if the modem is turned on, when you call your phone, the computer will start.

The modem can be easily connected to an IP telephone line, and the telephone will be connected in parallel with the modem.

This method alone has one but significant drawback, when the modem is on, your computer will start up with every incoming phone connection.


To fix this, you can use the command prompt to run the shutdown -s -t 300 command, which will shut down the computer in 5 minutes.

In turn, a desktop shortcut with the shutdown -a command will allow you to cancel the computer shutdown process if you are working on it.

The process cancellation command can be executed remotely using a VNC script, PHP, or any other method of remotely launching processes over the network. Good luck.

Today, the use of any operating system implies the creation of a user account, this also applies to the familiar Windows. Thanks to this, it becomes possible to execute various commands without being near your device. How to restart a computer remotely? Let's try to find an answer to this question.

There is a special software designed to manage PC remote access. If it is installed on another computer, you can set various commands to your own and fully control its operation. In a word, open the Desktop of one device from another, and when two devices are connected to the network, perform the necessary actions from it.

In this case, the traditional method is used - the command line or the Start key. But not all users have a special remote administration utility installed. If you often perform this kind of procedure, it is better to download the software.

Setting process

You can reboot a computer device remotely using the following algorithm:

  • turn on the remote PC;
  • if everything went well, click Start and enter services.msc (intended for new releases of OS 8, 8.1, 10);
  • for older versions of Windows, the Win + R combination is used on a remote computer, and the Run window is called;


  • in the line that appears, write the appropriate combination;
  • click Enter;
  • a list of services on your remote computer will be opened - look for the Remote Registry and double-left click the mouse;


  • go to the General tab in the window that appears;
  • select Start (the service is activated for the current session);
  • now you need to set the autostart of this service every time you turn on the equipment;

  • in the launch mode, expand the menu and select Automatic;
  • press OK and close the window;
  • repeatedly return to the list of services on the remote computer, look for Terminal Service;
  • repeat the above steps for this service, starting with the Remote Registry.

Now you can control your device from a distance and, if necessary, reboot it.

You should check that the user from whose profile operations are performed on the second PC is a member of the admin group on the remote device that requires a restart. Otherwise, nothing will work.

Trying to restart the remote computer

After completing the above steps, you can proceed to the procedure of interest to us. For this you need:

  • firstly, activate the utility on the physical computer you will be working on;
  • secondly, connect to a computer that needs to be restarted;
  • thirdly, launch the command line by entering cmd in the Run menu window or the search bar;


  • then the command line will be opened;
  • lead in it


  • add the necessary attributes that point to a specific rebooted device: /m\\computer_name (computer_name is the name of the device you plan to reboot, no spaces are put);
  • press Enter;
  • Finally, close the command line.

Exactly sixty seconds later, a reboot will occur. This setting cannot be reduced. If at this time someone is working on the remote device, he will see a warning about the further process so that the information can be saved. But he will not succeed in canceling or even postponing the action.

There is a more difficult way, but it is also more convenient - to type shutdown -i. This will open an individual special terminal that allows you to configure information about the reboot and save entries about it in the log. But this option is suitable for advanced users.

What software to use?

It should be noted that in practice you may not have installed utilities, you can even do without command line skills. Many people don't like it. If you carry out such procedures regularly, then it is better to use a specialized program that will help you do what you need.

You can download for yourself. This is a proven tool for implementing the simplest remote administration options, it contains only 2 files - one is sent to the remote PC, and the second to the worker. Here you will only need to click the mouse once to activate or deactivate the equipment.


This software can also be used as an addition to a full-fledged program. Previously, it was not possible to reboot the device in it, but now you just need to run both utilities at the same time and press Alt + F4. Finally, a window for remote reboot will open.

There are many different products of this kind that allow you to restart your computer even if it freezes. The comfort of work and its efficiency will depend on the correct choice of utility. You can pay attention to the following options:

  • Microsoft Remote Desktop– no need to download additional software, but only suitable for computers with Windows Pro version and higher;
  • – must be installed on the admin PC and on the administered PCs. A high-quality and powerful product in Russian, allows you to control up to ten devices, is distributed free of charge;


  • Ultra VNC- a Russian-language utility that needs to be installed on an administered computer, cross-platform.

Now you know how to restart your computer remotely. To do this is quite simple, and our instructions will help you with this. If you have any questions, ask in the comments.

In the traditional way, users restart the computer by pressing the restart button in the Windows interface. If necessary, they resort to a physical reboot by pressing a small button located below the computer's power button.

In the topic of the article, we will touch on the method -. In general, cmd is an excellent system administrator tool that provides automation and speed of actions that are not always available in normal Windows management.

The shutdown command will help with this, with which it is possible not only, but also to reboot it and log out of the system.

Most users, of course, will not use the recommendations, but experienced IT professionals should definitely know all the intricacies of working with the command line.

In the lesson, we will consider the procedure for restarting your and a remote computer. This will require a PC running any OS and administrator access.

First, since using this operating system as an example, we will restart the PC. Next, follow the steps below.

Rebooting the local (your) computer

On the command line, type shutdown -r, after pressing Enter, you will see a message that the shutdown will occur in a minute. Shutdown uses various options, in our case the -r option, which indicates a system restart.

Using the shutdown -r -t 900 construct, the computer will restart in 15 minutes. -t is added to the command, with the help of which a number (in seconds) is set next to it.

These steps are effective when you are installing software that requires a reboot after installation, and you cannot control the process all the time. Then restarting the system on the machine is what you need.

After using shutdown -r -t 900, a message will pop up in the tray (as in the screenshot). It will notify you when the reboot will take place.

Restarting a remote computer

You need administrator access to complete these steps. For restarting the remote computer You need to type shutdown -r -m \\PC name. Where for the place "PC name", you will need to enter the name of the remote computer.

Here you can also set a specific temporary value (seconds) of the -t parameter to restart the computer. In this case, it is reasonable to use a comment containing the reason for the reload in the supplement.

At the command line, type shutdown –r -t 500 -m \\PC name -c “Reboot due to system update” (in quotes), so you specify the reason for the shutdown.

In case you want to change or cancel the reboot options of your or a remote computer, use shutdown -a. Then set the parameters again.

In these ways you can restart computer from command line, and if necessary, cancel the scheduled actions.



Share