AM cannot detect host name change

AM cannot detect host name change

Hello,
 
We faced a strange problem, we have a computer that in a workgroup and not joining any domain, assume the computer name is SERVERA. We have SQL Server and IIS installed on this computer.
 
Before last week, AM can collect this computer's information succesfully, last week we changed its host name (from SERVERA to SERVERB) and added this computer to domain, after that problem occurs:
 
All monitors related to this computer still point to SERVERA, we tried to delete and re-create these monitors but it sill point to the old server name.
 
Then we tried to use a script called changehostname to manually change the host name. After running this script, the SQL Server and OS level monitor is working currently, however the IIS server monitor will work only for the first 10 or 15 minutes, after that, it will change the host name back to old one.
 
How to resolve this problem? Thanks.

                New to ADSelfService Plus?