Hi Sivakumar.V,
Based on my understanding, the general way to get the startup type of a windows service is to handle the Win32_Service WMI class. This class provides you a field named StartMode which indicates the startup type. Check the following link, and the link has provided a sample to get the startup type.
· http://www.codeproject.com/cs/system/extendservicecontroller.asp
Hope this helps.
Best regards.
Rong-Chun Zhang