the appropriate way to have them both started on Systemboot is to install them as services.
to do this:
- remove the start.bat's from autostart menu
- make shure that neither mysql nor apache is running
- use <xampp_install_dir>\apache\apache_installservice.bat
- use <xampp_install_dir>\mysql\mysql_installservice.bat
have a look at at any errors reported by these .bats.
if there where no errors, both, apache and mysql are now running and will start automatically while booting.
A pc ist like an aircondition: If you open Windows it does'nt work anymore