SMP 7.1 SP1, running on Windows 2008 R2
Somehow, a large percentage of our computers have been added to the Host Resource Blacklist.
Last night, following the instructions I've found elsewhere on the site, I ran the following query against two machines
delete from agentblacklist where guid in (select [guid] from vcomputer where [name] = 'computer name')
replacing 'computer name' with the actual device name, and deleted one of the two from the All Computers view. As expected, the one I removed from All Computers eventually requested it's configuration and appears to have "fixed" itself while the other remained in a "broken" state, showing only the machine name and server. This morning, I deleted the other and within a few minutes it too fixed itself.
Since I presume it will be easy enough to extend the SQL query above to just clear out all the blacklisted agents from the table, what I'm hoping someone can help me with is finding a way to search All Computers for those blacklisted machines for deletion. Is there a DataClass I can use to identify those? I've got thousands and trying to deal with them singly is pretty impractical.