Category Archives: AD DS

Create a Domain User

In this post, I will share on how to create a new domain user. Normally when a new user joining the company, they will provided a username and password to login into the domain environment. This allow user to use that system or application of that company. Beside that company can monitor all the user activity in the domain environment.

Here the steps for create a new domain user:

  • Open Active Directory Users and Computers.
  • Expand the hadiyahyalab.com and select User.
  • Right Click > New > User
  • Complete the details required and click Next.
  • Complete the password section and select the parameter if needed.
  • Click Next.

The user is created. Click Finish.

Go to any joined computer in the domain and login with new user.

Join A Client To A Domain Controller

To join the domain controller, the client needs to set the DNS information to the DNS Server. We can configure the DNS information at Network Setting.

Below are the settings.

After the configuration is done, open My Computer > Right Click > Properties.

The Workgroup Section the default value. Click on Change Settings.

Click Change.

Select the Domain and enter the Domain Controller you want to join. Click OK.

Enter the administrator username and password. Click OK.

Below show the client is successfully joined the hadiyahyalab domain. Click OK.

The client is request for reboot. Make sure close all the application and save any open document. Click OK.

Click Close.

Click Restart Now.

Wait until the restart complete.

At login screen, select Other user. Enter the username with <Domain Name>\<Username>. Enter the Password and Hit Enter.

Now, the client able to login into the domain environment. Below show the domain setting.

Below show that the client is registered at Computer under hadiyahyalab domain. This view is from Domain Controller Active Directory Users and Computers Tools.

Configure DNS

Early setup AD DS, the DNS features is enable by default. The domain controller currently didn’t have an internet connection. The DNS value is set to loopback ip address 127.0.0.1

Steps:

  • From Start Menu > Windows Administrative Tools > Open the DNS.
  • Select the AD. Right Click > Click Properties.
  • Click on Forwarders > Edit…
  • Enter the Public DNS and click OK.
  • Click Apply and OK.

Now the domain controller have the internet connection.

Below show the ping result to yahoo.com

Add Active Directory Domain Service

Active Directory Domain Service (AD DS) also known as Domain Controller. All users and computer in the domain can be manage through it. Normally administrator use it to perform activity like authorize, authenticate, security policy and etc.

Network setup:

  • IP Address: 192.168.0.10
  • Netmask: 255.255.255.0
  • Gateway 192.168.0.1
  • DNS: 172.0.0.1
  • Hostname: ad01
  • Timezone: (UTC +08:00) Kuala Lumpur, Singpapore
  • Domain: hadiyahyalab.com

Steps:

  • Run Server Manager.
  • Click Add Roles and Features.
  • Click Next.
  • Click Next.
  • Click Next.
  • Tick Active Directory Domain Services.
  • Click Add Features. Click Next.
  • Click Next.
  • Click Next.
  • Click Install.
  • Wait until the installation finish.
  • Click Promote this server to a domain controller.
  • Since this is the first domain controller. Select Add a new forest. Enter the Root domain name. Click Next.
  • Select the function level and set the DSRM password. Click Next.
  • Click Next.
  • NetBIOS will discovered automatically the name. Change it if necessary. Click Next.
  • Click Next.
  • Review and click Next.
  • View the result and click Install.
  • Wait until the installation finish.
  • Once the installation complete. It will force signed out and restart.
  • Login with domain user.

Below show the AD DS is successfully install.