โพสต์นี้จะแสดงวิธีค้นหา รหัสสิทธิ์ใช้งานผลิตภัณฑ์ Windows 11/10 โดยใช้ สคริปต์ VB . แต่ฉันต้องเพิ่มว่ามันใช้งานได้กับ Windows 8.1, Windows 7 และรุ่นก่อนหน้าด้วย หากคุณจำเป็นต้องค้นหาใบอนุญาต Windows หรือซีเรียลด้วยเหตุผลบางประการ โพสต์นี้จะช่วยคุณค้นหารหัสผลิตภัณฑ์ Windows 10 ได้อย่างแน่นอน
ค้นหารหัสผลิตภัณฑ์ Windows 11/10 โดยใช้สคริปต์ VB

เปิด 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 ในกล่องโต้ตอบ บันทึกเป็น ให้เลือก ไฟล์ทั้งหมด และบันทึกไฟล์นี้เป็นไฟล์ .vbs โดยตั้งชื่อที่เหมาะสม เช่น keyfinder.vbs
เรียกใช้ไฟล์นี้แล้วคุณจะเห็นรหัสผลิตภัณฑ์ Windows 10
คุณยังค้นหารหัสผลิตภัณฑ์ Windows ได้โดยใช้ Command Prompt หรือ PowerShell
หากวิธีการเหล่านี้ใช้ไม่ได้ผล คุณยังสามารถใช้ Software Key Finders ฟรีเพื่อกู้คืนและบันทึก ไม่ใช่แค่ Windows แต่ยังรวมถึง Office, Software, Games Serials และ License Keys
โพสต์นี้จะช่วยคุณหากคุณต้องการถอนการติดตั้ง Windows Product Key หากคุณรู้สึกว่าจำเป็น