How to remotely restart a server on a LAN: restart a server on a LAN

Source: Internet
Author: User

How to remotely restart a server on a LAN: restart a server on a LAN

Original article. For more information, see the source. (Baidu experience: http://jingyan.baidu.com/article/454316abaadc41f7a7c03a13.html)
 

In the LAN, we usually use Remote Desktop Connection of the client to manage and operate servers. Due to abnormal exit of the client, network disconnection, power loss, and other reasons, as well as the server's own downtime and other reasons, as a result, Remote Desktop cannot connect to the server. At this time, as long as the server can still be pinged, we do not need to reset the machine in the IDC. We can remotely restart the server to achieve remote connection, the remote shutdown or computer restart method found on the Internet is not practical in many cases. To sum up, there are several methods as follows:
1. Assign the remote shutdown permission to the guest user on the controlled machine;
2. Add the logon user of the client machine to the local administrator Group of the remote machine;
3. Set the same user name and password for the Local Computer and remote computer.
The preceding methods are inconvenient or have other problems. For example, granting the remote shutdown permission to a guest user may cause serious security risks, you need to configure the instance on the instance in advance.
In fact, as long as you know the administrator password of the remote server, open the "command prompt" window on any machine in the LAN and run the following command:
1. Obtain the administrator privilege of the remote server.
 
Net use \ 10.200.0.211 "password"/user: Administrator Account
 
2. Use the shutdown command to remotely restart the server
 
Shutdown/r/t 0/m \ 10.200.0.211
 
This method is convenient, simple, secure, and reliable. It has been successfully tested on Windows 2003 2008R2 and is also available on Windows (you need to enable the administrator account). It is worth a try!



How to remotely restart a computer in a LAN

You can use Remote Desktop Connection to enable the following programs when setting connections in options:
Input: shutdown-r

How to remotely restart a LAN Computer

Impossible
Asp is a program that the client requests the server to respond.
In other words, the client must take the initiative to implement the request, and the server client can respond according to the request. The server cannot be used to control the client.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.