Steps to get the product key of windows OS installed on the laptop, desktop or any other device.
1) Press on Start Menu or Windows Key + X.
2) Open command prompt in Admin mode.
3) Enter below command:
wmic path SoftwareLicensingService get OA3xOriginalProductKey