Agent reinstall via SCCM

This document talks about how agent can be reinstalled via SCCM.

Steps:

  1. Create the exe of the agent to be reinstalled manually using the steps mentioned in the document
  2. Copy the .exe file
  3. Paste the exe in a share path accessible by all the computers on which the agent is to be installed.
  4. Download the script given below and update the shared path with your network share path.

    script

  5. Now, open System Center Configuration Manager (SCCM) and navigate to Software Library -> Overview -> Application Management ->Packages.
  6. This will launch Create Package and Program Wizard window, in which you will be asked to fill in the necessary information like Name, Description, Manufacturer, etc.
  7. 1 sccm
  8. Enable the checkbox This package contains source files. Select Network path and enter the path of the shared folder as shown below.
  9. 2 sccm
  10. Select Architecture as x86 (if available) and the program type as Standard and click Next.
  11. 3 sccm
  12. Fill in the necessary information, as shown in the image below and click Next.
  13. 4 sccm
  14. Review the requirements and ensure they are like as shown in the image below and click Next.
  15. 5 sccm
  16. After reviewing, confirm the settings to proceed to create the package
  17. 6 sccm
  18. The package has been created successfully.
  19. 7 sccm
  20. The package can now be deployed to the end user's computers.
  21. You have now successfully reinstalled agents in target endpoints using SCCM.