Saturday, 8 January 2022

Microsoft DNS server cannot be found event ID 4000

Error:

The description for Event Id (4000) in Source (Microsoft-Windows-DNS-Server-Service) cannot be found. Either the component raises this event is not installed on your local computer, or the installation is corrupted.


Cause:

1. DC/DNS server has lost its Secure channel with itself or PDC. (or restore DC/DNS from old backup)

Solution:

1. Point primary DNS to another DC/DNS IP address.
2. Run CMD as administrator. Type command below:

netdom resetpwd /server:<PDC.domain.com> /userd:<Domain\domain_admin> /passwordd:*

Example:  

netdom resetpwd /server:<DC.contoso.com> /userd:<contoso\administrator> /passwordd:*

3. Enter password of Domain\domain_admin  (user you enter in step 2). 
4. Reboot DC/DNS.