· Sep 14, 2023

Fixing IRIS "service did not start due to a logon failure" Error

When I attempt to start my local IRIS instance (named LATEST) I am getting the below error

"(111) Error starting service: LATEST
Reason: (1069) The service did not start due to a logon failure."

Does anyone have experience with this or know how to resolve the logon credentials associated  with this start? 

Product version: IRIS 2021.1
$ZV: IRIS for Windows (x86-64) 2022.1.2 (Build 574U)
Discussion (7)4
Log in or sign up to continue

If this was tied to your Windows password and you recently changed it then you may need to change the credentials for the service.

Try searching for "Services" in the windows search box and open the app. Then find the service associated with this instance (I think it would be InterSystems IRIS Controller for LATEST) and open properties and go to log on tab. Change the credentials here to match your OS credentials and then try starting your instance. Hope that helps!

To piggyback off this, the initial way to run IRIS under a certain user is to use setserviceusername:

As far as I know you can then update the credentials from services as suggested above, but you may want to keep in mind using setserviceusername if you run into other credentials / Windows permission style issues.