LAN security method remotely reboot the server

In the LAN, the management and operation of the server Generally, we use the Remote Desktop Connection client, because the client exits abnormally or disconnection, loss of power and other reasons, as well as the server itself is down, and other reasons, led to the Remote Desktop can not connect to the server, by this time, as long as the server can Ping through, we personally would not need to reset the machine room, you can remote desktop connection again by means of a remote server reboot, shutdown or restart the computer because the remote method to search the internet, Very often not practical, sum up more than the following methods:

  1, will be charged on the guest machine user to give permission remote shutdown;

  2, or the client machine login user of the remote machine to join the local administrators group;

  3, or local and remote computer to set the same user name and password.

  The above methods have some degree of inconvenience or other problems, such as: granting permissions guest users to remotely shutdown will cause serious safety problems, or need to advance in the first set and other alleged problems on the server.

  In fact, as long as know the administrator password and IP address of the remote server, open the "Command Prompt" window on the LAN any machine, run the following command:

  1, to obtain administrator rights to the remote server

  net use IP address "administrator password" / user: administrator

  2, use the shutdown command to restart the remote server

       shutdown / r / t 0 / m IP address

Guess you like

Origin blog.csdn.net/zidielang/article/details/53705384