บทความนี้จะแสดงวิธีหา Windows 11/10 Product License Key โดยใช้ VB Script แต่ต้องบอกว่าใช้ได้กับ Windows 8.1, Windows 7 และเวอร์ชันก่อนหน้าด้วย หากต้องการหา Windows license หรือ serial บทความนี้ช่วยหา Windows 10 Product Key ได้แน่นอน
หา Windows 11/10 Product Key ด้วย VB Script

เปิด Notepad คัดลอกและวางโค้ดด้านล่าง:
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 dialog box เลือก All files บันทึกเป็น .vbs file ตั้งชื่ออย่างเหมาะสม เช่น keyfinder.vbs
รันไฟล์นี้ และคุณจะเห็น Windows 10 product key ของคุณ
คุณยังสามารถหา Windows Product Key ผ่าน Command Prompt หรือ PowerShell ได้
หากวิธีเหล่านี้ไม่ได้ สามารถใช้ free Software Key Finders เพื่อกู้คืนและบันทึก ไม่ใช่แค่ Windows แต่ยังรวม Office, Software, Games serials และ license keys
บทความนี้ช่วยหากคุณต้องการถอนการติดตั้ง Windows Product Key หากจำเป็น
