Domain Controllers are crucial for your business to function. One of a Domain Controllers features houses all your employee information for logging onto computers. In a small business environment, clients also like to add DHCP, DNS to their domain controllers *Which is not recommended*.
Domain Controllers house your Databases and Employee information, if this database becomes corrupt or goes down, this will hurt your business by 10 folds as employees cannot get to company resources or even logon a server. “No Logon Servers Available” is a common error when a domain controller environment is failing or the computer has no internet to contact a domain controller. In our case, we have provisioned Cisco Umbrella, OpenDNS to our end users as a web filter to protect against Malicious Websites, DNS Threats and Adult Websites. Today we will be running the Domain Configuration Script on our domain controllers so DNS can function properly on the Domain Controllers.
First, you will need to SPIN up at least two Virtual Appliances for DNS routing. Once you have done this, you are ready to run the script.
- Download the Windows Configuration Script from your Umbrella portal at https://umbrella.com
Once downloaded, Remote Desktop to a Domain Controller and transfer the *.wsf file to your Desktop or a Folder of your choice. In our case when we install anything on a domain controller we create a folder called C:\Installed\ to house this. This helps us keep track of what’s installed and if another technician works on this, they can see it.
2. Run Powershell as Administrator.
To do this, click the Search Icon
Then Type Powershell, Right mouse click and Run As Administrator
Once powershell opens we will want to set the Execution Policy to Unrestricted. To do this, type:
You will then be prompted of the execution policy change, Are you sure you want to do this?
Type: Y and press Enter
Now let’s run the script.
Type the following command, change the C:\Installed\OpenDNS-WindowsConfigurationScript-20190214.wsf
To your location of the *.wsf File.
Copy and Paste this into Powershell and Press Enter.
The Windows Script File should run and ask you if you want to Auto-Configure,
Type Y and Press Enter
Umbrella will then ask you if you want to register the domain controller in the cloud. Type Y and press enter. It will then update the status in the cloud and you are all set!