简体   繁体   English

在 IIS 中禁用应用程序池的自动启动

[英]Disable auto-start of application pool in IIS

When I stop an application pool in IIS, it starts automatically after few minutes.当我停止 IIS 中的应用程序池时,它会在几分钟后自动启动。 I want it to be stopped until I decide to start it again manually.我希望它停止,直到我决定手动再次启动它。 However, I cannot find any settings that would prevent auto-start of the particular application.但是,我找不到任何会阻止特定应用程序自动启动的设置。 Do you know if there's any way how can I do this?你知道我有什么办法可以做到这一点吗?

在此处输入图片说明

Use following command to properly stop the IIS: net stop was /y使用以下命令正确停止 IIS: net stop was /y

and to start again: net start w3svc并重新开始: net start w3svc

You can also save these commands and create a bat file which needs to be saved as .bat .您还可以保存这些命令并创建一个需要另存为.batbat文件。

Hit your windows button.点击你的窗户按钮。 Search for "Services" In "Services" go to "World Wide Web Publishing" Right click it and under the "General" tab change "Startup type" to "Manual"搜索“服务”在“服务”中转到“万维网发布”右键单击它并在“常规”选项卡下将“启动类型”更改为“手动”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM