A Windows license key is a 25-character code that is used to activate a copy of the Windows operating system. Knowing how to check your Windows license key can be useful if you need to reinstall Windows, or if you want to transfer your license to a new computer.
There are several ways to check your Windows license key. One way is to use the Command Prompt. To do this, open the Command Prompt by pressing the Windows key + R and typing “cmd” into the Run dialog box. Then, type the following command into the Command Prompt window and press Enter: