Go to the release page of cagent on Github, and download the most recent stable version as ZIP file.
Unpack the content of the ZIP file to
Inside the newly created folder
C:\Program Files\cagent create a text file called
On my.cloudradar.io select the host, and click on "install agent". Select "other (manual installation)". Copy the three-line config snippet to the clipboard and paste it to the cagent.conf file you are creating on the host.
Open a cmd.exe terminal as Administrator. Change to the directory
C:\Program Files\cagent and execute the command
cagent.exe -s This will create and start a Windows Service. Verify the command was successful with
sc query cagent.
You agent should now connect. You can test it with
In very rare cases cagent refuses to run as a windows service. Either registering the service via
cagent.exe -s fails, or starting the service hangs and the cagent.exe process doesn't come up.
You can try to use the NSSM as an alternative service manager.
Download the latest version here to some folder and unpack the zip file.
Open a console as administrator and change to the directory of the unpacked zip file. Change to the win64 directory. For example
nssm.exe install "Cagent via NSSM" "C:\Program Files\cagent\cagent.exe" "-c cagent.conf" That's a single line without line breaks.
Open the windows services and start the newly created service.