How to remove and cancel the prompt for automatic restart after system updates

Source: Internet
Author: User

How to remove and cancel the prompt for automatic restart after system updates

When a prompt is prompted for manual restart after automatic system updates, click Cancel or manual restart. Below are four solutions recommended by the webmaster.

[How to disable System Auto restart prompt]
After the automatic update function is enabled on the server, the system automatically downloads the vulnerability patches. However, all patches are downloaded after automatic update.ProgramDuring installation, a prompt is displayed asking you to restart the server. That is to say, if you specify to complete scheduled updates, automatic updates will restart the computer for login users, rather than automatically restarting the computer. The window "Please note that to make updates take effect, you need to restart the computer" requires the Administrator to manually restart. Click the "restart later" button and the same prompt will appear again in five minutes. The cycle will never stop. So how can I prevent this prompt from appearing and do not restart the server when it leaves the network administrator? This is the key to the problem of netizens. In fact, we can solve it through the following methods.

(1) how to solve the problem with the funny version

The Network Administrator does not leave the server and keeps guard of the server. If the prompt "Please note that to make updates take effect, restart the computer" is displayed, and then click "restart later. However, this method requires a lot of time and physical strength. Of course, you can also use the mouse genie to lock the "cancel" button and set to automatically click this location at intervals to cancel the restart prompt. However, you also need to install the mouse genie on the server, this method affects system performance to a certain extent and brings security risks. This method is not recommended.

(2) enter a command in the run to disable restart

You can use shutdown-a to cancel the restart operation. Simply enter this command in "start-> Run. Of course, we can also add this command to a bat batch file and add it to scheduled task execution. This avoids restarting the computer after automatic updates are completed. However, this method is not sure about the execution interval of batch files, and it is difficult to calculate clearly.

(3) Use group policies to modify the solution

Server (Computer) in group policy, we can set whether to restart automatically after update and installation. Enter gpedit. msc through "start-> Run" and press enter to enter the Group Policy Editor. However, choose "Computer Configuration"> "management template"> "Windows Components"> "Windows Update"> "Scheduled Automatic update", and choose "enable ", in this way, you will not be prompted to restart the system after the patch is automatically updated and installed. This method is effective and fundamentally ensures that the server does not automatically restart (this method is recommended for webmasters of tips, and is only applicable when no prompt is displayed ).

(4) disable automatic update.

However, if the current system is already in the "please note that to make updates take effect, you need to restart the computer" window, the third group policy modification method will also be invalid, because the system needs to be restarted to take effect, and starting the system will affect the work, you can disable "automatic update" (set in the automatic update label in my computer attributes) or enter services directly through "start-> Run. MSC enters the Service Management window. Right-click the automatic update service name and choose "stop. After this setting, the prompt window "Please note that you need to restart the computer to make the update take effect" appears again. However, when the server is idle, the network administrator needs to manually restart and enable the automatic update service again to ensure security.

(5) Summary

tips: the webmaster introduced four methods to prevent the server from restarting the computer after installing the patch. The third method is the most widely used and most effective, it is recommended for you to use (but it cannot be used when prompted ). After you modify the Group Policy, you will not be prompted to restart after you download and install the system security patch. The last one is applicable to a temporary solution that requires a restart prompt on the server. After the problem is solved, remember to restore the automatic update service startup status, otherwise, it will bring a certain degree of security risks to the server. Remember.

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.