MID Server Pre-Upgrade Check can be blocked for days while running the Powershell test, delaying upgradesDescriptionMID Server Pre-Upgrade Check can be blocked for days while running the Powershell test, delaying upgrades. The agent log will show a long pause in the middle of the Upgrade check, before continuing. This example was Kingston (Patch 14) to (Madrid Patch 3 Hot Fix 1): 05/22/19 01:41:24 (436) AutoUpgrade.3600 Upgrade check files extracted to C:\Users\xxxx\AppData\Local\Temp\1558482084405-005/22/19 01:41:24 (436) AutoUpgrade.3600 Upgrade check file contents validated05/22/19 01:41:24 (436) AutoUpgrade.3600 Moving upgrade check file to C:\ServiceNow\agent\package\upgradeCheck05/22/19 01:41:24 (436) AutoUpgrade.3600 Upgrade check file contents validated05/22/19 01:41:24 (436) AutoUpgrade.3600 The service name is detected as snc_mid_xxxxx05/22/19 01:41:24 (592) AutoUpgrade.3600 WARNING *** WARNING *** no context : null Then after a long time, it may pick up where it left off: 05/23/19 03:25:36 (614) AutoUpgrade.3600 Result of PowerShell test:trueUser is a member of a group that is explicitely defined for local administration05/23/19 03:25:36 (833) AutoUpgrade.3600 Deleting folder C:\ServiceNow\agent\package\upgradeCheck05/23/19 03:25:36 (833) AutoUpgrade.3600 Pre-upgrade validation tests successful. Continuing with upgrade process.05/23/19 03:25:37 (192) AutoUpgrade.3600 Downloading package to mid-jre.madrid-12-18-2018__patch3-hotfix1-05-09-2019_05-10-2019_1311.windows.x86-32.zip from https://install.service-now.com/glide/...Steps to Reproduce The configuration of the MID Server or Host setting that lead to this have not been figured out yet, so reproducing this on demand is not possible.WorkaroundThis problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available. A MID Server configuration parameter called mid.upgrade.run_precheck is set to true by default, which allows the automatic pre-upgrade test to run. To disable these tests for a single MID Server, add this parameter to that MID Server's config.xml file and set it to false. To disable these tests for all MID Servers, add a new record to the MID Server Property [ecc_agent_property] table called mid.upgrade.run_precheck. Set the value of this property to false and leave the MID Server field blank.Related Problem: PRB1367586