• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HP Omen 15 2017
Microsoft Windows 10 (64-bit)

Hello

I had my Laptop with preintalled windows. Recently I have installed and tried different versions of Linux. Now I want to get back to Windows. How do I reinstall Windows as I donot have the product key and from where do i download Windows from.

A little help would be most generous. Thank you.

2 REPLIES 2
HP Recommended

Hi

 

A tad tricky,

Doing research, and none of the methods are mine, I have some, simple single lines of code that will list the same value for your Windows 10 Product Key…   Two for Windows 10 and one for Linux.

W10 Using cmd.exe as an Administrator (copy and paste accordingly).
wmic path softwarelicensingservice get OA3xOriginalProductKey >> c:\ProdKey.txt
Creates a text file called ProdKey.txt on your C:\ area.

Next is a PowerShell command, as Administrator...
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
but it will run within W10 using cmd.exe as an Administrator.
powershell (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

Last, but not least....
Linux@Lubuntu:~$ sudo cat /sys/firmware/acpi/tables/MSDM | strings | tail -n 1

https://www.microsoft.com/en-us/software-download/windows10
https://www.microsoft.com/en-us/software-download/windows10ISO

 

If in doubt please ask.

HP Recommended

Hi

 

Also the Boot Area of the BIOS may have a Boot Manager list and it can sometimes be re-arranged...

Boot Man x 5.jpgMove the Windows Boot Manager to the top.

I have several bootable Linux OS's and W10 currently installed.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.