"The Process Cannot Access the File Because it is Being Used by Another Process" message when opening HubCapp Peripheral Agent with SendPro Enterprise

The error message "The Process Cannot Access the File Because it is Being Used by Another Process" when opening HubCapp Peripheral Agent is usually caused by security or group policy settings.
Products affected: SendPro® Enterprise

Issue

When opening HubCapp Peripheral Agent, the message "The Process Cannot Access the File Because it is Being Used by Another Process" appears.

Cause

This is usually caused by security or group policy settings.

Resolution

  1. Right-click on the HubCapp Peripheral Agent ("H") icon in the system tray (small icons by the clock) and select Exit to close the HubCapp Peripheral Agent.
  2. In Windows Explorer, go to the C:\Program Files (x86)\HubCapp Peripheral Agent\ folder and open the setup.xml file.
  3. Change the MinPortNumber from 50000 to 60000 so that the Setup section reads as follows:
    <Setup>
    <ConfigListner>
    <MinPortNumber>60000</MinPortNumber>
    <MaxPortNumber>69000</MaxPortNumber>
    </ConfigListner>
    </Setup>
  4. Save the file.
    • If you do not have permission to save the file in this location, do this instead:
      1. Copy the contents of the setup.xml file into a new Notepad plain text file.
      2. Make the change shown in step 3.
      3. Save the new file as setup.xml in a different location.
      4. Rename the C:\Program Files (x86)\HubCapp Peripheral Agent\setup.xml file to setup.xml_OLD.
      5. Copy the new setup.xml file you created and paste it into the C:\Program Files (x86)\HubCapp Peripheral Agent\ folder.
  5. Restart the HubCapp Peripheral Agent.

UPDATED: June 21, 2023