The service information is in the registry.
Registry Key - HKLM\SYSTEM\CurrentControlSet\Services\<svcname>\Parameters
Value - ServiceDll
For example, process explorer shows for the CoreMessaging Service in svchost.exe -
Registry editor -
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm writing a service monitor program, I want to be able to record the version of the service being run. For those services run under SvcHost I want to know the full path to the DLL that SvcHost is hosting. I want the version of the DLL not the version of SvcHost.
The results returned by the WMI search Win32_Service are inconclusive. And I'm not finding the correct entry in the registry (assuming it exists).
Would appreciate some help, Thanks,
Nottoc
The service information is in the registry.
Registry Key - HKLM\SYSTEM\CurrentControlSet\Services\<svcname>\Parameters
Value - ServiceDll
For example, process explorer shows for the CoreMessaging Service in svchost.exe -
Registry editor -