iis6 - how to stop all sites at once or command line?

iis6 - how to stop all sites at once or command line?
LVL 1
longjumpsAsked:
Who is Participating?
 
Brad HoweConnect With a Mentor DevOps ManagerCommented:
All the options abouve are correct.  here is just a little bit of clarification to help you chose which one you would like to use.

1. iisreset /stop
    This stop All Internet sevices. SMTP, FTP, W3SVC, NNTP etc...

2. C:\WINDOWS\system32\IISweb.vbs
     This is the equivalant of right clicking on the site in IIS Management and saying STOP.

      eg:  IISweb.vbs /stop "sitename1" "sitename2" "sitename3"

3. net stop w3svc
    This stops only the WWW Service which impacts all your Web Sites.

Cheers,
Hades666
0
 
zackmccrackenConnect With a Mentor Commented:
iisreset /stop  ?
0
 
Leon FesterConnect With a Mentor Senior Solutions ArchitectCommented:
or net stop w3svc
0
 
Sushil SonawaneConnect With a Mentor Commented:
Please refer below link this might be help you out.

http://forums.iis.net/t/1171138.aspx/1
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.