Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to tell if IIS is running?

Status
Not open for further replies.

stfaprc

Programmer
Feb 10, 2005
216
US
In XP-Pro, IIS7

are there equivalents to the linux
Code:
service httpd
and any of the {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}
options ?
 
net start with no parameter will tell you which services are started. net start servicename will start a service, net stop servicname will stop a service. For other options & information try: net /?, net help start, net help stop, etc.
 
You could always try browsing to or your own ip address in a web browser.

SimonD.

The real world is not about exam scores, it's about ability.
 
The net command did not really do what was needed. net start just listed whether the service was running, which did not reflect the status of the web site.

I finally found the vbs scripts for startweb and stopweb in a subdirectory of InetPub. I did not find a vbs script for checking the running status.

Unfortunately, running either startweb or stopweb does not change display when looking at the IIS Admin screen. The only way I found to check to see if [start/stop]web worked is to try to access .
 
Isn't there a known process for IIS? You could check is that process is running. Cannot test it myself because I don't have IIS in the computer.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top