How to set up a test MID Server using the MSI Installer in Paris, in a Windows 10 VM on your own computer


Description

Corporate Laptops and your own network User rights would tend to have been locked down such that you would not meet the security requirements for a Paris MID Server install directly on the laptop host OS. That's certainly the case for ServiceNow employee's laptops, who may wish to do this for their own test instances. These instructions would work just as well for Mac and Linux users wishing to install Windows MID Servers.

Instructions

  1. Install virtual machine software on your computer, such as VOracle VirtualBox or WMWare Player

  2. Acquire a Windows 10 VM disk image from your IT department, and run it as a virtual machine. Alternatively, Microsoft offer a free 90 day image here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

    Here's the Microsoft MSEdge.Win10.VirtualBox.zip VM running on VirtualBox 6.1 on a Windows 10 laptop:


    Note: Check that your Computer name is all capitals. A customer or Domain name that includes lower case letter will cause the following known problem in Paris:
    KB0858646 / PRB1396279 File permissions enforcement removes permissions of the windows service's log on as user, when computer or domain name has lowercase letters, leaving MID Server down

  3. In the VM, create a new Windows User to use as the Log in as user of the MID Server service. This needs to be a non-admin user, so don't add the user to the Administrators group.
    1. Select Start > Settings > Accounts and then select Family & other users. (In some editions of Windows you'll see Other users.)
    2. Select Add someone else to this PC.
    3. Select I don't have this person's sign-in information, and on the next page, select Add a user without a Microsoft account.
    4. Enter a user name, password, password hint or choose security questions, and then select Next.

  4. Set the user to have Log in as service rights:
    1. Run Local Security Policy (secpol.msc).
    2. Click on Security Settings - Local Policies - User Rights Assignment in the left panel.
    3. Double click on Log on as a service in the right panel.
    4. Add your new user to the list.


  5. Download the Windows MSI installer from your instance to your VM and Double click to run it. Fill in each page as normal, except for:
    1. As the user is local, you will enter it as ".\<username>"

      Note: You may get an Error suggesting the user doesn't have the Log on as service right, even though you know you did just add it. This is a known problem, and the following Known Error KB article has a workaround:
      KB0855251 / PRB1422626 With MSI Windows Installer for MID Server, the "Log on as Service" rights check can fail with users in Administrator group

    2. Tick the check box to start the MID Server


  6. You should now see the MID Server appear in the instance's MID Servers list. Open the record and Validate it.