Please refer below script procedure to check windows Product Key information with details.
Run the script procedure as either "system user"
This script run as a System User
---
Comments