The following command returns the product key for the installed version:
**'wmic path softwarelicensingservice get OA3xOriginalPRoductKey'**
Known good on Windows 10 and up; no admin elevation needed.
If your hard drive is absolutely dead and cmd is inaccessible; see [[Default Windows Keys]] for an alternate solution.
#cmd #OS #windows #wmic