Forked from https://github.com/wh1te909/tacticalrmm
Download and install the following prereqs
Run the following commands in git bash
mkdir c:/users/public/documents/rmmagent && cd c:/users/public/documents/rmmagent
git clone https://github.com/wh1te909/rmmagent.git .
go mod download
go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo
Read through the code / build files and change all references of Tactical RMM
to Your Company RMM
Do not change any of the following or this will break on the RMM end
- The service names of the 2 windows services
tacticalagent
andtacticalrpc
. You can however change the display names and descriptions of these. - The
TABAgent
folder name in Program Files. - The actual binary name
tabrmm.exe
. Change theFileDescription
inversioninfo.json
which is what will show up in task manager.
Build the 64 bit agent
goversioninfo -64
env CGO_ENABLED=0 GOARCH=amd64 go build -ldflags "-s -w" -o tacticalrmm.exe
"c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup.iss
Build the 32 bit agent
rm resource.syso tacticalrmm.exe
goversioninfo
env CGO_ENABLED=0 GOARCH=386 go build -ldflags "-s -w" -o tacticalrmm.exe
"c:/Program Files (x86)\Inno Setup 6\ISCC.exe" build/setup-x86.iss
Binaries will be in build\Output
From the RMM, choose the 'Manual' method when generating an agent to get the command line args to pass to the binary.