How to get Windows XP Edition?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Olsen

    How to get Windows XP Edition?

    Does anyone know how i can get the XP Edition through code (Home, Pro, Corp,
    Retail, OEM, MCE)?

    I would assume it would be in the registry key
    HKLM\Software\M icrosoft\Window s NT\CurrentVersi on\LicenceInfo, but I could
    be wrong...and I don't know how to decode it anyway.

    Thanks.


  • Sanjib Biswas

    #2
    Re: How to get Windows XP Edition?

    Execute 'systeminfo' (without quotes) in the command prompt and then look
    for OS Name.

    Regards
    Sanjib

    "Terry Olsen" <tolsen64@hotma il.com> wrote in message
    news:%23fh4jQJk GHA.4828@TK2MSF TNGP04.phx.gbl. ..[color=blue]
    > Does anyone know how i can get the XP Edition through code (Home, Pro,
    > Corp, Retail, OEM, MCE)?
    >
    > I would assume it would be in the registry key
    > HKLM\Software\M icrosoft\Window s NT\CurrentVersi on\LicenceInfo, but I could
    > be wrong...and I don't know how to decode it anyway.
    >
    > Thanks.
    >[/color]


    Comment

    • Sanjib Biswas

      #3
      Re: How to get Windows XP Edition?

      Oops you asked programatically ..Giving you an example using VB.Net:
      My.Computer.Inf o.OSFullName

      "Sanjib Biswas" <sanjib.biswas@ ieee.org> wrote in message
      news:eOBw$UJkGH A.3484@TK2MSFTN GP03.phx.gbl...[color=blue]
      > Execute 'systeminfo' (without quotes) in the command prompt and then look
      > for OS Name.
      >
      > Regards
      > Sanjib
      >
      > "Terry Olsen" <tolsen64@hotma il.com> wrote in message
      > news:%23fh4jQJk GHA.4828@TK2MSF TNGP04.phx.gbl. ..[color=green]
      >> Does anyone know how i can get the XP Edition through code (Home, Pro,
      >> Corp, Retail, OEM, MCE)?
      >>
      >> I would assume it would be in the registry key
      >> HKLM\Software\M icrosoft\Window s NT\CurrentVersi on\LicenceInfo, but I
      >> could be wrong...and I don't know how to decode it anyway.
      >>
      >> Thanks.
      >>[/color]
      >
      >[/color]


      Comment

      • Terry Olsen

        #4
        Re: How to get Windows XP Edition?

        This tells me "Windows XP Professional" but doesn't tell me whether it is a
        Corporate, Retail, or OEM version. I need to know this also.

        Thanks.

        "Sanjib Biswas" <sanjib.biswas@ ieee.org> wrote in message
        news:uw40aaJkGH A.1272@TK2MSFTN GP03.phx.gbl...[color=blue]
        > Oops you asked programatically ..Giving you an example using VB.Net:
        > My.Computer.Inf o.OSFullName
        >
        > "Sanjib Biswas" <sanjib.biswas@ ieee.org> wrote in message
        > news:eOBw$UJkGH A.3484@TK2MSFTN GP03.phx.gbl...[color=green]
        >> Execute 'systeminfo' (without quotes) in the command prompt and then look
        >> for OS Name.
        >>
        >> Regards
        >> Sanjib
        >>
        >> "Terry Olsen" <tolsen64@hotma il.com> wrote in message
        >> news:%23fh4jQJk GHA.4828@TK2MSF TNGP04.phx.gbl. ..[color=darkred]
        >>> Does anyone know how i can get the XP Edition through code (Home, Pro,
        >>> Corp, Retail, OEM, MCE)?
        >>>
        >>> I would assume it would be in the registry key
        >>> HKLM\Software\M icrosoft\Window s NT\CurrentVersi on\LicenceInfo, but I
        >>> could be wrong...and I don't know how to decode it anyway.
        >>>
        >>> Thanks.
        >>>[/color]
        >>
        >>[/color]
        >
        >[/color]


        Comment

        • C-Services Holland b.v.

          #5
          Re: How to get Windows XP Edition?

          Terry Olsen wrote:
          [color=blue]
          > This tells me "Windows XP Professional" but doesn't tell me whether it is a
          > Corporate, Retail, or OEM version. I need to know this also.
          >
          > Thanks.[/color]

          This makes me curious. What difference would it make to your program. I
          can understand wanting to know if it's home or pro, but oem/corp/retail,
          what's the point?

          --
          Rinze van Huizen
          C-Services Holland b.v

          Comment

          • Terry Olsen

            #6
            Re: How to get Windows XP Edition?

            Writing a PC Auditing program. I want to include this in the information
            presented to the user. Could be useful information at some point.

            "C-Services Holland b.v." <csh@REMOVEcsh4 u.nl> wrote in message
            news:ac6dnbQYS-xqMA_ZRVnyhQ@ze elandnet.nl...[color=blue]
            > Terry Olsen wrote:
            >[color=green]
            >> This tells me "Windows XP Professional" but doesn't tell me whether it is
            >> a Corporate, Retail, or OEM version. I need to know this also.
            >>
            >> Thanks.[/color]
            >
            > This makes me curious. What difference would it make to your program. I
            > can understand wanting to know if it's home or pro, but oem/corp/retail,
            > what's the point?
            >
            > --
            > Rinze van Huizen
            > C-Services Holland b.v[/color]


            Comment

            • DJ Tuneman

              #7
              Re: How to get Windows XP Edition?

              look at the registry key

              HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \ProductID

              If it's OEM, then "OEM" will be part of the product key. Whether it's
              corporate or not is also determined by the key but I don't know the
              algorithm to calculate that....sorry.






              "Terry Olsen" <tolsen64@hotma il.com> wrote in message
              news:%23Xt0g1Uk GHA.4368@TK2MSF TNGP03.phx.gbl. ..[color=blue]
              > Writing a PC Auditing program. I want to include this in the information
              > presented to the user. Could be useful information at some point.
              >
              > "C-Services Holland b.v." <csh@REMOVEcsh4 u.nl> wrote in message
              > news:ac6dnbQYS-xqMA_ZRVnyhQ@ze elandnet.nl...[color=green]
              >> Terry Olsen wrote:
              >>[color=darkred]
              >>> This tells me "Windows XP Professional" but doesn't tell me whether it
              >>> is a Corporate, Retail, or OEM version. I need to know this also.
              >>>
              >>> Thanks.[/color]
              >>
              >> This makes me curious. What difference would it make to your program. I
              >> can understand wanting to know if it's home or pro, but oem/corp/retail,
              >> what's the point?
              >>
              >> --
              >> Rinze van Huizen
              >> C-Services Holland b.v[/color]
              >
              >[/color]


              Comment

              • Cor Ligthert [MVP]

                #8
                Re: How to get Windows XP Edition?

                Terry,

                I don't know if everything you need is in it,

                But WMI with
                Operating system
                Operating system settings
                OperatingSystem

                Gives you a bunch of information about the used Operating System.



                I assume that you know how to process WMI.

                Cor

                "Terry Olsen" <tolsen64@hotma il.com> schreef in bericht
                news:%23Xt0g1Uk GHA.4368@TK2MSF TNGP03.phx.gbl. ..[color=blue]
                > Writing a PC Auditing program. I want to include this in the information
                > presented to the user. Could be useful information at some point.
                >
                > "C-Services Holland b.v." <csh@REMOVEcsh4 u.nl> wrote in message
                > news:ac6dnbQYS-xqMA_ZRVnyhQ@ze elandnet.nl...[color=green]
                >> Terry Olsen wrote:
                >>[color=darkred]
                >>> This tells me "Windows XP Professional" but doesn't tell me whether it
                >>> is a Corporate, Retail, or OEM version. I need to know this also.
                >>>
                >>> Thanks.[/color]
                >>
                >> This makes me curious. What difference would it make to your program. I
                >> can understand wanting to know if it's home or pro, but oem/corp/retail,
                >> what's the point?
                >>
                >> --
                >> Rinze van Huizen
                >> C-Services Holland b.v[/color]
                >
                >[/color]


                Comment

                Working...