23.11.2013, 17:44 | #1 (ссылка) |
Новичок
Регистрация: 01.08.2013
Сообщений: 27
Репутация: 0
|
Как узнать КЛЮЧ windows 8.1 без посторонних программ?
Давно купил ноутбук , винда была уже активирована на заводе и ключа я не знаю. Сзади ноутбука ключ тоже отсутствует хочу узнать ключ без посторонних программ!
|
23.11.2013, 18:08 | #2 (ссылка) |
Эксперт
Регистрация: 11.09.2010
Сообщений: 11,062
Репутация: 1098
|
Скопируйте в блокнот:
Код:
Set WshShell = CreateObject("WScript.Shell") regKey = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\" DigitalProductId = WshShell.RegRead(regKey & "DigitalProductId") Win8ProductName = "Windows Product Name: " & WshShell.RegRead(regKey & "ProductName") & vbNewLine Win8ProductID = "Windows Product ID: " & WshShell.RegRead(regKey & "ProductID") & vbNewLine Win8ProductKey = ConvertToKey(DigitalProductId) strProductKey ="Windows 8 Key: " & Win8ProductKey Win8ProductID = Win8ProductName & Win8ProductID & strProductKey MsgBox(Win8ProductKey) MsgBox(Win8ProductID) Function ConvertToKey(regKey) Const KeyOffset = 52 isWin8 = (regKey(66) \ 6) And 1 regKey(66) = (regKey(66) And &HF7) Or ((isWin8 And 2) * 4) j = 24 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 y = 14 Do Cur = Cur * 256 Cur = regKey(y + KeyOffset) + Cur regKey(y + KeyOffset) = (Cur \ 24) Cur = Cur Mod 24 y = y -1 Loop While y >= 0 j = j -1 winKeyOutput = Mid(Chars, Cur + 1, 1) & winKeyOutput Last = Cur Loop While j >= 0 If (isWin8 = 1) Then keypart1 = Mid(winKeyOutput, 2, Last) insert = "N" winKeyOutput = Replace(winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0) If Last = 0 Then winKeyOutput = insert & winKeyOutput End If a = Mid(winKeyOutput, 1, 5) b = Mid(winKeyOutput, 6, 5) c = Mid(winKeyOutput, 11, 5) d = Mid(winKeyOutput, 16, 5) e = Mid(winKeyOutput, 21, 5) ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e End Function |
Ads | |
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
Опции темы | |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
ключ windows 7 | arkashs | Windows 7 | 16 | 04.12.2010 23:52 |
Какк узнать температуру ЦП без спец. программ?? | akhalex38 | Железо | 3 | 29.11.2010 22:02 |
Ключ для Windows XP | Pavlucha | Windows XP | 4 | 20.03.2010 17:39 |
Ключ Windows | Shaman | Windows Vista | 1 | 14.03.2010 01:56 |
Ключ Windows | Shaman | Windows Vista | 1 | 12.03.2010 20:50 |