Thursday, January 13, 2011

How can I tell what version of IIS is installed?

I've got a box running WinXP professional and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?

Edit: The OS is Win2k3, not XP.

Sorry for the confusion,
Management

  • Windows XP has IIS 5.1 installed, so use the IIS 5.0 procedure. See this article for an overview of IIS 5.1:

    A look at IIS 5.1 in XP Pro - What's different from IIS 5?

    IIS 5.1 is a feature only to be found on Microsoft's XP Pro operating system. It is not installable (reliably) on XP Home. Additionally, there are no plans to update IIS 5.0 on Windows 2000 to IIS 5.1.

    IIS 5.1 is basically the same engine as IIS 5.0 but since XP is a client operating system, it has the built in limits that are customary for Microsoft’s client operating systems—such as connection limits and only one Web site. Even though based on IIS 5, there are significant differences from IIS 5.0 that you should know about.

    You could also open a page in the browser which runs this simple asp Script:

    <% 
        response.write(Request.ServerVariables("SERVER_SOFTWARE")) 
    %>
    


    As a side note: it is interesting that IIS (beginning with Windows Server 2000/version 5.0) can't be upgraded without upgrading the operating system. Every Windows version has it's own IIS version:

    Windows Server 2000      5.0
    Windows XP Professional  5.1
    Windows Server 2003      6.0
    Windows Vista            7.0
    Windows Server 2008      7.0
    
    jldugger : "only one Web site". Does that include Microsoft SharePoint Administration? Because if not, then there's clearly two websites running.
    splattne : Try to add more that to web site (not virtual directory or web apps under the default web in IIS 5.1 on Windows XP). You can't do that.
    From splattne
  • You can look at %SYSTEMROOT%\system32\inetsrv\inetinfo.exe. Right-click and get properties, click the Version tab.

    Edit: All kinds of fun :)

    You can also look at an HTTP response header

    1. telnet mywebserver 80
    2. type in HEAD / HTTP/1.0 [enter][enter]
    3. Look at the line that starts with Server:
    jldugger : Interesting; it claims version 6.0.
    squillman : On XP Pro?? Never seen that... Mines says 5.1.
    splattne : @jldugger: I doubt it. I tried to telnet 80 a XP machine. It's 5.1. You must have been connected to a Windows 2003 server. (typo in server name?)
    jldugger : We're all kinds of crazy around here. A few comments about your edit: 1. I think there's an unallowed space between / and HTTP 2. It just returns the normal HTML webpage; were you expecting something different?
    jldugger : Ok so it turns out I'm stupid and remote desktop is confusing when full screened. I noticed the WinXP Pro from my own box and believed it was from the remote host. It's win2k3.
    squillman : Oops. Turns out I'm stupid too and used angle brackets in my original edit around the enters...
    squillman : ANNND, make it HEAD instead of GET so you don't get the whole stinkin' home page, just the headers.
    squillman : And, no. You want the whitespace between the / and HTTP. The / says to get the root of the site. Thus the change to HEAD... (sorry for the comment spam)
    From squillman
  • As a more general answer, not specifically aimed at your question, Microsoft has a support article which lists all of the versions and the operating systems that provide each one.

    squillman : Yah, that was the page I was looking for! :) +1

0 comments:

Post a Comment