I came across a strange error when trying to connect to active directory users and computers where I could not access the domain tool.
The error it's self was pretty generic, as shown below.
It turned out that there was an issue with a sysvol registration, we had just setup a new AD Controller and demoted and removed an old one. To fix the issue modify the SysVolReady from 0 to 1 as shown below.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
Then you will be able to access your active directory tools again; and you can verify using run net share. You should see a result like below if it is working properly.