Let’s say your main domain controller died due to a BSOD and will not come back up. The main domain controller was also your DNS Server and your DHCP server. You will need another domain controller already in place that will replace the domain controller that died. This means seizing FSMO roles and replacing any services that are now gone.
Seize FSMO Roles using the ntdsutil command on another domain controller.
Enter netdom query fsmo in command prompt to check where the FSMO roles currently live.
Open a command prompt and enter ntdsutil.
Enter “roles”. Enter “connections”. Enter “connect to server <Name of server you’re on>”.
Enter quit.
Seize fsmo roles using commands “seize schema master”, “seize naming master”, “seize rid master”, “seize pdc”, “seize infrastructure master”.
Enter quit and then q.
Confirm the roles have been transferred by entering “netdom query fsmo” in the command prompt.
If your domain controller isn’t a DNS server. First point your DNS settings to 127.0.0.1.
Optionally, change your IP Address to the IP Address of the dead domain controller. This way, all other computers pointing to the dead domain controller will now point to the new domain controller.
Add roles of DNS Server and DHCP Server to the domain controller.
Configure the DHCP Server.
Configure DNS Server.