I am creating a program that among other things is going to control Services. I am attempting to list the Services similar to the way they are listed in msconfig
(the first window below).
I found where the services are listed in the registry. In Vista and Win7 the DisplayName and Description are often references. For example @%SystemRoot%\system32\aelupsvc.dll,-1
is the DisplayName data for the Service Application Experience
. In Win7 there is a location where these references are stored making it easy to get the correct DisplayName. But in Vista I did not find a place in the Registry where this information is stored. So I looked at the file being referenced and found that the File Description
on the Details
tab of the files properties would be sufficient.
So how can I get the File Description
? I am using Java, so I prefer using Java or the Command Line top get this information.
The version number is on the same page as the description.
so I guess this thread could be helpful: