One of the things that I recently needed to do was be able to script the configuration of Log Insight so that an admin no longer needed to go through the web UI to do the initial installation. The below script works but has a limitation: You need to know what your AD password hash and and the admin password hash and salt are. The way that I did this is by using the values from my original Log Insight server. You can be more clever if you are so inclined.
The script is designed to use the lower level Linux commands which can obviously be replaced with simple file copies but for what it’s worth here you go.
Now you are ready to login using either your new admin password or via your Active Directory account.