Auto-start Windows service using C++
<p>I've been looking into a few tutorials on how to create a Windows service using C++ (unmanaged code). </p>

<p>However, none mention how to register the service for auto-start on Windows boot.</p>

<p>I'm aware of the different security contexts of Windows services.</p>

<p>What mechanism in C++ make the service register for automatic startup?</p>