PKeyMaster
An open-source toolkit for Microsoft product key validation, CID retrieval, and advanced key scanning.
Download / How to use?
Method 1 - PowerShell
(Works on Windows 8, 8.1, 10, and 11)
- Click the Start Menu, type
PowerShell, then open it. - Copy and paste the code below and press Enter.
irm https://get.ntriver.org/pkeymaster | iex - That's all. Didn't work? Use Method 2.
Method 2 - Download File
(Works on Windows Vista, 7, 8, 8.1, 10, and 11)
Need help? Contact us.
Important Notes
irmdownloads the script andiexruns it.- Copy and paste the command to avoid typos leading to malicious sites.
- Verify the URL points to
get.ntriver.orgbefore running it.
Screenshots
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
SLCertifyProductAPI. - Key Activation: Activates keys using
SLActivateProductAPI. - Redeem Status: Checks redeem key status using
OLSCAPI. - 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.dllandMSO.DLLetc for pre-Vista products. - Publish key ranges for all pre-Vista production and beta builds (current list is incomplete).








