Change AIMMS PRO Service Account
By running a process using a particular account, you can access resources particular to that account. AIMMS jobs are started on the PRO service using the same account that the PRO service is running on. To specify a different account for AIMMS jobs, we need to run the PRO service on the new account.
This article explains the procedure to change the PRO account that runs the AIMMS jobs.
Warning
When you run on an account that is not the system account, it can affect access to resources and cause errors. In this case, please consult with your system administrator. For instance, this may affect the Single-Sign On. See Link to Active Directory for Non-AD Member Servers, but you may also want to check here or this one
Overview
AIMMS jobs are run on the PRO server with the name AimmsPROSession.exe
.
The default account for these jobs is SYSTEM
.
To change the account for the service, you’ll follow this process:
Stop the PRO services.
Change the service in Windows Services.
Start the PRO services again.
Test the job and verify the change in Windows.
We’ll go step-by-step in more detail below.
Stopping the Service in PRO
Before making changes to the service, it is a good idea to stop those services.
Log in as an admin on the PRO service and stop the services.
Changing the Service in Windows Services
Open up the Services app on your Windows system. (You can find it by typing “services” in the Windows menu search.)
Select the AIMMS PRO 2 service. By default, the
SYSTEM
account is used for this service.Right-click on the process and select
from the menu.Go to the tab
and select the account the AIMMS PRO 2 service will use next time it is started.
You can fill in another account, such as a service account. Find out more in Microsoft Documentation: Service accounts.
Restarting the Service in PRO
Log in again as an admin on the AIMMS PRO service and start the services again:
Verifying the Change in Windows Services
Open up the Services app again.
The service is now using the new account (in this example, chris
).
Verifying the change in Windows Task Manager
Start the same job again. Then open the Windows Task Manager and go to the Details tab:
The account used for this AIMMS job is now chris
.
Test Project
To test for yourself, you can use the simple WinUI model WaitABit.zip
.
After publishing and launching this app, just press the huge button to start an AIMMS job that waits for five minutes on the AIMMS PRO server.