Command to Find Windows OS Product Keys

Find Windows OS Product Key via Command Prompt (CMD)

This guide explains how to retrieve Windows device identifiers and product key information using Command Prompt.

Suitable for IT support, asset management, and auditing.


When to Use This Guide

Use this method when:

  • Creating/ updating inventories for Windows devices

  • Verifying device identity for support or audits

  • Collecting system information during troubleshooting


Prerequisites

  • Access to the Windows device

  • Command Prompt opened with standard user or administrator privileges


Step-by-Step: Retrieve BIOS Serial Number

  1. Open Command Prompt

    • Press Windows + R, type cmd, then press Enter

    • Or search for Command Prompt from the Start menu

  2. Run the following command:

wmic bios get serialnumber
  1. Review the output

    • The displayed value is the BIOS serial number

    • Commonly used for asset tracking and device identification


Important Notes

  • This command returns the device BIOS serial number, not the full Windows product key

  • Modern Windows versions (Windows 10 / 11) typically embed activation digitally and do not expose the full product key

  • For licensing verification, use Microsoft 365 Admin or Volume Licensing Service Center as applicable


Alternative (Optional)

To confirm Windows activation status:

  • Go to Settings → System → Activation


Summary

  • Open Command Prompt

  • Run wmic bios get serialnumber

  • Use the output for device identification and records

This method provides a fast and reliable way to identify Windows devices during IT operations.