Set WshShell = CreateObject('WScript.Shell') The solution is very straightforward, simply copy the content from script below and paste it into a Notepad text file, save the file and change the extension from. Instead, you can use a script that allows you to find your Windows 10 product key, or the product key for Windows 8.1 or Windows 7. How to make your own Windows product key finder Of course, there are product key finder software, but you never know if those solutions will install some sort of adware or malware on your computer. However, it’s always recommended to know your Windows product key in case that during an upgrade something goes wrong, such as a hard drive failure, or because you want to do a clean install of the operating system. In part because most desktops, laptops, and tablets no longer include the product key sticker, as the recovery partition already contains an activated version of Windows. Nowadays you can no longer find your Windows 7, Windows 8.1, or Windows 10 product key as easily. In the past you’re able to find the sticker on the back of your computer (usually close to the power supply) or at the bottom of your laptop to find the Windows product key, if you ever needed to reinstall the operating system.