View installed Windows 10 license key

Ruurtjan Pul
1 min readJun 28, 2018

--

Windows 10 activation error

The other day I had some issues activating my Windows 10 product key in VirtualBox, so I hopped on a support chat with a Microsoft agent. When she was unable to view my activation key in my system settings, she pasted this script on my machine and executed it. It shows the product name, product id and installation key of the machine it’s executed on. I thought I’d share it as it might be useful for more Windows users.

Script for retrieving the windows product key

Save this as get-windows-product-key.vbs, right click it and select Open with Command Prompt. It will show your Windows product key and store it as Windows Key.txt in the same directory as where you’ve saved the script.

--

--

Ruurtjan Pul
Ruurtjan Pul

Written by Ruurtjan Pul

Founder of Monomatic, independent maker, husband, father, indoor climber.

No responses yet