In this article we will talk about how to find the key of Windows 8, with which the system is activated. Recall that in Windows 8, as in previous OS of Microsoft - the product key is a sequence of 25 characters, divided into 5 groups of 5 characters each (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX). This key is used to activate all versions of Windows 8.
When you activate Windows 8 need to consider the following points:
Key Windows 8 can only be used to activate the same edition of Windows 8, for which it is intended, and not for any other (ie, using the key of Windows 8 Pro will not activate Windows 8 home).
OEM key can be used to activate the OEM-tion copy of Windows 8 on the same computer on which it was activated for the first time and in any other.
Retail key can activate Windows 8 on any computer, but only one at a time.
When buying a retail version of Windows 8 product key supplied in the form of stickers that can be pasted on the system unit or laptop, if you buy the device is preloaded with Windows 8, OEM-key has been glued to the body of device. This label is called Certificate of Authenticity (COA).
However, it often happens that a "tragic reason," the text on a label becomes unreadable license (spilled coffee on her knees wore out, just lost, etc.). In this case, you can programmatically find the key of Windows 8 so that you can later when reinstalling the system to reactivate it? Also you may need to check the system for license and match the key installed in the system and the key on the sticker.
Windows 8 activation key is stored in the registry, but not in the clear and encrypted (coding base 24). In principle it is possible to extract from there, decrypt and copy on paper. Key information stored in the registry key HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ DigitalProductId, we only need to extract it and decipher.
In general, the activated key can be retrieved through WMI. It can be done without the use of third-party programs facilities. Medical already available as part of Windows 8: VBScrit and Powershell. Below we present two methods which allow to determine the key of Windows 8.
Obtain an activation key Windows 8 with VBScript
Create a new text file named get_windows_8_key.vbs and save it on your desktop
Insert the following code
Double-click on the file, you should see a window with the displayed product key in it. In our case, the system is activated key Windows 8 Release Preview.
Ready vbs script can be downloaded here:get_windows_8_key_vbs.zip.
How to find the activation key Windows 8 with Powershell
Learn key installed Windows 8 can also use the Powerhell.
- Create a file with the extension get_windows_8_key.ps1 and copy the following code:
2. Start a command prompt with administrator privileges to open the console and follow it PoSh team powershell
3. In the window that appears to allow execution of unsigned scripts command: Set-ExecutionPolicy RemoteSigned
4. Run the command:
The result is displayed in the window key set Powershell Windows
If you want the activation keys on remote computers, use the Get-WindowsKey «computer1″, «serv-dc2″, «romp-buh02″
Ready powershell script is here:get_windows_8_key_ps.zip
Procedures described above, provide insight into the key installed Windows, will work on all systems with OS: Windows XP, Vista, Windows 7 and Windows 8.
Method tested me, gratitude Site winitpro.ru