How to use Windows Terminal to recover your Windows Product Key

While newer computers, now seem to store the Windows Product Key in the Unified Extensible Firmware Interface (UEFI). It does no harm to make a note of your Product Key before you wipe your computer and reinstall Windows. So in this video, we take a look at how from the Windows Terminal (PowerShell) we can recover our Windows Product Key.

Note: The Windows Product Key is only necessary to activate Windows. However, it is possible to run an un-activated version of Windows which will be missing key features and important updates. Then with Windows installed on your computer you can purchase a product key through Windows online. 

Quick reference notes:

  • From the Windows desktop, right click on the Windows button, and from the quick menu choose Windows Terminal

Note: The names PowerShell and Windows Terminal now seem to be interchangeably, but basically refer to the same thing. It’s also worth noting, that you should not need to open a Windows Terminal with administrators privileges in order to run this command.

  • When the Terminal window opens type the following:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
  • When you press Enter on your Keyboard, the Product Key for your computer will be displayed. 
  • To gracefully close the Terminal Window type:
exit
  • When you press Enter on your keyboard the Terminal window will close.

Reference Material:

Microsoft article – What is PowerShell
Microsoft article – Find your Windows product key
Amazon store – Purchase Windows product key
Wikipedia article – Powershell

Add comment

Leave a Reply