If the machine works in any form, open an elevated Command prompt by going to c:\windows\system32 and right clicking on the fle cmd.exe and selecting RunAs Administator.
At the prompt, type slmgr and press Enter. Look down the menu for the command that displays the Product Key (I'm on Linux here so I can't be more specific) and that will show you the current key.