Windows OS - Servers pattern throws the error "JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Insert System, OS and CPU data to cmdb_ci_win_server' at line 1"Issue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Symptoms Windows OS - Servers pattern logs show the below error: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Insert System, OS and CPU data to cmdb_ci_win_server' at line 1 Mid server logs throws the below error: Worker-Standard:HorizontalDiscoveryProbe-b32ed1f0db74b700b1acfbf9af9619a1 WARNING *** WARNING *** org.mozilla.javascript.EcmaError: "JSUtil" is not defined.Caused by error in Ad hoc script 'EvalClosure-Insert System, OS and CPU data to cmdb_ci_win_server' at line 1 Cause This happens when 'JSUtil' class is called from the mid server and it could not find the class. Resolution Steps: Go to 'Mid server' module in the instance.Open 'Script Includes'.Open the record 'JSUtil' and activate it. https://<instance-name>.service-now.com/nav_to.do?uri=ecc_agent_script_include.do?sys_id=1d5557480a0a0b84026940e176f072e9%26sysparm_view=discovery