The command "swadm EVLOOPBACK" is also failing which indicates an Event publishing issue,
Attempting to test event: WARNING: Failed to send SE_LOOPBACK message.
Issue/Introduction
The iProcess Engine processes will not start with failed to subscribe to events errors in sw_error.log file
Environment
All supported Windows platforms.
Resolution
The 'failed: 8000401a' part of the message indicates an issue with the username/password identity calling the "Staffware Events".
This link provides some insight into the error code - 8000401a which is returned as 'CO_E_RUNAS_LOGON_FAILURE'. https://blogs.msdn.microsoft.com/dsnotes/2014/09/25/com-client-failing-with-error-8000401a/
Check the user and password in the Identity tab of the "Staffware Events" are correct after rebooting the server and ensure the "Staffware Events" start correctly.