The Windows operating system allows you to work with remote computers, which makes it possible to administer them, or to provide assistance to users at a distance. As a rule, when remotely administering computers, it is necessary to restart them from time to time.
Instructions
Step 1
If you use a remote administration program that allows you to control the cursor of another computer, then restart is carried out in the usual way - click "Start", select "Shutdown" - "Restart" from the menu. After that, the connection with the remote computer will be cut off, it will be rebooted.
Step 2
There is an option to reboot the remote computer through the command line - provided that you have access to it. To restart, use the shutdown command with the required parameters. For example, if you type shutdown -t 0 -r -f at the command line and press Enter, the computer will immediately restart.
Step 3
The command parameters have the following meanings: -t - sets the time before shutdown. In the example above, the time is 0 seconds, so the computer will immediately restart. If you specify a different time, for example, 20 seconds, then a window will appear on the screen with a warning that the computer will restart after the specified time. The -r (reboot) parameter says that there will be a reboot, not a shutdown. To shut down the computer, use the -s parameter. The next parameter is -f, it says that all running applications will be closed without warning the user.
Step 4
You can display any additional message on the screen by enclosing it in double quotes as follows: shutdown -t -r 20 -c "Attention, the computer will restart in 20 seconds!" The -c parameter in this case indicates the presence of a comment. Remember that when typing a command, you must enter quotation marks directly in the command line window, and not paste the phrase you copied with quotation marks.