---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Installing MID Server on Windows

# Installing MID Server on Windows {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 14 minutes to read  
Using the ITOM Infra Services Workspace, MID Servers can be deployed to Windows with a variety of authentication and installation methods. For authentication, choose between private key JWT, basic authentication, or
mutual authentication.

|-|
|   |
[ ]

{#mid-windows-install-landing__table_skp_xr4_nhb}
* Verify that the host computer satisfies the [MID Server system requirements](https://www.servicenow.com/docs/LPRZSfEX7v4OqkbmL7BHSQ "Use these minimum system requirements to allocate resources for computers hosting MID Servers.").
* The MID Server requires the minimum PowerShell version 3.0 and supports versions up to PowerShell 5.1.
* Ensure that the Microsoft Application Experience Lookup Service is enabled on the MID Server host. If this service is disabled, the MID Server auto-upgrade might fail, causing the MID Server to go down. For information on managing issues with the Application Experience service, see [KB0597552](https://support.servicenow.com/nav_to.do?uri=/kb_view.do?sysparm_article=KB0597552).

{#mid-windows-install-landing__ul_l5g_qpt_1gb} Java 21.0.7 is bundled with the MID Server installer package and is installed on the host for all new MID Servers. The installer automatically configures Java 21.0.7 to run in your environment. No additional configuration is required. This version supports both 64-bit Windows MID Servers and 64-bit Linux MID Servers. The MID Server requires a minimum JRE version 17.0.10, and recommended version 21.0.7. If you are using a lower version than 17.0.10, you may see encryption related issues.  
Note:  
ServiceNow no longer supports new installations of 32-bit MID Servers or upgrades to version Rome. New MID Server installation are blocked through RPM and MSI installer on the following operating systems:

* CentOS 7
* Windows server 2008
* Windows server 2008 R2
* Windows 8
* Windows 10

{#mid-windows-install-landing__ul_i2x_sht_4pb}MID Servers can be manually installed to any operating system with the ZIP file, however Windows 10 is unsupported. Unsupported MID Servers auto-upgrading to Rome create an issue record in MID Server Issues (ecc_agent_issue). For more information, see [Supported platform changes for MID Server \[KB0863694\]](https://support.servicenow.com/kb_view.do?sysparm_article=KB0863694).

Testing showed that the MID Server
works as expected with Oracle
Java 11 version 17.0.10. If you need to upgrade the JRE to a different version, then
coordinate with the appropriate account representative for support.  
Upgraded MID Servers might use different Java versions depending on their operating system versions.

* MID Servers upgraded from earlier versions use the OpenJDK provided with the MID Server installer. This version of the OpenJDK was tested and certified for use with these MID Servers.
* MID Servers upgraded on any other operating system versions also automatically upgrade the JRE to the version provided with the installation package.
{#mid-windows-install-landing__ul_zgd_42z_cgb}

## Install MID Server on Windows with private key JWT using ZIP {#ariaid-title2}

Using the ITOM Infra Services Workspace, MID Servers can be deployed and configured manually with a ZIP file.

### Before you begin

Role required: admin

### Procedure

1. On the instance, navigate to ITOM Infra Services Workspace.
2. From the home page, in the Set up a MID panel, select Download a MID Server.
3. In the Download and set up a MID Server panel, select Set up a MID Server.
4. To begin the installation process, provide the following information.  
   * Authentication type: ServiceNow certificate
   * I'm installing the MID Server on: Windows
   * I want to install using a: Manual configuration via zip file

   {#mid-windows-install-ipki__ul_xsz_1mm_njc}  
   Note:  
   If this is your first time installing a MID Server, use the command line installer instead of installing manually. See [Install MID Server with the command line installer](https://www.servicenow.com/docs/Bdpn5mBP~qNJ9MilqvGmJw "Using the ITOM Infra Services Workspace, MID Servers can be deployed with the command line installer. The command line installer automates many of the processes, especially for first time installations.") for more information.
5. To proceed, select Next: Configuration.
6. Provide the name of the MID Server.  
   You can provide a note about the MID Server in the MID Server purpose field. This note does not affect anything about the MID Server's roles or performance.

   In addition, you can reveal the Advanced configuration settings to Manually set MID Server user, provide the IP address and port number for Proxy configuration, or Manually set service name.
7. To configure a Service Account, create a dedicated non-admin service account for the MID Server.  
   This account must have the Log in as a Service right and Read, Write, Execute permissions for the MID Server installation folder. For more information, see [Configure Windows MID Server service credentials](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_ConfigMIDSvrSvcCredentials "MID Server service credentials are required to manage the MID Server service on the host machine, including its ability to successfully auto-upgrade.").
8. Download the Windows ZIP file from the installation plan.
9. On the Windows host machine, extract the ZIP file into the intended install directory for the MID Server.
10. Go to the installation plan and generate a token to register your ServiceNow-provided certificate.  
    This token allows a new MID Server to authenticate to this instance for the first time. It is single-use and expires in 24 hours. You can regenerate this key if needed.
11. Paste the code block into the `config.xml` file.  
    Note:  
    This token is generated with a default MID Server user. If you want to use a specific MID Server user, select Specify MID Server user to generate the token.
12. To configure your MID Server, navigate to the agent folder and configure the following properties in `config.xml` with a text editor:  

    |-|-|
    | **Parameter** | **Action** |
    | url | Set to your instance URL (https://YOUR_INSTANCE.service-now.com/) |
    | name | Set to your MID Server name. This name must be unique and cannot contain spaces or special characters. (mid-uswest-01) |
    [ ]

    {#mid-windows-install-ipki__table_hqp_4lj_mjc}

    If your MID Server connects to the instance through a proxy, uncomment and configure the following properties as well:

    |-|-|
    | **Parameter** | **Action** |
    | mid.proxy.use_proxy | Set to true |
    | mid.proxy.host | Set to your proxy value (proxy.example.com) |
    | mid.proxy.port | Set to your proxy port (defaults to 8080) |
    | mid.proxy.password | Optional, set to your proxy password |
    [ ]

    {#mid-windows-install-ipki__table_jqp_4lj_mjc}
13. Navigate to `\conf\wrapper-override.conf` and edit the following:  

    |-|-|
    | **Parameter** | **Action** |
    | wrapper.ntservice.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
    | wrapper.ntservice.password.prompt | Uncomment the parameter to enable it, but do not change it. |
    | wrapper.ntservice.permissions.1.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
    | wrapper.ntservice.permissions.1.allow | Uncomment the parameter to enable it, but do not change it. |
    | wrapper.name | Set a name for this MID Server. This name must be unique on the host. (mid-uswest-01) |
    [ ]

    {#mid-windows-install-ipki__table_nc3_llj_mjc}
14. Start your MID Server by opening a command prompt, navigating to the agent folder, and running `start.bat`.  
    If a service account was configured, enter the password when prompted. The MID Server then starts and connects to the instance.
15. Set up your MID Server applications and capabilities by selecting the MID Server record and navigating to the related lists.  
    By default, the MID Server is not be able to run any applications or capabilities.
{#mid-windows-install-ipki__steps_v34_5kj_mjc}

### What to do next

To optimize your MID Server, consider configuring it to be part of a cluster or set IP ranges. For more information, see [Configure a MID Server cluster](https://www.servicenow.com/docs/FZ7zbyJYN0mFLl5vBevD5Q#t_ConfigureAMIDServerCluster "Group multiple MID Servers to form clusters, then configure clusters for fail-over protection or load balancing. Load-balancing clusters automatically balance work between each MID Server to improve stability and performance, as well as handle fail-over. Fail-over clusters have a configured order used to determine which MID Server to use next if a failure occurs."), [Configure MID Server capabilities](https://www.servicenow.com/docs/46Ok6Ru2zK_Pg1vUYNHVJw#t_ConfigureCapabilities "MID Server capabilities define the specific functions of a MID Server within an IP address range, allowing an application to select the most appropriate MID Server. Configure capabilities on MID Servers for applications like Orchestration, Cloud Management, and Service Mapping."), [Using MID Server IP range auto-assignment](https://www.servicenow.com/docs/LrMYetmpbqrWM6gLp2eNZw#mid-servers-auto-assignment "Discovery Quick Start can automatically assign ranges of IP addresses, called subnets, to qualified MID Servers. This subnet auto-assignment requires SNMP credentials for read-only access to routers Discovery uses. The Automation Status Set form shows summary details of subnet Discoveries and the IP range assignments for associated MID Servers.").

## Install MID Server on Windows with basic authentication {#ariaid-title3}

Using the ITOM Infra Services Workspace, MID Servers can be deployed with the Windows installer (MSI). Basic authentication is less secure than other authentication types.

### Before you begin

Role required: admin

### Procedure

1. On the instance, navigate to ITOM Infra Services Workspace.
2. From the home page, in the Set up a MID panel, select Download a MID Server.
3. In the Download and set up a MID Server panel, select Set up a MID Server.
4. To begin the installation process, provide the following information.  
   * Authentication type: Basic authentication
   * I'm installing the MID Server on: Windows
   * I want to install using a: Windows installer (MSI)

   {#mid-windows-install-basic-msi__ul_xsz_1mm_njc}  
   Note:  
   If this is your first time installing a MID Server, use the command line installer instead of installing manually. See [Install MID Server with the command line installer](https://www.servicenow.com/docs/Bdpn5mBP~qNJ9MilqvGmJw "Using the ITOM Infra Services Workspace, MID Servers can be deployed with the command line installer. The command line installer automates many of the processes, especially for first time installations.") for more information.
5. To proceed, select Next: Download and Install.
6. Create a ServiceNow user for this MID Server and grant it mid_server role.  
   For more information on creating users, see [Create the MID Server user and grant the role](https://www.servicenow.com/docs/~dZUCSBZ5OV15nIxR1piwA#t_SetupMIDServerRole "To communicate with the instance, MID Servers need a user ID and the mid_server role. Create the user ID for a MID Server and grant the respective role. To prevent MID Server validation failure, ServiceNow enforces role requirements for MID Server users.").  
   Note:  
   This user should be unique for each MID Server using basic authentication.
7. Download the installer `.msi` to the desired MID Server host.
8. Open the installer with Administrator level privileges.  
   For more details, see [Install a MID Server on Windows with guided installation](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_InstallAMIDServerOnWindows "Install MID Servers with the MID Server guided Windows installation package. The package includes an installer that automatically configures OpenJDK to run in the environment.").
9. Create a dedicated non-admin service account for the MID Server.  
   This account must have the Log in as a Service right and Read, Write, Execute permissions for the MID Server installation folder. For more information, see [Configure Windows MID Server service credentials](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_ConfigMIDSvrSvcCredentials "MID Server service credentials are required to manage the MID Server service on the host machine, including its ability to successfully auto-upgrade.").
10. Verify that the MID Server is running.  
    The MID Server record appears in the installer step once it is detected. If the MID Server does not appear within 5 minutes of running the installation command, check your logs in `agent\logs` to
    identify the issue.
{#mid-windows-install-basic-msi__steps_dsm_rzx_mjc}

### What to do next

Consider selecting the clusters, applications, capabilities, and IP ranges for this MID Server. For more information, see [Configure a MID Server cluster](https://www.servicenow.com/docs/FZ7zbyJYN0mFLl5vBevD5Q#t_ConfigureAMIDServerCluster "Group multiple MID Servers to form clusters, then configure clusters for fail-over protection or load balancing. Load-balancing clusters automatically balance work between each MID Server to improve stability and performance, as well as handle fail-over. Fail-over clusters have a configured order used to determine which MID Server to use next if a failure occurs."), [Configure MID Server capabilities](https://www.servicenow.com/docs/46Ok6Ru2zK_Pg1vUYNHVJw#t_ConfigureCapabilities "MID Server capabilities define the specific functions of a MID Server within an IP address range, allowing an application to select the most appropriate MID Server. Configure capabilities on MID Servers for applications like Orchestration, Cloud Management, and Service Mapping."), [Using MID Server IP range auto-assignment](https://www.servicenow.com/docs/LrMYetmpbqrWM6gLp2eNZw#mid-servers-auto-assignment "Discovery Quick Start can automatically assign ranges of IP addresses, called subnets, to qualified MID Servers. This subnet auto-assignment requires SNMP credentials for read-only access to routers Discovery uses. The Automation Status Set form shows summary details of subnet Discoveries and the IP range assignments for associated MID Servers.") respectively.

## Install MID Server on Windows with basic authentication using ZIP {#ariaid-title4}

Using the ITOM Infra Services Workspace, MID Servers can be deployed and configured manually with a ZIP file. Basic authentication is less secure than other authentication types.

### Before you begin

Role required: admin

### Procedure

1. On the instance, navigate to ITOM Infra Services Workspace.
2. From the home page, in the Set up a MID panel, select Download a MID Server.
3. In the Download and set up a MID Server panel, select Set up a MID Server.
4. To begin the installation process, provide the following information.  
   * Authentication type: Basic authentication
   * I'm installing the MID Server on: Windows
   * I want to install using a: Manual configuration via zip file

   {#mid-windows-install-basic-zip__ul_xsz_1mm_njc}  
   Note:  
   If this is your first time installing a MID Server, use the command line installer instead of installing manually. See [Install MID Server with the command line installer](https://www.servicenow.com/docs/Bdpn5mBP~qNJ9MilqvGmJw "Using the ITOM Infra Services Workspace, MID Servers can be deployed with the command line installer. The command line installer automates many of the processes, especially for first time installations.") for more information.
5. To proceed, select Next: Download and Install.
6. Download the Windows ZIP file from the installation plan.
7. On the Windows host machine, extract the ZIP file into the intended install directory for the MID Server.
8. To configure a Service Account, create a dedicated non-admin service account for the MID Server.  
   This account must have the Log in as a Service right and Read, Write, Execute permissions for the MID Server installation folder. For more information, see [Configure Windows MID Server service credentials](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_ConfigMIDSvrSvcCredentials "MID Server service credentials are required to manage the MID Server service on the host machine, including its ability to successfully auto-upgrade.").
9. Navigate to `\conf\wrapper-override.conf` and edit the following:  

   |-|-|
   | **Parameter** | **Action** |
   | wrapper.ntservice.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
   | wrapper.ntservice.password.prompt | Uncomment the parameter to enable it, but do not change it. |
   | wrapper.ntservice.permissions.1.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
   | wrapper.ntservice.permissions.1.allow | Uncomment the parameter to enable it, but do not change it. |
   | wrapper.name | Set a name for this MID Server. This name must be unique on the host. (mid-uswest-01) |
   [ ]

   {#mid-windows-install-basic-zip__table_nc3_llj_mjc}
10. To configure your MID Server, navigate to the agent folder and configure the following properties in `config.xml` with a text editor:  

    |-|-|
    | **Parameter** | **Action** |
    | url | Set to your instance URL (https://YOUR_INSTANCE.service-now.com/) |
    | mid.instance.username | Enter the name of the MID Server user that you already created. The MID Server user must have the mid_server role. |
    | mid.instance.password | Enter the password for the user in the ServiceNow MID Server username. |
    | name | Set to your MID Server name. This name must be unique and cannot contain spaces or special characters. (mid-uswest-01) |
    [ ]

    {#mid-windows-install-basic-zip__table_sxr_lxx_mjc}

    If your MID Server connects to the instance through a proxy, uncomment and configure the following properties as well:

    |-|-|
    | **Parameter** | **Action** |
    | mid.proxy.use_proxy | Set to true |
    | mid.proxy.host | Set to your proxy value (proxy.example.com) |
    | mid.proxy.port | Set to your proxy port (defaults to 8080) |
    | mid.proxy.password | Optional, set to your proxy password |
    [ ]

    {#mid-windows-install-basic-zip__table_jqp_4lj_mjc}
11. Start your MID Server by opening a command prompt, navigating to the agent folder, and running `start.bat`.  
    If a service account was configured, enter the password when prompted. The MID Server then starts and connects to the instance.

    The MID Server appears in the record table once it is detected. If the MID Server does not appear within 5 minutes of running the installation command, check your logs in `agent\logs` to identify the
    issue.
12. Set up your MID Server applications and capabilities by selecting the MID Server record and navigating to the related lists.  
    By default, the MID Server is not be able to run any applications or capabilities.
{#mid-windows-install-basic-zip__steps_v34_5kj_mjc}

### What to do next

Consider selecting the clusters, applications, capabilities, and IP ranges for this MID Server. For more information, see [Configure a MID Server cluster](https://www.servicenow.com/docs/FZ7zbyJYN0mFLl5vBevD5Q#t_ConfigureAMIDServerCluster "Group multiple MID Servers to form clusters, then configure clusters for fail-over protection or load balancing. Load-balancing clusters automatically balance work between each MID Server to improve stability and performance, as well as handle fail-over. Fail-over clusters have a configured order used to determine which MID Server to use next if a failure occurs."), [Configure MID Server capabilities](https://www.servicenow.com/docs/46Ok6Ru2zK_Pg1vUYNHVJw#t_ConfigureCapabilities "MID Server capabilities define the specific functions of a MID Server within an IP address range, allowing an application to select the most appropriate MID Server. Configure capabilities on MID Servers for applications like Orchestration, Cloud Management, and Service Mapping."), [Using MID Server IP range auto-assignment](https://www.servicenow.com/docs/LrMYetmpbqrWM6gLp2eNZw#mid-servers-auto-assignment "Discovery Quick Start can automatically assign ranges of IP addresses, called subnets, to qualified MID Servers. This subnet auto-assignment requires SNMP credentials for read-only access to routers Discovery uses. The Automation Status Set form shows summary details of subnet Discoveries and the IP range assignments for associated MID Servers.") respectively.

## Install MID Server on Windows with mutual authentication {#ariaid-title5}

Using the ITOM Infra Services Workspace, MID Servers can be deployed for mutual authentication. Mutually authentication must be authorized and prepared on the instance by ServiceNow support.

### Before you begin

Role required: admin

### Procedure

1. To enable Mutual Authentication, the instance must be authorized and prepared by ServiceNow support.  
   For more information, see [Enable MID Server mutual authentication](https://www.servicenow.com/docs/1x5Mg3ah2iZZJWtCmt7MHA "Configure the MID Server to use a client certificate for authenticating to the instance. This avoids the need to create a basic authentication credentials in the Key Store for the MID Server's configuration.").
2. On the instance, navigate to ITOM Infra Services Workspace.
3. From the home page, in the Set up a MID panel, select Download a MID Server.
4. In the Download and set up a MID Server panel, select Set up a MID Server.
5. To begin the installation process, provide the following information.  
   * Authentication type: Custom certificate (mutual TLS)
   * I'm installing the MID Server on: Windows
   * I want to install using a: Windows installer (MSI)

   {#mid-windows-install-mtls-msi__ul_xsz_1mm_njc}  
   Note:  
   If this is your first time installing a MID Server, use the command line installer instead of installing manually. See [Install MID Server with the command line installer](https://www.servicenow.com/docs/Bdpn5mBP~qNJ9MilqvGmJw "Using the ITOM Infra Services Workspace, MID Servers can be deployed with the command line installer. The command line installer automates many of the processes, especially for first time installations.") for more information.
6. To proceed, select Next: Download and Install.
7. Create a ServiceNow user for this MID Server and grant it mid_server role.  
   For more information on creating users, see [Create the MID Server user and grant the role](https://www.servicenow.com/docs/~dZUCSBZ5OV15nIxR1piwA#t_SetupMIDServerRole "To communicate with the instance, MID Servers need a user ID and the mid_server role. Create the user ID for a MID Server and grant the respective role. To prevent MID Server validation failure, ServiceNow enforces role requirements for MID Server users.").  
   Note:  
   This user should be unique for each MID Server using basic authentication.
8. Download the installer `.msi` to the desired MID Server host.
9. Open the installer with Administrator level privileges.  
   For more details, see [Install a MID Server on Windows with guided installation](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_InstallAMIDServerOnWindows "Install MID Servers with the MID Server guided Windows installation package. The package includes an installer that automatically configures OpenJDK to run in the environment.").
10. To configure a Service Account, create a dedicated non-admin service account for the MID Server.  
    This account must have the Log in as a Service right and Read, Write, Execute permissions for the MID Server installation folder. For more information, see [Configure Windows MID Server service credentials](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_ConfigMIDSvrSvcCredentials "MID Server service credentials are required to manage the MID Server service on the host machine, including its ability to successfully auto-upgrade.").
11. Verify that the MID Server is running.  
    The MID Server record appears in the installer step once it is detected. If the MID Server does not appear within 5 minutes of running the installation command, check your logs in `agent\logs` to
    identify the issue.
{#mid-windows-install-mtls-msi__steps_dsm_rzx_mjc}

### What to do next

Consider selecting the clusters, applications, capabilities, and IP ranges for this MID Server. For more information, see [Configure a MID Server cluster](https://www.servicenow.com/docs/FZ7zbyJYN0mFLl5vBevD5Q#t_ConfigureAMIDServerCluster "Group multiple MID Servers to form clusters, then configure clusters for fail-over protection or load balancing. Load-balancing clusters automatically balance work between each MID Server to improve stability and performance, as well as handle fail-over. Fail-over clusters have a configured order used to determine which MID Server to use next if a failure occurs."), [Configure MID Server capabilities](https://www.servicenow.com/docs/46Ok6Ru2zK_Pg1vUYNHVJw#t_ConfigureCapabilities "MID Server capabilities define the specific functions of a MID Server within an IP address range, allowing an application to select the most appropriate MID Server. Configure capabilities on MID Servers for applications like Orchestration, Cloud Management, and Service Mapping."), [Using MID Server IP range auto-assignment](https://www.servicenow.com/docs/LrMYetmpbqrWM6gLp2eNZw#mid-servers-auto-assignment "Discovery Quick Start can automatically assign ranges of IP addresses, called subnets, to qualified MID Servers. This subnet auto-assignment requires SNMP credentials for read-only access to routers Discovery uses. The Automation Status Set form shows summary details of subnet Discoveries and the IP range assignments for associated MID Servers.") respectively.

## Install MID Server on Windows with mutual authentication using ZIP {#ariaid-title6}

Using the ITOM Infra Services Workspace, MID Servers can be deployed using ZIP for mutual authentication. Mutually authentication must be authorized and prepared on the instance by ServiceNow support.

### Before you begin

Role required: admin

### Procedure

1. To enable Mutual Authentication, the instance must be authorized and prepared by ServiceNow support.  
   For more information, see [Enable MID Server mutual authentication](https://www.servicenow.com/docs/1x5Mg3ah2iZZJWtCmt7MHA "Configure the MID Server to use a client certificate for authenticating to the instance. This avoids the need to create a basic authentication credentials in the Key Store for the MID Server's configuration.").
2. On the instance, navigate to ITOM Infra Services Workspace.
3. From the home page, in the Set up a MID panel, select Download a MID Server.
4. In the Download and set up a MID Server panel, select Set up a MID Server.
5. To begin the installation process, provide the following information.  
   * Authentication type: Custom certificate (mutual TLS)
   * I'm installing the MID Server on: Windows
   * I want to install using a: Manual configuration via zip file

   {#mid-windows-install-mtls-zip__ul_xsz_1mm_njc}  
   Note:  
   If this is your first time installing a MID Server, use the command line installer instead of installing manually. See [Install MID Server with the command line installer](https://www.servicenow.com/docs/Bdpn5mBP~qNJ9MilqvGmJw "Using the ITOM Infra Services Workspace, MID Servers can be deployed with the command line installer. The command line installer automates many of the processes, especially for first time installations.") for more information.
6. To proceed, select Next: Download and Install.
7. Download the Windows ZIP file from the installation plan.
8. On the Windows host machine, extract the ZIP file into the intended install directory for the MID Server.
9. To configure a Service Account, create a dedicated non-admin service account for the MID Server.  
   This account must have the Log in as a Service right and Read, Write, Execute permissions for the MID Server installation folder. For more information, see [Configure Windows MID Server service credentials](https://www.servicenow.com/docs/SN7RRnjLbG47Zk9EKtVTKw#t_ConfigMIDSvrSvcCredentials "MID Server service credentials are required to manage the MID Server service on the host machine, including its ability to successfully auto-upgrade.").
10. Navigate to `\conf\wrapper-override.conf` and edit the following:  

    |-|-|
    | **Parameter** | **Action** |
    | wrapper.ntservice.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
    | wrapper.ntservice.password.prompt | Uncomment the parameter to enable it, but do not change it. |
    | wrapper.ntservice.permissions.1.account | Set to service account name (DOMAIN\\svc_mid_uswest1) |
    | wrapper.ntservice.permissions.1.allow | Uncomment the parameter to enable it, but do not change it. |
    | wrapper.name | Set a name for this MID Server. This name must be unique on the host. (mid-uswest-01) |
    [ ]

    {#mid-windows-install-mtls-zip__table_nc3_llj_mjc}
11. To configure your MID Server, navigate to the agent folder and configure the following properties in `config.xml` with a text editor:  

    |-|-|
    | **Parameter** | **Action** |
    | url | Set to your instance URL (https://YOUR_INSTANCE.service-now.com/) |
    | mid.instance.username | Enter the name of the MID Server user that you already created. The MID Server user must have the mid_server role. |
    | mid.instance.password | Enter the password for the user in the ServiceNow MID Server username. |
    | name | Set to your MID Server name. This name must be unique and cannot contain spaces or special characters. (mid-uswest-01) |
    [ ]

    {#mid-windows-install-mtls-zip__table_sxr_lxx_mjc}

    If your MID Server connects to the instance through a proxy, uncomment and configure the following properties as well:

    |-|-|
    | **Parameter** | **Action** |
    | mid.proxy.use_proxy | Set to true |
    | mid.proxy.host | Set to your proxy value (proxy.example.com) |
    | mid.proxy.port | Set to your proxy port (defaults to 8080) |
    | mid.proxy.password | Optional, set to your proxy password |
    [ ]

    {#mid-windows-install-mtls-zip__table_jqp_4lj_mjc}
12. Start your MID Server by opening a command prompt, navigating to the agent folder, and running `start.bat`.  
    If a service account was configured, enter the password when prompted. The MID Server then starts and connects to the instance.

    The MID Server appears in the record table once it is detected. If the MID Server does not appear within 5 minutes of running the installation command, check your logs in `\agent\logs` to identify the
    issue.
13. Set up your MID Server applications and capabilities by selecting the MID Server record and navigating to the related lists.  
    By default, the MID Server is not be able to run any applications or capabilities.
{#mid-windows-install-mtls-zip__steps_dsm_rzx_mjc}

### What to do next

Consider selecting the clusters, applications, capabilities, and IP ranges for this MID Server. For more information, see [Configure a MID Server cluster](https://www.servicenow.com/docs/FZ7zbyJYN0mFLl5vBevD5Q#t_ConfigureAMIDServerCluster "Group multiple MID Servers to form clusters, then configure clusters for fail-over protection or load balancing. Load-balancing clusters automatically balance work between each MID Server to improve stability and performance, as well as handle fail-over. Fail-over clusters have a configured order used to determine which MID Server to use next if a failure occurs."), [Configure MID Server capabilities](https://www.servicenow.com/docs/46Ok6Ru2zK_Pg1vUYNHVJw#t_ConfigureCapabilities "MID Server capabilities define the specific functions of a MID Server within an IP address range, allowing an application to select the most appropriate MID Server. Configure capabilities on MID Servers for applications like Orchestration, Cloud Management, and Service Mapping."), [Using MID Server IP range auto-assignment](https://www.servicenow.com/docs/LrMYetmpbqrWM6gLp2eNZw#mid-servers-auto-assignment "Discovery Quick Start can automatically assign ranges of IP addresses, called subnets, to qualified MID Servers. This subnet auto-assignment requires SNMP credentials for read-only access to routers Discovery uses. The Automation Status Set form shows summary details of subnet Discoveries and the IP range assignments for associated MID Servers.") respectively.

