iisreset

本文介绍了IISRESET.EXE命令的使用方法,包含多种参数选项,如/RESTART可停止并重启所有Internet服务,/START用于启动服务等,还给出了默认超时时间,最后展示了使用iisreset /status查看服务状态的示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

IISRESET.EXE (c) Microsoft Corp. 1998-2005

Usage: iisreset [computername]

/RESTART                   Stop and then restart all Internet services.    

/START                       Start all Internet services.    

/STOP                         Stop all Internet services.    

/REBOOT                     Reboot the computer.    

/REBOOTONERROR       Reboot the computer if an error occurs when starting, stopping, or restarting Internet services.    

/NOFORCE                   Do not forcefully terminate Internet services if attempting to stop them gracefully fails.    

/TIMEOUT:val              Specify the timeout value ( in seconds ) to wait for a successful stop of Internet services.

                                  On expiration of this timeout the computer can be rebooted if the /REBOOTONERROR parameter is specified.

                                  The default value is 20s for restart, 60s for stop, and 0s for reboot.    

/STATUS                      Display the status of all Internet services.    

/ENABLE                      Enable restarting of Internet Services on the local system.    

/DISABLE                     Disable restarting of Internet Services on the local system.

C:\Users\Admin>iisreset /status

Status for IIS Admin Service ( IISADMIN ) : Running

Status for Windows Process Activation Service ( WAS ) : Running

Status for Net.Pipe Listener Adapter ( NetPipeActivator ) : Running

Status for Net.Tcp Listener Adapter ( NetTcpActivator ) : Running

Status for World Wide Web Publishing Service ( W3SVC ) : Running

转载于:https://www.cnblogs.com/jenneyblog/archive/2013/05/14/iisreset.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值