I am not sure that the port and host assigned could be removed by the procedure mentioned in I recently used kms activation to activate my office, but right now I am willing to remove all the settings and changes which were made to my machine while running that msguides script to activate office,