Issue running cmk-agent-ctl.exe" register with error Request failed with code 401 Unauthorized:

DOH I forgot I had set a custom port for agent receiver as i had a conflict for 8000 on my docker host. I was using 8101 so after i set this it worked perfectly. It would be good if after you run the cmk-agent-ctl register you get a positive validation in the command output like OK or Registered!

thanks for your support.