X Research source You can then unzip the downloaded file and run the Showkeyplus.exe file inside to display your product key.
If you can't get Nirsoft's tool to work, try ShowKeyPlus, which you can download from.The command I am running to get the key is wmic path SoftwareLicensingService get OA3xOriginalProductKey > text.txt which creates a text file called text. X Research source As long as you download the tool directly from Nirsoft, it's safe and you can ignore any virus warnings. I'm attempting to make a batch script to pull the windows product key from BIOS so the computer can be properly activated in a production environment. X Research source The only reason it's flagged is because the tool is capable of viewing your product key, which many antivirus apps think can be used to pirate software. This tool is often falsely flagged as a virus, even though it's totally safe.exe to display your 25-digit product key. Copy and save the key in a safe location such as your Dropbox or Google Drive account for future use. X Research source To download, click the Download ProduKey (In Zip file) link to download the ZIP file, unzip the file, then double-click the file ending with. wmic path SoftwareLicensingService get OA3xOriginalProductKey Your original product key will be displayed on the screen. You should see the key on screen below the line that says 'OA3XOriginalProductKey. This simple free tool can display product keys for many older Microsoft products, including Windows 7, 8, Vista, Microsoft Office, and SQL Server. Paste or type in the following command wmic path softwarelicensingservice get OA3xOriginalProductKey and hit Enter.