When elevating the user rights, YAJSW does not rember the setting of wrapper_home from setenv.bat, thereby not setting the wrapper.working.dir properly in the wrapper.conf. This results in the service being installed with the wrong paths, causing it to fail to start.
Solution would be to change the wrapper_java_options as follows:
set wrapper_java_options=-Xmx30m -Dwrapper_hom="%wrapper_home" -Djna_tmpdir="%wrapper_home/tmp" -Djava.net.preferIPv4Stack=true
thanks for pointing this out. release 12.12