Windows Lab 7 - Creating Client01


We're at the point with our server infrastructure where we can add clients. Our DHCP server will issue IP addresses, Active Directory will provide centralized logins and DNS will do all our name resolution. We're going to build a client running Windows 11 Enterprise 21H2, join it to the domain and log in with our own account.

Create Virtual Machine for Client01

Before we can install Windows we need to create a virtual machine. You'll need both Server01 and Server02 running for this lab so turn them on now. Server01 will hand out IP information to the client. When you join the client to the domain a computer account will be created in the domain and that will replicate between both servers.

Open VirtualBox and click the New icon.

Name the virtual machine Client01, and set it to Windows 11 (64-bit). Click Continue.

If you have a device with at least 16GB of RAM you can use the recommended amount of RAM which is 4096 MB. If you don't have enough RAM then set it to 2048 MB. If you're using a lab computer set this to 2048 MB. Click Continue.

We want to create a new virtual hard drive. Click Create.

We're going to use the default option of VirtualBox Disk Image. Click Continue.

We want the default option of Dynamically allocated. Click Continue.

We're going to keep the default size for the virtual disk. Click Create.

The virtual machine is created but we need to change a couple settings and insert the installation medium. Select Client01 in the inventory then click Settings in the tool bar.

In the Display tab adjust the scale factor if you have a high DPI screen. Enable 3D acceleration.

On the Network tab change to Internal Network. Then click the triangle next to Advanced to expand that section and set Promiscuous Mode to Allow All.

In the Storage tab is where we're going to insert the installation media for Windows 11. Select the Empty disk drive on the left. Then click the disk icon to the right. In the drop down select Choose a disk file.

In the dialog box that appears browse to the CIS232 folder and select. Windows 11 21H2 64Bit.ISO. Click Open.

The empty drive now contains the Windows 11 installation media. Click Ok.

Install Windows 11 Enterprise on Client01

Now we're going to install Windows 11 Enterprise on the newly created virtual machine.

Start up with virtual machine by selecting Client01 on the left side then clicking the Start button.

During the boot process you'll see a message about pressing any key to boot from the CD or DVD. Press a key on the keyboard. If you miss it you can send the virtual machine a Ctrl+Alt+Del to restart and try again.

There are a few changes to Windows 11 that will prevent us from installing in a virtual machine. We're going to make some changes to the registry to enable us to install it in our environment. At this screen press Shift+10 to open the command prompt.

At the command prompt type in regedit and hit enter to open the registry editor.

In the registry editor open HKEY_LOCAL_MACHINE - SYSTEM - Setup. Right click on Setup and click New - Key. Type in LabConfig for the name and hit enter.

Right click on the newly created LabConfig key and click New - DWORD (32-bit) Value. Enter in BypassTPMCheck for the name and hit enter.

Double click on BypassTPMCHeck and set the value to 1.

Repeat these steps to add BypassRAMCheck and BypassSecureBootCheck and set both to 1. When done close Registry Editor.

In the command prompt type exit and hit enter.

Now we can continue with the install, click Next.

Click Install now.

Select Windows 11 Enterprise then click Next.

Check the box to accept the license terms then click Next.

Select Custom.

Select Drive 0 Unallocated Space then click Next.

Windows will start installing. After it completes the virtual machine will restart automatically. Sit back, relax, and wait for the install to finish.

After it restarts make sure United States is selected for the country and click Yes.

Make sure US is selected for the keyboard layout and click Yes.

Click Skip.

Since we don't have an Internet connection we'll have to click the link that says I don't have internet.

They're going to try to convince you to connect and use an online account. We can't do that in our environment so click Continue with limited setup.

We'll be asked to make a local account for the computer. We're going to name it Admin. We can't name it administrator because it would conflict with the built in, disabled administrator account. The account named Admin will be ours to use to administer the local computer if we need it in the future. Our plan is to connect this computer to the domain, so Active Directory will be used to log in. Any member of the Domain Admins group will be a local admin of this computer. The admin account will be used as a backup if anything goes wrong. Click Next.

Set the password to P@ssw0rd for the local admin account. Click Next.

Confirm the password. Click Next.

We'll need to create some security questions for the account. You can do what you want in the section. Click Next.

Answer another question then click Next.

One more time, then click Next.

We're going to accept the default setting for privacy. Either click Next for each option or scroll down to the bottom of the list.

At the bottom of the list the Next button will turn into an Accept button, click Accept.

Windows will now create your profile, this could take a few minutes. Once it's done you'll have a Windows 11 desktop available.

Install Guest Additions

Just like our servers, we'll need to install the guest additions. This will help the virtual machine a little smoother.

Insert the guest addition CD by clicking the Devices dropdown at the top and select Insert Guest Additions CD image.

Now that the disk is in the drive we need to browse to it. We're going to open File Explorer to do this. Click on the Windows menu and select File Explorer or select File Explorer in the taskbar.

Select CD Drive D: on the left side, then double click on VBoxWindowsAdditions.

Click Yes.

We're going to step through the installation wizard selecting all defaults. Click Next.

Click Next.

Click Install.

Click Install.

While it's installing the screen ay flicker and the windows rearrange. If the installer disappears click its icon in the task bar to switch back to the installer. Click Finish to reboot.

Change the timezone on Client01

By default the time zone will be set to Pacific, we want to change it to eastern. On the server we were able to do this using Server Manager. We're going to do it a little bit differently on the client.

After restarting log back in using the local admin account and P@ssw0rd as the password.

Right click on the date and time in the task bar then click Adjust date and time.

Change the time zone to eastern in the drop down list. Click the X to close the settings windows, piece of cake, time zone set.

Verify Network Connectivity

Before we can join the domain we want to make sure we're properly connected to the network. The client should have received IP information form one of the servers. We should be able to ping the server by the hostname. It should append the domain name of and resolve the name to an IP using DNS. If that works then we have what we need to join the domain.

Windows Terminal is a program from Microsoft that lets you run different command interpreters in one window. We'll use Windows Terminal to run the PowerShell command interpreter. Open Windows Terminal by right clicking on the Windows menu and selecting Windows Terminal.

In Windows Terminal use PowerShell and type in ping server01 and press enter. You should get 4 replies from, repeat this with server02. If you get four replies networking is working and you're ready to join the domain.

Rename Client01 and Join the Domain

We're almost ready to join the domain. First we're going to rename the client to Client01.

Click the Windows menu then click Settings.

Click Rename.

Type in Client01 for the computer name and click Next.

Click Restart now.

Log back in as the local admin when the virtual machine comes back up. Now that the computer has the correct name we're going to join it to the domain. This will let us use our own account to sign into the domain. Open Settings and scroll down on the right side then click About.

Scroll down on the right side and click Domain or Workgroup.

Click the Change button.

Type in for the domain name. Then click Ok.

You'll need to authenticate to join the domain. You'll need to use the domain administrator account since the local admin account isn't recognized by the domain. Type in administrator for the username and P@ssw0rd for the password then click Ok.

If all goes well you'll be welcomed to the domain. Click Ok.

A message will pop up letting you know you'll need to reboot your computer. Click Ok.

On the System Properties window click Close

Click Restart Now to restart the computer.

Login to the Domain Using Your Account

The client computer is now a member of the domain. We're going to log in using the account we created for ourselves in a previous lab. This account was a Domain Admin, which means it will be a local admin of the computer as well. This will give you permission to install software and perform other administrative functions.

At the login screen click the Other user link in the lower left corner. Then type in your username and password and hit enter to log in.

Once you're signed in you've proven that you can sign into the domain. Success!

Now that we're done with Lab 7 shut down all the virtual machines and take snapshots of all three machines called Lab 7 Complete.


Answer the lab questions.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10