Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

locate a file from the services


1 reply to this topic

anf

anf
  • Full Members
  • 3 posts

Posted 20 June 2007 - 09:19

is there a way to locate a file based on the information that is stored in the services listing of windows?

say i have the file services1.exe in the windows services can i find its location of say C:\program files\services1.exe???

Christoph

Christoph
  • Full Members
  • 81 posts

Posted 27 June 2007 - 13:52

In case that you mean a real Windows Service(and not a windows process - got a bit confused because you mention a service with its extension)... you can loop through the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ where the Service Control Manager stores all the installed Windows Services.

When you find a match, there should be a data::value-pair that gives the path to the service exe(dll?).