MID Server setup using domain account

JLizard1
Tera Contributor

We have a Windows Server 2022 that I’m trying to setup as a MID Server for ServiceNow. 

The server is joined to our domain and in an OU that has a GPO which defines the ‘Log on as a service’ users. 

I created an account on our AD and added this account to the GPO. 

When going through the mid server installer on the server - I don’t see how I can select this domain account to be the service account. 

I created a local account on the server but I cannot add this to the log on as a service policy due to the group policy restricting local changes. 

Any ideas on what to do here?

1 ACCEPTED SOLUTION

Abbas_5
Tera Sage
Tera Sage

Hello @JLizard1,

Please refer to the below steps:

To set up a MID Server using a domain account in ServiceNow, you can: 
  1. Download the installation files from the ServiceNow instance to the MID Server host computer 
  2. Extract the download and create a new folder at the root level of the C drive 
  3. Copy the agent folder into the new folder 
  4. Enter the MID Server user name and password in the config file 
  5. Establish the MID Server name 
  6. Modify the Java Service Wrapper (JSW) to give the MID Server service a unique name 
  7. Navigate to Computer Management > Services and Applications > Service 
  8. Right-click ServiceNow MID Server, then click Properties 
  9. Click the Log On tab 
  10. Click the radio button next to This account 
  11. Enter the username and password for the account that should run the service 
  12. Click OK 
  13. In the Services window, right-click ServiceNow MID Server, then click Restart 
To add a non-admin account to the MID Server allow list, you can add the account name to the mid.windows_host.file_permissions.allow_list in the MID Server host's config.xml file. Use the SID to specify domain accounts and not the <domain>\<username> or user@domain format.
 
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535145
If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.
Thanks & Regards,
Abbas Shaik

View solution in original post

1 REPLY 1

Abbas_5
Tera Sage
Tera Sage

Hello @JLizard1,

Please refer to the below steps:

To set up a MID Server using a domain account in ServiceNow, you can: 
  1. Download the installation files from the ServiceNow instance to the MID Server host computer 
  2. Extract the download and create a new folder at the root level of the C drive 
  3. Copy the agent folder into the new folder 
  4. Enter the MID Server user name and password in the config file 
  5. Establish the MID Server name 
  6. Modify the Java Service Wrapper (JSW) to give the MID Server service a unique name 
  7. Navigate to Computer Management > Services and Applications > Service 
  8. Right-click ServiceNow MID Server, then click Properties 
  9. Click the Log On tab 
  10. Click the radio button next to This account 
  11. Enter the username and password for the account that should run the service 
  12. Click OK 
  13. In the Services window, right-click ServiceNow MID Server, then click Restart 
To add a non-admin account to the MID Server allow list, you can add the account name to the mid.windows_host.file_permissions.allow_list in the MID Server host's config.xml file. Use the SID to specify domain accounts and not the <domain>\<username> or user@domain format.
 
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535145
If it is helpful, please mark it as helpful and accept the correct solution. In future, it might be helpful for someone to refer to this solution.
Thanks & Regards,
Abbas Shaik