MOM 2005 – removing old agents from Database

If you have some agents that you definitely removed from your management group by MOM admin console, manually or through the ResKit tool “Cleanup MOM” AND they still re-appear in the MOM console, then try this script:

(remember to backup your DB of course)

If the agent that always re-appears is a domain controller then remember to delete that agent also from this AD container: CN=MOMLatencyMonitors,DC=ForestDnsZones,DC=ad,DC=pkobp,DC=pl

It’s a forest-wide application partition, to delete the computer from that container you can use LDP.exe/adsiedit.msc or any AD editing tool. BTW a great set of free AD tools you will find here:


~ by alipka on February 23, 2007.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: