How to implement remote shutdown using the shutdown command

Source: Internet
Author: User

The shutdown command is a command that enables automatic shutdown and restart using scheduled tasks. If a remote device is used, you need to set the guest account of the remote computer to have the corresponding permissions. Otherwise, the system will prompt that access is denied when executing the command,:

The method for enabling is as follows:

1. Enable the guest account on the server (disabled by default), for example:

2. Open the Local Group Policy (for domain servers, open the domain security policy), find the following settings, and add the guest account to the following three policies to grant the guest remote shutdown permission.

3. shutdown-r-t 1-f-m \ ip (note that the f parameter must be added to force shutdown)

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.