Skip to main content

PKeyMaster

An open-source toolkit for Microsoft product key validation, CID retrieval, and advanced key scanning.

GitHub


Download / How to use?​

Method 1 - PowerShell​

(Works on Windows 8, 8.1, 10, and 11)

  1. Click the Start Menu, type PowerShell, then open it.
  2. Copy and paste the code below and press Enter.
    irm https://get.ntriver.org/pkeymaster | iex
  3. That's all. Didn't work? Use Method 2.

Method 2 - Download File​

(Works on Windows Vista, 7, 8, 8.1, 10, and 11)

  1. Download the zip file:
  2. Right-click on the downloaded zip file and find the option to extract.
  3. Run the file named PKeyMaster.cmd from the extracted folder.
  4. That's all.

Need help? Contact us.

Important Notes
  • irm downloads the script and iex runs it.
  • Copy and paste the command to avoid typos leading to malicious sites.
  • Verify the URL points to get.ntriver.org before running it.

Screenshots​

Key Checker
Key Checker (Pre-Vista)
Key Checker (Pre-98)
Key Checker (Redeem Key)
IID / CID
Trusted Store Scan
Registry Scan
Detailed Logs
Help/About

PKeyMaster Latest Release​

Latest version: 0.4
Release date: 06-October-2026
Git Mirrors: GitHub / Codeberg / Tangled


Features​

  • Key Validation: Validates Microsoft product keys (Windows, Office, VS, etc) from Windows 95 era to the latest releases.
  • PKeyConfigsMap: A large collection of PKeyConfigs and a smart map to quickly search keys.
  • Key Certification: Verifies key certification status via SLCertifyProduct API.
  • Key Activation: Activates keys using SLActivateProduct API.
  • Redeem Status: Checks redeem key status using OLSC API.
  • MAK Count: Retrieves remaining MAK activation count.
  • Installation ID (IID): Generates IID using PidGenX.dll.
  • Confirmation ID (CID): Retrieves CID via the Batch API, with fallback to the Visual API.
  • Phone Activation (CID): Retrieves and deposits CID for eligible products.
  • PKeyConfig Reader: Reads and exports PKeyConfig data to CSV.
  • Key Scanning: Finds product keys in text and binary files.
  • Digital Product ID Scanning: Detects and reads Digital Product ID blobs in files.
  • Key Retrieval: Retrieves Windows and Office keys from the trusted store, registry, and MSDM (BIOS/UEFI).
  • Batch Processing: Supports bulk validation of keys and IIDs.
  • Logging: Provides detailed logs and CSV exports.
  • Open Source: Fully open source and built with PowerShell scripts.

Minimum Requirements​

  • Windows Vista SP1
  • Windows PowerShell 2.0
  • .NET Framework 3.5

To Do​

  • Expand the PKeyConfig collection.
  • Publish a PKeyConfig comparison table to easily track changes.
  • Make tools to accurately extract key range and BINK data from pidgen.dll, dpcdll.dll and MSO.DLL etc for pre-Vista products.
  • Publish key ranges for all pre-Vista production and beta builds (current list is incomplete).