vb code to find the windows xp registration number

Posted on 2004-11-20
Last Modified: 2012-05-05
Trying to write a vb program to get the windows xp code.
i need the code for the command click
Question by:jms8708
    LVL 6

    Expert Comment

    There is a free download from Microsoft called Management Extensions for VS.NET (seperate for 2002 and 2003) which accesses WMI.  It adds two more nodes to the Server Explorer Server\[COmputer name] node.

    If you open the "Operating Systems" sub-node, and drag the sub-item to your form, you can access properties, such as Version, Serial Number, Organization, Manufacturer (Microsoft), Registered User, etc.

    Also, under the "My Computer" node, the sub-item has cool info, even including Thermal State of the machine.

    If you are referring to the CD-Key, I don't know, or care how to do that.  It is encrypted on the system, and not easily accessible.

    It is very cool stuff.
    LVL 18

    Expert Comment


    Author Comment

    Thanks for trying to answer my question.
    Yes I am trying to write my own program to retrieve the  key that I have misplaced.
    I know there are programs out there that do this.
    I am trying to write my own. Its a handy little utility that keeps people from having to purchase
    another operating system just because they lost thier key.
    I purchased one of these myself.
    So I had this idea to try and write it myself but I am new to VB and
    I dont know how to do get the command that will go into xp and decrypt the key code and return it
    in the purchased form.
    LVL 18

    Accepted Solution


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now