Do you believe this? How to automatically shut down the instance upon startup

Source: Internet
Author: User

Automatic shutdown upon startup

Go to the Registry and find the location:

HKEY_LOCAL_MACHINE \ SOFTWARE \ microsoft \ Windows NT \ CurrentVersion \ Winlogon

Find the "Shell" item. Its default value is "assumer.exe"

Add a comma after it, and then add your command

For example, "assumer.exe, shutdown-t 1000", shutdown after 1000 seconds

Change the time as needed! It is best to increase the value! So that you cannot set the original format!

Cancel: Run Input

Shutdown-

Cancel

Modify the registration table and delete all the following "assumer.exe". It will not automatically shut down after it is started.

The path is the same as above!

Note!

If you want to try the above, set the time to a high point. The analogy is set to 3000 or higher !!!!!!!

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.