Link to home
Start Free TrialLog in
Avatar of Ronald Hicks
Ronald HicksFlag for United States of America

asked on

Windows 7 Pro - what is my product key / id?

I reinstalled Windows 7 and entered a product key from one of two product key stickers I have, but I didn't keep them straight.

I want to attach one to the PC but I don't remember which one I entered during installation.

Is there a way to find that out?  

When I do MyComputer \ Properties I see a Product Key but it isn't the 25 key on a sticker.  I clicked on "change it" and see a box in which to enter a 25 character key.  Can I just enter either of the two I have?  The PC hasn't been activated yet and has two days before automatic activation.

Thanks for any guidance.
SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You should put our KEY from sticker since this is your real Windows KEY.
Avatar of Ramin
Ramin

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ronald Hicks

ASKER

Thank you Shawn.  Those looked promising, but so far not getting an answer.  Using the Command Prompt suggestion gets me only ERROR: Description = Invalid query

I have Question about the PowerShell suggestion.
--do I use the double quotes at the beginning and the end?  Doing so only seems to echo the command
--are the commands and switches case sensitive?
--is that an asterisk between select and from?
--is that a tic mark (left of the 1 key) on select and a single quote after Service?
--is there a space between the ) and  .OA3?

I've tried many variations of the above, but all I get as response is >>

Thanks for helping.  As you can guess I'm a PowerShell newbie, but I am working on it.

Ron
Fred Hakim. Brilliant!!  That did it!!!   Thank you!!
Just copy and paste. I fixed the single quotes
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"

Open in new window

Thank you Fred!!   Shaun, it would be good to find out the answers to my several questions about your PS solution to know why it didn't work.   If you care to.
--do I use the double quotes at the beginning and the end?  Doing so only seems to echo the command
Yes
--are the commands and switches case sensitive?
Mostly no. Variable are
--is that an asterisk between select and from?
Yes
--is that a tic mark (left of the 1 key) on select and a single quote after Service?
That is the issue. Both should be '
--is there a space between the ) and  .OA3?
No space
I've tried it with single quotes and with tic marks.  (I don't know what you mean by 'cleaned up'.)  And all enclosed in double quotes or not.

Still nothing but >>, repeated with each press of Enter until I kill it with Ctrl-C
More

I get this using the *:     A provisional parameter cannot be found that accepts argument '*'.

If I leave it out I get:    A provisional parameter cannot be found that accepts argument 'from"

is the character after the . a zero or an Oh?  I've tried both, though.
Just FYI for anyone running across this post, Belarc Advisor seems to return the Product Key too.
Thanks for your feedback.