[Discovery] Windows discovery pattern might fail in the Step# Failover step to get EC2 Details PS ScriptIssue We might see that the Windows OS Pattern might fail to get the AWS information and fails in step "Failover step to get EC2 Details PS Script". Possible symtoms as follows: 1. Windows server hosted on AWS are not discovered to be running in AWS 2. Windows OS Pattern might fail to get the AWS information and fails in step "Failover step to get EC2 Details PS Script" We might see some errors as below in horizontal pattern log: "" Step# Failover step to get EC2 Details PS Script2020-12-08 17:10:21: Executing WMI query on host: YOUR_IP_ADDRESS with namespace: root/cimv2 and query: Select AddressWidth from Win32_Processor2020-12-08 17:10:21: Query result:internal_namespace=root/cimv2 internal_classname=Win32_Processor __CLASS=Win32_Processor DeviceID=CPU0 AddressWidth=642020-12-08 17:10:21: Attempting to Put file on Windows host YOUR_IP_ADDRESS filePath: C:\agent\work\uploaded_files2020-12-08 17:10:21: Error when trying to put file. Source file C:\agent\work\uploaded_files does not exist on the MID hostAt C:\agent\scripts\PowerShell\WMICollector\WMIFileOperations.psm1:118 char:9+ throw "Source file $sourcePath does not exist on the MID host ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : OperationStopped: (Source file C:\...on the MID host:String) [], RuntimeException+ FullyQualifiedErrorId : Source file C:\agent\work\uploaded_files does not exist on the MID host ""CauseBased on the error, we see that in step 39.1.2. Failover step to get EC2 Details PS ScriptPart, we are looking for the uploaded_script "Get EC2 Details". This is the uploaded file as given DocsThere is a possibility that the uploaded file exists but the attachment (ps1) script might be missing. Resolution1. Navigate to Pattern Designer > Uploaded Files. 2. Look for the record Get EC2 Details. 3. Check if there is attachment exists and is valid. 4. If not download this from the latest version from one of your other instances and upload here. (If you are not able to upload it due to extension retrictions, follow the Docs to tempororily allow that extension and revert after successfully attached) 5. Then synchronize the file with MID Server using the UI action "Synchronize with MID Servers"