Domain Controller in Directory Services Restore Boot Loop

What to do if you find your domain controller on your network will only boot into directory services restore mode.When booting a domain controller you find that your server will only boot into directory services restore mode. Here is the solution.