Apps that can help to obtain product key codes:

Find Windows Product Key Code (VBS Script) (Windows 10, 8.1, 8, 7, Vista)

Magical Jelly Bean Keyfinder - KeyFinder | Magical Jelly Bean
NirSoft ProduKey - ProduKey - Recover lost product key (CD-Key) of Windows/MS-Office/SQL Server
Recover-Keys - Recover Keys. Product key finder, recover lost Windows product key
Belarc Advisor - Products: Belarc Advisor
Lazesoft Windows Key Finder - Free Windows Key Finder - Lazesoft Windows Key Finder
Winkeyfinder - Winkeyfinder: A Complete Review
LicenseCrawler - Recover serial numbers with LicenseCrawler by Martin Klinzmann
KeyFinder Thing - KeyFinder Thing 3 Homepage
Product Key Finder - Product Key Finder | Personal website of Dave Hope
Abelssoft MyKeyFinder - MyKeyFinder -
Windows Product Key Viewer - RJL Software - Software - Utility - Windows Product Key Viewer
Free PC Audit - Download Free PC Audit - MajorGeeks
Windows Product Key Finder Pro - Windows Product Key Finder PRO: Freeware Software Download
WinGuggle - Download WinGuggle 2.5 (Free) for Windows
SIW - SIW - System Information for Windows by Gabriel Topala
RockXP - RockXP - The Portable Freeware Collection (Likely that support ends with Windows XP)
SterJo Key Finder - SterJo Key Finder
Product Key Finder (OTT Solutions) - Download Product Key Finder 1.0
MSKeyViewer Plus - Download MSKeyViewer Plus 2.5.0
Windows Product Key Informer - TechNet Windows Product Key Informer
Game Key Revealer - Game Key Revealer - The Official Site

Try installing a few and see if in fact the apps provide the key codes.

To check on system services that are currently running - run WMI -- #53 -

Windows Management Instrumentation (WMI) - (Windows 10, 8.1, 8, 7, Vista)

You can run the HTML version -

Or you can run the TEXT version -

Another WMI goodie - detailed listing of system drivers - WMI #61 - Windows Management Instrumentation (WMI) - (Windows 10, 8.1, 8, 7, Vista)

I know that one WMI command/ batch file provides installed apps/programs, but I cannot seem to locate it at this time.