I’ve installed Moonwalk Agent 12_1u2.exe and selected the Gateway Agent option, Also the HCP Plugin has been installed

On the admin console I’ve selected Standalone server and getting this error when trying to add server in

[0] ERR_DMPROTOCOLTOP_DECODEMESSAGE_FAILED [ERR_ADD_AGENT_NOT_READY] [Agent is starting or one of its components is awaiting configuration] dmprotocoltop.cpp:386

Previously when I installed the agent on this server I selected the Fileserver Agent for migration option and this added in fine from the admin GUI also as Standalone Server and I created a policy Gather Statistics which worked fine.

The agent was uninstalled, server rebooted then reinstalled with the Gateway Agent option.

I also tried installing the Gateway Agent on the Admin server but also got the same error message

Working now,

hcp.cfg was in the wrong folder, there are 2 agent folders

C:\Program Files\Moonwalk\Agent - this is where the config file needs to be
C:\Program Files\Moonwalk\data\Agent

It looks like you might have mislabeled your above comment.

The hcp.cfg file should overwrite the blank hcp.cfg file that can be found in

C:\Program Files\Moonwalk\data\Agent\hcp.cfg

The Moonwalk HCP Config will remind you of the default path when you save the hcp.cfg file.