I have hundreds of windwos 2003 domain controllers with AD-integrated DNS. I want to delete existing root hints and add new one programmatically. I sucessfully add my roothints with a DNSCMD command.
However I cannot delete the existing root hints (except using the DNS MMC GUI).
This VBScript this sample doesn't work http://techtasks.com/code/viewbookcode/1142
My tries with DNSCMD command failed too (Example DNSCMD MyServerName /RecordDelete /RootHints myhints.domain NS gives "invalid zone type").
How can I achieve this ?