# Weinnovate - Active Directory Task One

## Prerequisites:

* Windows Machine:  [https://info.microsoft.com/ww-landing-windows-10-enterprise.html](https://info.microsoft.com/ww-landing-windows-10-enterprise.html)
* Windows Server 2022: [https://info.microsoft.com/ww-landing-windows-server-2022.html](https://info.microsoft.com/ww-landing-windows-server-2022.html)

I have successfully installed and configured both the Windows client machine and the Windows Server. Now, let's proceed with checking the IP addresses of the Windows Server.

```
ipconfig
```

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2Fq2jUy7v9vKouqM9e8iJI%2FScreenshot(3).png?alt=media&#x26;token=c2ef9477-8ecf-41e9-88fe-64ed0ba703fc" alt=""><figcaption></figcaption></figure>

The IP address assigned to the Windows Server 2022 machine is **192.168.204.143.**

Now, let's configure the **DNS server settings** on the Windows Machine to point to the IP address of the Windows Server. This ensures that the workstation can resolve domain names (`example.local`) and communicate properly with the domain controller.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2Fep8OksPAa4P4pZsx06TI%2FScreenshot(7).png?alt=media&#x26;token=50b793d1-38a3-4be3-8731-f8985d4ad668" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F9LkOGBtKAhs0o1ERTceW%2FScreenshot(8).png?alt=media&#x26;token=e8256ea6-4724-43e3-9239-756f3feddb5c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FZMBoK3jFfvCOBfpu2N3o%2FScreenshot(11).png?alt=media&#x26;token=4d4c7f59-e842-4c27-a297-e7ec1a84a54e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2Fwmxjnq5Inrt6PFnLKm45%2FScreenshot(12).png?alt=media&#x26;token=a0aa90f8-5df4-4806-936b-e8a79c8eec51" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2Ff9EuolTTw9EidEqdc1qP%2FScreenshot(15).png?alt=media&#x26;token=3ca08795-19fc-4be4-840a-2adfcab4cd9c" alt=""><figcaption></figcaption></figure>

We can add a secondary DNS server (a public DNS like `8.8.8.8` for backup).

Let's verify the **DNS** Configuration:

```
ipconfig /all
```

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FJ89eZoEbWQdc1JUtxohM%2FScreenshot(17).png?alt=media&#x26;token=c302bb9b-2a27-4045-ae58-1c4523bebf77" alt=""><figcaption></figcaption></figure>

Now, let's return to our Windows Server. We need to ensure that Active Directory Domain Services (AD DS) is installed and properly configured.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FwvNmhncvCMF2ughjdu8c%2FScreenshot(19).png?alt=media&#x26;token=5cdb993a-8117-406f-ad9d-d2b83cf84972" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FXuzsDSu5Rj8Pum8Eb5gS%2FScreenshot(20).png?alt=media&#x26;token=5947242b-a5f1-4511-a6f4-0e61381d3c66" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F0wq3CFktxXXvDeXEn9b2%2FScreenshot(21).png?alt=media&#x26;token=76113cf6-f57a-42cf-adf8-f7701892b142" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FOKDUX0DrOEpAER7owbnA%2FScreenshot(23).png?alt=media&#x26;token=3394c59c-4f5c-4981-b7b3-49c53bd2d0d6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FPWrJtLRCV1dID44ylPuQ%2FScreenshot(24).png?alt=media&#x26;token=9414db8b-0b07-4765-807c-a2a2c3dd56f5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F5ZsBPeJjChvaOQyjod97%2FScreenshot(25).png?alt=media&#x26;token=4965a9ec-767e-408f-bf6c-533b88fccc2f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F0e1O8eb8BIyQUFO8KN5Z%2FScreenshot(26).png?alt=media&#x26;token=d89c5c26-edea-4711-87fe-1dc9af743df4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FbcmTLlBHYq3VlKcKSRVB%2FScreenshot(27).png?alt=media&#x26;token=f08f6a5b-c1c2-4c00-a158-1b38901a1c73" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F1yoL0oXbqohPaqdAigBW%2FScreenshot(28).png?alt=media&#x26;token=ebe552d2-4a69-41ec-a887-fd68c5053176" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FR3JHBKar82gAKrOhjYon%2FScreenshot(29).png?alt=media&#x26;token=9ff05395-8574-410c-86f0-b41ae0663a4d" alt=""><figcaption></figcaption></figure>

Let's proceed with restarting the Windows server.

When we reopen Server Manager, a notification appears. Let's click on it to proceed.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FOnw6wSw6D6RgS80CLiLc%2FScreenshot(31).png?alt=media&#x26;token=40bccf7a-fcc6-4a76-8664-0f6246999119" alt=""><figcaption></figcaption></figure>

Let's click on "**Promote this server to a domain controller**".

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FoaTlQagAfcJGizgNfiSS%2FScreenshot(32).png?alt=media&#x26;token=3db37bfb-9e97-4c97-87c6-d663d858c64a" alt=""><figcaption></figcaption></figure>

Next, let's create a new forest and name it "**`main.local`**."

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FhvIQBOBLVZ8eumtSzNw0%2FScreenshot(33).png?alt=media&#x26;token=c6e22793-aa7e-41d3-b6ea-314535e66a8a" alt=""><figcaption></figcaption></figure>

Next, let's create a password for our domain account.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FBJEPUKXn1pmJSYmpGHFM%2FScreenshot(34).png?alt=media&#x26;token=4ba67a3a-b7ed-44cb-827f-bd49af81bfca" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FTOZfkoVdf6NlNtQOMJ39%2FScreenshot(35).png?alt=media&#x26;token=2d26f35c-aa24-49fa-a3a4-8a8a581fdbb2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FQtHNpC6TdgOJBDFkeCOD%2FScreenshot(36).png?alt=media&#x26;token=1cb3c47b-cc5f-456e-adb9-73f6a103c5fb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FrS9jLuSyWQEtEmdu3ySj%2FScreenshot(37).png?alt=media&#x26;token=768e1abc-6ebf-4c8c-bc6c-1b466c78eb79" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FlSWTaIi2uhnfP7FhsmfO%2FScreenshot(38).png?alt=media&#x26;token=63090b42-b09a-4fbe-bb6e-3d2a26f7647c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F95xVqQmVwv8so5kgxGkv%2FScreenshot(39).png?alt=media&#x26;token=59505456-7aba-4bbf-b276-3f36d005d0bd" alt=""><figcaption></figcaption></figure>

Now, let's ping the domain from the Windows machine to verify connectivity and ensure everything is functioning correctly.

```bash
ping Main.local
```

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FILFNH47O2WvTJcwolu3U%2FScreenshot(40).png?alt=media&#x26;token=edb89f74-db82-48f0-a9a8-4d2c915d86d9" alt=""><figcaption></figcaption></figure>

We now need to add the Windows machine to the domain as a workstation.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FRz5uxnFS4gSTEJ3Lgvtx%2FScreenshot(41).png?alt=media&#x26;token=232fcea2-4669-4905-a595-e2dbfdbdea0b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FzIbxgHufNs08dzEVlVpt%2FScreenshot(42).png?alt=media&#x26;token=4feea54f-9dc1-411f-994c-29a473f8a8c8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FMEZsH8WS9BAGcbRIoxZ5%2FScreenshot(43).png?alt=media&#x26;token=a84e008c-3c7d-4455-a795-89db18b16119" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FMJwe61ZtCMKCHqDhyJ1a%2FScreenshot(44).png?alt=media&#x26;token=d9df3515-6e99-474b-a2e8-770da74fd1aa" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F9lcp3R3K1vsdasWSA4l4%2FScreenshot(45).png?alt=media&#x26;token=ca8a57c3-4225-4c6b-9141-10f0ea27d829" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FyO6NWRwlwrP92I4MrcdQ%2FScreenshot(46).png?alt=media&#x26;token=dbba8cb7-3e84-4f3e-9074-63016e6f3b12" alt=""><figcaption></figcaption></figure>

Now we need to restart the system to apply these changes.

Let's verify whether the Client01 Windows machine is joined to the domain.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FGaDjxaoEd24pepjxs5mg%2FScreenshot(47).png?alt=media&#x26;token=0feadfcc-8932-40e4-9325-020c9de4b3c1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2F0TEK8OJJHPxoSP3kuGXm%2FScreenshot(48).png?alt=media&#x26;token=49eec334-4464-4f0d-813d-188a13c0f839" alt=""><figcaption></figcaption></figure>

Let's click on it.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FzkCy5e85xaPCES7VoGan%2FScreenshot(49).png?alt=media&#x26;token=3c2585c9-49e7-433b-82e8-0fda86e37458" alt=""><figcaption></figcaption></figure>

Let's attempt to log in to the **Client01** Windows machine using the **Administrator** account.

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FxjStqNp6JBGzyHnt7u44%2FScreenshot(50).png?alt=media&#x26;token=fef3b9cf-51d8-4281-aa78-c115a351e30a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2537271824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIswWWP3l0rGuQmG2WUcr%2Fuploads%2FyJG1dXg7dXPFTTvmjH3D%2FScreenshot(51).png?alt=media&#x26;token=6f9c8078-3fb3-428b-9895-8f8248dc7f23" alt=""><figcaption></figcaption></figure>
