Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

ดึง Windows 10 Product Key ด้วย VB Script ง่ายๆ ไม่ต้องโปรแกรม

Find Windows 10 product key without using any software: โพสต์นี้แสดงวิธีหา Windows 10 Product Key ด้วย VB Script ทำงานได้กับ Windows 10, 8, 8.1, 7 และรุ่นก่อนหน้า หากต้องการหา Windows License หรือ Serial คู่มือนี้ช่วยคุณ

PC มาพร้อม Windows ที่ Activate แล้ว ไม่ต้อง Key จนถึงตอนนี้ (คาดว่า升级 Windows) มีหลายวิธีหา Key แต่นี่คือวิธีไม่ใช้ Software ภายนอก บางคนไม่อยากใช้ Software ทุกอย่าง นี่คือวิธีหา Key เอง

Find Windows 10 product key

  1. เปิด Notepad Copy-Paste โค้ดด้านล่าง:
    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
  2. ใน Save As Dialog เลือก All Files บันทึกเป็น .vbs ชื่อ เช่น keyfinder.vbs
  3. รันไฟล์นี้ จะพบ Windows 10 Product Key ของคุณ

Recommended for you:

  • Fix Error 1603: A fatal error occurred during installation
  • วิธีแก้ BOOTMGR is missing Windows 10
  • วิธีแก้ Google Chrome has stopped working error
  • Fix Error 107 (net::ERR_SSL_PROTOCOL_ERROR)

เสร็จแล้ว คุณเรียนรู้ วิธีหา Windows 10 product key ไม่ใช้ Software เรียบร้อย หากมีคำถาม ถามในความคิดเห็นได้เลยครับ