Home » Endpoint Central agent reinstallation
 

How to create Endpoint Central agent reinstall executable?

This guide provides a comprehensive overview of the steps required to create an executable for reinstalling the Endpoint Central agent. It covers the processes for downloading the necessary packages, generating the cleanup tool, and performing reinstallation through Intune.

Table of Contents

  1. Download the new agent package
  2. Download the zip
  3. Generate AgentCleanupToolclient
  4. Reinstallation via Intune

Download the new agent package

  • Open the server web console.
  • Navigate to Agent -> Computers.
  • Select the required remote office.
  • Click the Download Agent button.
  • Rename the file to LocalOffice_Agent.exe and place it in a folder.

Download the zip

Extract and copy the contents from

to the previously created folder.

Generate AgentCleanupToolclient

    • Follow the steps in this page to create the agent cleanup tool and place the generated AgentCleanupToolClient.exe to the same folder.
    • The folder should contain the below files.

agentmigration1

    • Open command prompt with Admin rights and run ExeCreation.bat and generate Agent.exe

agentmigration2

  • Copy the file Agent.exe to the client machine and run it in CMD as administrator.
  • Ensure if the migration is working seamlessly.

Reinstallation via Intune

  • First, create the Agent.exe by following the steps outlined above.
  • Next, starting from Step 3: follow the Intune setup instructions provided here for detailed guidance.