Separated the restart .bat file in two different files. Stop and start.