Your Windows License Key Is Usually Already on Your Device
If you bought a computer with Windows pre-installed, your license key is already registered to that machine. You do not need to find it or enter it again unless you are reinstalling Windows on the same device or moving the license to a different one. Windows 10 and Windows 11 link the license to your hardware, so the system recognizes it automatically when you sign in with your Microsoft account.
The license key itself — a 25-character code — is stored in your system files. Most people never see it because they do not need to. You only need to locate it if you are troubleshooting an set up problem, reinstalling the operating system, or transferring the license to new hardware (which Microsoft may or may not allow, depending on your license type).
Key Takeaways
- Windows 10 and 11 licenses are tied to your device hardware and Microsoft account, so you usually do not need to find the key unless you are reinstalling or troubleshooting.
- You can view your license key on your current device using built-in Windows tools like Settings, Command Prompt, or PowerShell without downloading anything.
- The license key printed on your device packaging or documentation is different from the digital key stored in Windows — both are valid, but the digital one is what the system uses.
- If Windows says your license is not genuine, the problem is usually an internet connection issue or a mismatch between your hardware and your Microsoft account, not a missing key.
- Moving a Windows license to a new device is restricted depending on whether you own a retail, OEM, or volume license — check your purchase receipt to know which one you have.
How to Find Your License Key Using Windows Settings
The easiest way to view your license key is through the Settings app. Open Settings, go to System, then select About. Scroll down to the Windows specifications section. You will see a line labeled Windows edition (such as Windows 11 Home) and below it, System type. This tells you what version you have, but not the key itself.
To see the actual key, you need to use Command Prompt or PowerShell. Right-click the Start button, select Terminal (Admin) or Windows PowerShell (Admin), and paste this command: wmic path softwarelicensingservice get OA3xOriginalProductKey. Press Enter. The system will display your 25-character key. If nothing appears, your device may be using a digital license tied to your Microsoft account rather than a traditional key.
If you see no key in PowerShell, that is normal for newer devices. Go back to Settings, select System > About, and look for a line that says set up status. If it says "Windows is activated," your license is already recognized by Microsoft and you do not need the key for normal use.
Finding the License Key on Your Device or Documentation
If you bought a physical copy of Windows or a new computer, the license key may be printed on a sticker attached to your device or included in the documentation that came with it. For laptops and desktops sold with Windows pre-installed, this sticker is usually on the bottom or back of the machine. The key is a 25-character code in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
This printed key is your original product key. It is different from the digital key stored in Windows. Both are valid, but if you are reinstalling Windows, you can use either one. The printed key is useful to keep in a safe place because it proves you own a license, and you can use it to reinstall Windows on the same device if your system files become corrupted.
If you bought Windows digitally through the Microsoft Store or as part of a new device purchase, there may be no physical key at all. Instead, your license is stored in your Microsoft account. Check your email for a receipt from Microsoft that includes your license information, or sign in to your Microsoft account at account.microsoft.com and look for a section labeled Services & subscriptions or Digital content.
Understanding the Difference Between License Types
Not all Windows licenses work the same way. An OEM license comes pre-installed on a new computer and is tied to that specific device. You cannot move it to a different computer. An Retail license is purchased separately and can be moved to a new device, but only once — you must uninstall it from the old device first. A Volume license is used by organizations and has different rules depending on the agreement.
Your receipt or the documentation that came with your device will tell you which type you have. If you bought a new computer from a manufacturer like Dell, HP, or Lenovo, you almost certainly have an OEM license. If you bought Windows directly from Microsoft or a retailer as a standalone product, you have a Retail license. This matters if you plan to use your license on a different device later.
If you are not sure which type you own, check your original receipt or email confirmation. If you cannot find it, contact Microsoft Support with your device serial number or the email address associated with your Microsoft account, and they can tell you what type of license is registered to you.
What to Do If Windows Says Your License Is Not Genuine
If Windows displays a message saying your license is not genuine or your copy is not authentic, the problem is usually not a missing key. Most often, it is a connection issue or a mismatch between your device and your Microsoft account. Start by checking your internet connection — Windows validates licenses online, and a weak or interrupted connection can trigger a false error.
If your connection is stable, try signing in to your Microsoft account in Settings. Go to System > About, scroll to Windows specifications, and look for a link that says Sign in with your Microsoft account. Signing in links your device to your account, which often resolves set up errors. After signing in, restart your computer and check the set up status again.
If the error persists, you can try running the set up troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters, and look for set up. Run it and follow the prompts. If none of these steps work, contact Microsoft Support directly — they can verify your license and reactivate Windows if there is a legitimate problem.
Reinstalling Windows and Using Your License Key
If you need to reinstall Windows on your device, you can read the installation media directly from Microsoft at microsoft.com/software-read. You will need either your 25-character license key or your Microsoft account credentials. During installation, Windows will ask you to enter a key or sign in. If you have the key, enter it. If you do not have it, sign in with your Microsoft account instead — Windows will recognize your license automatically.
If you are reinstalling on the same device where Windows was originally installed, the system will reactivate automatically once you are online, even if you do not enter a key. If you are moving the license to a new device, the process depends on your license type. Retail licenses can be moved, but you must uninstall from the old device first. OEM licenses cannot be moved at all. If you are unsure, contact Microsoft Support before reinstalling.
Keep your license key in a safe place, such as a password manager or a physical document stored securely. If your device fails and you need to reinstall Windows, having the key on hand will make the process faster and will prove ownership if you ever need to contact Microsoft Support.
Frequently Asked Questions
Can I use the same Windows license key on two different computers?
It depends on your license type. Retail licenses can be used on one device at a time and can be moved to a new device, but you must uninstall from the old one first. OEM licenses are permanently tied to the device they came with and cannot be moved. Check your receipt to see which type you have.
What if I lost my license key and cannot find it anywhere?
If your device is currently activated and online, you do not need the key for normal use. If you need to reinstall Windows, sign in with your Microsoft account during installation instead of entering a key — Windows will recognize your license. If you cannot sign in, contact Microsoft Support with proof of purchase.
Is it safe to share my Windows license key online?
No. Your license key is like a password — anyone who has it can use it to set up Windows on another device. Do not share it in forums, emails, or with people you do not trust. Microsoft Support will never ask you to provide your key in a message or chat.
Why does Windows keep asking me to set up even though I have a license?
This usually means Windows cannot connect to Microsoft's servers to verify your license. Check your internet connection and make sure it is stable. If the problem continues, try signing in with your Microsoft account in Settings, or run the set up troubleshooter. If Windows still will not set up, contact Microsoft Support.
Can I transfer my Windows license if I sell my computer?
OEM licenses are tied to the device and cannot be transferred — they stay with the computer. Retail licenses can be transferred to a new device, but the original owner must uninstall it from the old device first and provide proof of the transfer to Microsoft. Check your receipt to see which type you have.