Marshall Gunnell is a writer with experience in the data storage industry. He worked at Synology, và most recently as CMO & technical staff writer at StorageReview. He"s currently an API/Software Technical Writer at LINE Corporation in Tokyo, Japan, runs ITEnterpriser, a data-storage & cybersecurity-focused online media, and plays with development, with his RAID calculator being his first public project. Read more...
Bạn đang xem: 3 simple ways to find your windows 10 product key
About How-To GeekIf you’re looking for your Windows 10 sản phẩm key, you can find it by entering a quick command in the Command Prompt. Here’s how—plus a neat little trick for finding the product key using a Windows Registry method.
Find Your Windows 10 hàng hóa Key Using the Command Prompt
To find your Windows 10 sản phẩm key using the Command Prompt, you’ll need to open the command line application with administrative privileges. To bởi this, type “cmd” in the Windows tìm kiếm bar.
Command Prompt will appear in the tìm kiếm results. Right-click it và select “Run As Administrator” from the window that appears. If prompted, enter your Windows account password.
Once open, copy and paste the following command & then hit the Enter key:
wmic path softwarelicensingservice get OA3xOriginalProductKeyThe 25-digit hàng hóa key will then appear.
Note: This method displays the Windows hàng hóa key stored in your computer’s BIOS or UEFI firmware. In other words, it shows the original Windows key your computer came with. If you’ve installed Windows with a different key since then (or acquired a digital license), it will be different from the current key in use on your PC. If you want the current key in use on your PC, NirSoft’s ProduKey is a good graphical tool for finding it.
Xem thêm: Tải Bài Hát Nếu Hai Đứa Mình, Ca Sĩ: Ngô Quốc Linh, Nếu Hai Đứa Mình
Advertisement
That’s all there is to lớn it. This way is quick, but this isn’t likely a code you’ll remember very easily. If you’d like a faster way of accessing your sản phẩm key in the future, you can use the Windows Registry method instead.
Find Your Windows 10 sản phẩm Key Using a Windows Registry Method
Update: This method is all over the web, but it doesn’t seem khổng lồ return a real usable key on the latest version of Windows 10. (For example, this script in Microsoft’s TechNet gallery works differently, but also grabs output from “DigitalProductId” in the registry.) As of July 2020, we recommend you skip this section & use the above method instead.
The Windows Registry tip was initially posted by a user (whose account is no longer active) in the Microsoft forum.
First, mở cửa Notepad by right-clicking anywhere on the desktop, hovering over “New,” & then selecting “Text Document” from the menu.
Copy và paste this code into Notepad:
Set WshShell = CreateObject("WScript.Shell")MsgBox ConvertToKey(WshShell.RegRead("HKLMSOFTWAREMicrosoftWindows NTCurrentVersionDigitalProductId"))Function ConvertToKey(Key)Const KeyOffset = 52i = 28Chars = "BCDFGHJKMPQRTVWXY2346789"DoCur = 0x = 14DoCur = Cur * 256Cur = Key(x + KeyOffset) + CurKey(x + KeyOffset) = (Cur 24) and 255Cur = Cur gian lận 24x = x -1Loop While x >= 0i = i -1KeyOutput = Mid(Chars, Cur + 1, 1) và KeyOutputIf (((29 - i) hack 6) = 0) và (i -1) Theni = i -1KeyOutput = "-" & KeyOutputEnd IfLoop While i >= 0ConvertToKey = KeyOutputEnd FunctionNext, click the “File” tab và select “Save As.”
In file Explorer, mix the “Save As Type” dropdown lớn “All Files” & give your tệp tin a name. You can use any name, but it has lớn be a .vbs file. You can name it something like: productkey.vbs
Once you’ve entered a tệp tin name, save the file.
You can now view your Windows 10 product key at any time by opening the new file.
READ NEXT
Marshall GunnellMarshall Gunnell is a writer with experience in the data storage industry. He worked at Synology, and most recently as CMO và technical staff writer at StorageReview. He"s currently an API/Software Technical Writer at LINE Corporation in Tokyo, Japan, runs ITEnterpriser, a data-storage và cybersecurity-focused online media, và plays with development, with his RAID calculator being his first public project. Read Full Bio »