While a server is registered as a service, it cannot run as a non-service process or be uninstalled. Use the bat/deregister-windows-service.bat file to remove the service from the Windows registry. The server can then be uninstalled with the uninstall.bat script.