Ok ive upgraded to version 3.0 java AutoServerInstaller, now when you use this version it will not only install the server but also download and install java and other needed files for the server to run,
it wall also unblock the windows defender firewall, also if you don't change any settings the server will self name the server from a combination of around 10,000 names, also all server settings are now included in the install settings.bat file, to edit the settings use a tool like Notepaid++, Windows notepad can cause problems so don't use that, once the server has been installed it should open and self start
unless of some random error i don't know can happen or something goes wrong with the download.
Now this took me hours and hours of work so any feedback is most welcome,
for V3.0 of the Unity AutoServerInstaller, that will be coming in the next day or two, it will work much the same