Why does iisreset sometimes contain a noforce parameter?

Source: Internet
Author: User

IIS attempts to stop all services before restarting.IisresetCommand-line utility waits up to one minute for all services to stop if you do not include/NoforceParameter. If the services cannot be stopped within one minute, all IIS services are terminated, and IIS restarts.

IIS will try to stop all services before restarting all related services. if the iisreset command does not contain the/noforce parameter, it takes one minute to wait for all services to stop. if the service does not stop within one minute, all IIS services will be terminated, and IIS will restart.

Use/NoforceParameter to help prevent data loss in case the IIS services cannot be stopped within the one minute time-out period. if you are certain that it is safe to force IIS to restart, You can omit/NoforceParameter. However, be aware that you cocould lose data if you do not include this parameter.

If the IIS service fails to stop within one minute, the/noforce parameter will help prevent data loss.

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.