Apps that can help to obtain product key codes:

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 -
LicenseCrawler -
KeyFinder Thing -
Product Key Finder -
Abelssoft MyKeyFinder -
Windows Product Key Viewer -
Free PC Audit -
Windows Product Key Finder Pro -
WinGuggle -
RockXP - (Likely that support ends with Windows XP)
SterJo Key Finder -
Product Key Finder (OTT Solutions) -
MSKeyViewer Plus -
Windows Product Key Informer -
Game Key Revealer -

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.