It seems that agent is corrupted on the machine.
Which version of agent are you using?
I will suggest you to uninstall the agent (FrmInst.exe /forceuninstall) and deploy it again.
it refuses to uninstall even after using that command
the agent version is 4.5 P2
What is the error message are you getting when trying to uninstall?
See if McAfee support article KB65777 applies to your environment. (Not enough detail for me to be able to say i'm afraid).
If not I suggest you open a support case to have this looked at.