It looks like it is a problem of Windows 10 or JRE and not because of launch4j. Please close this ticket.
ShutdownHook does not work