Jump to content

Recommended Posts

Posted

Hi,

 

We have 2 laptops and we want to use the Windows 7 product key to activate a Windows 7 installation. However over time the key has rubbed off the device and is unreadable.

 

Is it possible to get Microsoft to reissue a code if we send pictures or something please?

 

Thanks

Posted (edited)

Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))

Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Chars = "BCDFGHJKMPQRTVWXY2346789"
Do
Cur = 0
x = 14
Do
Cur = Cur * 256
Cur = Key(x + KeyOffset) + Cur
Key(x + KeyOffset) = (Cur \ 24) And 255
Cur = Cur Mod 24
x = x -1
Loop While x >= 0
i = i -1
KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
If (((29 - i) Mod 6) = 0) And (i <> -1) Then
i = i -1
KeyOutput = "-" & KeyOutput
End If
Loop While i >= 0
ConvertToKey = KeyOutput
End Function

Save as .vbs and execute :)

 

However, if it's an OEM key, you won't be able to reuse it anyway. They're mostly one-time-only. And AFAIK if it's MAK or KMS it won't work either.

 

Definitely sure it's not in BIOS? If it's a newer laptop their key might be stored there. I know it's common with Win8+ but you might get lucky if it's fairly recent. Though the fact that it's rubbed off suggests it isn't.

Edited by Garacesh
Posted
Try the OEM key on it again. I've never had one fail. If you've already wiped it that's a bust anyway, but worth a pop otherwise.

 

Hm, really? I must just have incredibly bad luck, then. I've done it a fair few times.. 4-5 maybe.. and had it fail every single time. Still if you've wiped it already, then you're bust. The script won't work because all it does is read registry and decipher the key.

Posted
There's a difference between OEM and OEM SLP keys. OEM SLP keys are where the OS is tied to a PC/Laptop by the manufacturer eg. dell. The key used is generic and not unique. You can turn a normal windows install into an SLP one (been a while since I've done this so this is from memory), you need to install the appropriate certificate for your manufacturer onto the OS before it will activate using SLP key.
  • Thanks 1
Posted

You can use OEM keys on the same hardware again, however you might need to use the phone activation.

 

What does the script do please?

 

Thanks

Posted

Pulls the currently-in-use activation string out of registry and translates it into a readable product key.

 

So obviously if you've already reimaged the machine, it won't work, 'cause the new OS isn't using the OEM key.

Posted (edited)

I'm pretty sure that there was an EU law introduced a while back that said OEM software can be sold on even if it's to be used on different hardware, I know it works because my current home computer is running windows 10 that was upgraded from a Windows 7 OEM key that I had on an old laptop.

 

On the initial question I don't think Microsoft will care about the key being worn off, your best bet it to extract the key using the script, if you've already wiped it then you're gonna be out of luck unfortunately.

Edited by GuyJD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...