Skip to content

Latest commit

 

History

History
207 lines (106 loc) · 6.16 KB

File metadata and controls

207 lines (106 loc) · 6.16 KB

Setting Up Users, Groups, and Policies

Summary:

This walkthrough will configure users, groups, and policies on our domain controller.

Set Up Users

Go to “Tools” and select “Active Directory Users and Computers” from the dropdown.

Untitled

Select the Ecorp.local dropdown and then highlight Users.

Untitled

Notice that originally both Users and Groups are in the Users folder. We can create a new folder called Groups by right clicking ECorp.local and selecting New and then choosing “Organizational Unit”.

Untitled

Name the OU “Groups” and select OK.

Untitled

Highlight “Users” and drag all the groups to the “Groups” folder.

Untitled

Select “Yes”

Untitled

After moving the groups to the Groups folder, go back to Users and right click Administrator and select Copy. We are going to create another Administrator account.

Untitled

Fill in the fields and select Next.

Untitled

Type in a password. Be sure to remember the password or write it down. Select Next.

Untitled

Select Finish

Untitled

Copy Administrator again.

Untitled

Create a service account by filling in the fields as shown below.

Untitled

Give it the following password: MYpassword123#. Check password never expires.

Untitled

Go to properties of the SQL Service account and type in the password. Although it is not sound practice, some administrators are known to do this.

Untitled

Add a new userby right clicking in the whitespace in the area where users are listed.

Untitled

Fill in the following fields and select Next.

Untitled

Type in the password and check Password never expires.

Untitled

Select Finish

Untitled

Create another user.

Untitled

Fill in the fields below.

Untitled

Add password and select password never expires.

Untitled

That is all the accounts we will set up for now.

Set Up File Share

Select File and Storage Services from the left hand side of the Server Manager Dashboard.

Untitled

Highlight “Shares”.

Untitled

From the Tasks dropdown, select “New Share”.

Untitled

Select Next

Untitled

Select Next

Untitled

Name the Share and select Next.

Untitled

Select Next

Untitled

Select Next

Untitled

Select Create

Untitled

Select Close when complete

Untitled

Configure Service Principle Name (SPN)

We will now finish setting up the SPN (SQLService) account we created in the last exercise.

Open the command prompt as Administrator and type the following.

setspn -a ECorp/SQLService.ECORP.local:60111 ECORP\SQLService

Untitled

As seen above, that command registered the SPN.

We can check it by running the following command.

setspn -T ECORP.local -Q */*

Untitled

As seen below, the SPN is confirmed.

Untitled

Set Up Group Policy

In the search window, type in Group Policy and select it.

Untitled

Drop down the Forest ECorp.local and Domains. Right click on ECorp.local and select “Create a GPO in this domain, and link it here”.

Untitled

Name the new GPO “Disable Windows Defender” and select OK.

Untitled

Click the name of the new GPO and select OK.

Untitled

Right click the policy and select Edit.

Untitled

Drop down Computer Configuration → Policies → Administrative Template → Windows Component.

Untitled

Select Microsoft Defender Antivirus (older servers have it listed as Windows Defender Antivirus) and then double click “Turn off Microsoft Defender Antivirus”.

Untitled

Check the “Enabled” box and select OK.

Untitled

Close Group Policy Management Editor.

Untitled

Right click Disable Windows Defender and select Enforced.

Untitled

Conclusion

Congratulations! You have now set up users, groups, policies and assigned a static IP address to your domain controller. In the next exercise we will join Windows VMs to the domain.