title: Get the disabled status of a Windows Service
body: <p>I have written a windows service and has set its startup type to be 'Automatic'. But after installing the service a user can change its type to 'disabled'. </p>
  
  <p>Is there a way by which I can identify the status of this service after service installation? Can I prevent a user from changing the startup type so that it will always be 'Automatic'?</p>
  
  <p>Thanks</p>