Having demoted a Windows 2003 Domain Controller and re-promoting into a different domain DNS began throwing the following error referencing the old domain name, which no longer existed:

Event ID: 4007
Source: DNS
Description: The DNS server was unable to open zone <zone> in the Active Directory from the application directory partition <partition name>. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.

1) Open Regedit via Start – Run – type Regedit and click ok
2) Browse to HKLM\System\ControlSet\Services\DNS\Zones
(This may have been moved to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones)
3) Export and then delete the zones that are no longer needed

Checking zone information with ADSIEdit.msc may also be required however removing the above seems to have worked to us. In ADSI check – DC=DomainDNSZones,DC=(yourdomain),DC=local partition


  1. 28/05/2009 at 1:32 AM tanieboy

    Thanks, It worked!

  2. 23/04/2010 at 12:11 PM Vitaly

    Thank you, solved some restart errors in log.

  3. 27/09/2011 at 12:54 PM Xinbalau

    Nice post easy and simple.