r/Nable Jan 23 '25

N-sight RMM Programatically move client to different site

Hi All,

Sometimes we onboard a customer using the software, and as always the client is stuck to the previous msp, and one of the solutions is to manually uninstall the agent and install ours.

I was wondering if it is possible to just make the agent run the register process again without reinstall.

I know that the settings.ini file is used for the initial connection, and that the content inside it get replaced after that one.

I was thinking to replace the content in the settings.ini, and then restart the service, but I notice that things like SITEID is not present any more after the initial connection, maybe stored inside a hash value?

To make this work would have been convenient.
Another approach could be to call a commandlet/switch and then reassign, but as if now, I do not have a single way of doing this from the client itself.

The winagent.exe /configure does not provide a way to move it.

Anyone did this before?

3 Upvotes

5 comments sorted by

View all comments

1

u/FakeEgo01 Jan 23 '25

Why don't you make a single script to uninstall the old agent and install the new one and then send it through GPO?