Clean Reinstall On-Premise Agent (Windows)

This document helps resolve the issue with the On-Premise Agent Service for Windows keeps crashing.

Uninstalling and deleting all On-Premise Agent related properties before reinstalling

  1. Stop all running Agent tasks from the Task Manager.

  2. Uninstall the Agent program from the Control Panel.

  3. Uninstall the On-Premise Agent Service.

    1. Run CMD as Administrator.

    2. Enter the command sc delete celigoagent.exe.

    3. Press Enter.

  4. Navigate to C:\Users\\AppData\Roaming and delete the agent folder including its contents.

  5. Navigate to C:\Users\\AppData\Local and delete the agent-updater folder, including its contents.

  6. Navigate to C:\Users\\AppData\Local\Programs and ensure that the Agent folder does not exist; if it is, delete it.

  7. Press Windows + R.

  8. The Run dialog box will appear; enter %APPDATA%/agent.

  9. Click OK or press Enter.

  10. Delete all the files and folders in that folder.

  11. Navigate to C:\ drive and delete the daemon folder.

Reinstalling On-Premise Agent

  1. Download the new Agent installer from IO.

  2. Once downloaded, right-click on the .exe file and Run as Administrator.

  3. Select whether you want to install the On-Premise Agent for all users or only for me.

  4. Click Finish while Run Agent check box is ticked.

  5. The Agent UI will show up. Before entering the token, ensure to uncheck the Run in Background checkbox.

  6. Enter the Token and click Submit. And now the Agent is successfully installed.

  7. Click Install Service to install the On-Premise Agent service.

  8. The On-Premise Agent service will NOT automatically run right after installation. To run it, stop the Agent by closing the Agent UI.

  9. Then go to Services and start the Celigo Agent service.

  10. Test the connection. Run some flows.

3 Likes