Joining a Windows 10 Device to the Domain (Updated for Windows 10 Update 20H2)

Introduction

Up until Windows 10 Update 20H2, many people joined workstations and servers to their domain environment using methods such as accessing the Run Prompt and entering “control system” to access the System Information portion of Control Panel, then clicking the option to modify the name of the device (the resulting window gave you the option to join a domain). Or by visiting the Control Panel and navigating to: System and Security > System > Computer name,domain, and workgroup settings > Change Settings.

With the introduction of Update 20H2, Microsoft has altered this option. In Step 2 shown in the above screenshot, Windows administrators would usually expect the System Properties window to appear, where one could click “Change…” to change either the name of the computer or the domain/workgroup to which the workstation was joined. With Update 20H2, Step 2 of the above screenshot now opens to the Windows 10 Settings App, which many administrators have been reluctant to accept, as the Windows Properties window had previously remained largely unchanged since Windows 95.

While this isn’t a new method of joining a machine to the domain, it was often ignored since many administrators preferred the traditional method discussed in the first paragraph of this post, or primarily administer their domain via PowerShell. This brief article will walk through some options for joining a traditional local Active Directory domain, especially if you really just have to have that System Properties window.

All the methods outlined below assume the device is already connected to the domain’s network and has the appropriate network configuration.

Joining the Domain – Run Prompt

Strike together the Windows + R combination on the keyboard, or right-click the Start Menu icon and select “Run” to open the Run Prompt.

Type: sysdm.cpl and strike the Enter/Return key on the keyboard or click OK.

In the resulting System Properties window, click Change…

In the resulting Computer Name/Domain Changes window, select the radio button called “Domain:” and enter the domain you wish to join (example: yourdomain.com). When done, click OK.

You may be prompted for credentials; in order to join the domain, you’ll need the credentials of a domain user account which has permissions to join devices to the domain. A domain administrator account is typically used for this function.

After entering the requisite credentials, the device will prompt you to reboot. After rebooting, the device will have been joined to the domain.

Joining the Domain – PowerShell

We can also join a machine to a local domain via a Windows PowerShell command. If you’re like me and prefer to do most of your Windows administrator via the command line, this option is for you.

Launch PowerShell (running as administrator) and type the below command:

Add-Computer -DomainName "yourdomain.com" -Restart

You may be prompted for credentials; in order to join the domain, you’ll need the credentials of a domain user account which has permissions to join devices to the domain. A domain administrator account is typically used for this function.

After entering the requisite credentials, the device will reboot. After rebooting, the device will have been joined to the domain. Easy-peasy, and works as quickly as your can type assuming no network issues.

Joining the Domain – Win10 Settings App

Last–and least–is the Windows 10 Settings App. I just…do we have to? We should at least talk about it. Alright.

On the keyboard, press together the Windows+i combination to open the Windows 10 Settings app. Alternatively, you can right-click the Start Menu icon and select Settings.

In the resulting Settings window, click into the Accounts module.

In the resulting page, use the navigation pane at the left of the window to select the “Access work or school” option. Then, click Connect.

Once you’ve clicked Connect, you’ll have a Microsoft Account window appear. Near the bottom of the window, click the “Join this device to a local Active Directory domain” option. Of course, if you’re using Azure Active Directory (AAD), then you can of course use that option.

In the resulting Join a Domain window, input the domain you wish to join, then click Next.

Once you click Next, you’ll be prompted for the requisite domain administrator credentials, after which the computer will prompt you to reboot. Once reboot is complete, the device will then be joined to the domain.

Conclusion

While Windows 10 Update 20H2 removed what some people thought of as the most traditional way of joining a machine to the domain (via the control panel and system information window), there are still a host of other options available. My personal preference for a one-off quick-join remains the sysdm.cpl method via the Run Prompt for its ease of use, the fact that it has remained the same throughout windows versions even through the 20H2 update, and the face that it maintains the graphical user interface with which many folks are already familiar.

The Windows 10 Settings app method isn’t necessarily horrible, but it’s more navigation and more clicks to accomplish the same thing, hence why I feel so many Windows administrators dislike the approach. To Microsoft’s credit, it does make some sense given their Azure Active Directory offering and their push to get customers to the cloud. In previous Windows 10 update releases, I feel the software giant is pushing its customers more and more toward Azure and the cloud with various included products like synced Edge bookmarks, OneDrive, OneNote, etc. What do you think of the smaller administrative changes that Microsoft is making to Windows 10? I’d love to hear from you in the comments below.


Additional Reading

Join a Computer to a Domain | Microsoft Docs

PowerShell to join the computer to domain – Just Do Cloud

Installing Windows via bootable USB drive for Dell Precision 5820 Towers w/ FlexBay NVMe SSDs installed

Dell Precision 5820 towers require manual loading of the storage drivers during the Windows installation process. This brief article provides step-by-step walkthrough of how to accomplish this.

Prerequisites

In order to image a Dell Precision 5820 Tower that has a FlexBay NVMe solid-state drive installed, you’ll need the following:

  • The computer tower
  • Windows 10 ISO of your choice
  • Rufus bootable-USB creation software
  • USB flash drive with a minimum of 8GB of storage
  • The Intel Rapid Store Technology Enterprise driver for the virtual RAID and AHCI controllers

The process of obtaining the drivers and flashing the USB are covered in this article. If you already have your bootable USB Windows installer ready, skip to the Copying the driver section.

Obtaining the necessary drivers

To obtain the necessary drivers, look up the Service Tag of the workstation in question. See the Additional Resources section for links to the lookup website, driver download, and more.

Once you’ve downloaded the driver’s installer, run the executable. When the splash page pops up, select the “Extract” option instead of the Install option. Extract the driver files to a location of your choice.

Creating bootable USB Windows installer

Insert your chosen USB flash drive to your system. Download and run Rufus.

Select your device and ISO file.

Partition scheme = GPT

Target system = BIOS or UEFI

Give the drive a name and click Start. When finished, close Rufus but do not remove the drive from your system.

For this example, I already had a bootable USB installer for Windows 10 Update 20H2 prepared.

Copying the driver

In your newly created bootable USB flash drive, create a directory called “drivers” and another directory inside it called the workstation brand and model. The previous sentence is optional, but extremely helpful when organizing drivers for multiple systems on a single installer drive. Navigate to the directory to which you extracted the drivers. Cut or Copy these, and Paste them into the directory you just created on the bootable USB flash drive. In my example, the file system on the flash drive looks like this:

When done, remove the USB flash drive from your system.

Installing Windows

Insert the bootable USB flash drive in the Dell Precision 5820 or 7920 workstation in question. Power on the device.

At the Dell boot splash page, rapidly tap the F12 key on the keyboard until you see “Preparing one-time boot menu” at the top-right corner of the display.

When the one-time boot menu appears, use the arrow keys on the keyboard to scroll down to the “BIOS configuration” option, then strike the enter/return key on the keyboard to enter the BIOS configuration menu.

The following settings must be set/verified;

  • Secure Boot = Disabled
  • Boot Sequence > Boot Option = UEFI
  • Advanced Boot Options > Legacy Option ROMs = Enabled

Save all changes and reboot the system. Again, at the Dell boot splash page, rapidly tap the F12 key on the keyboard until you see “Preparing one-time boot menu” at the top-right corner of the display.

When the one-time boot menu appears, use the arrow keys on the keyboard to scroll down to your bootable USB flash drive, then strike the enter/return key on the keyboard to boot from your drive.

The Windows installer should now load. Continue through the Installation menu as you normally would until you reach the “Where do you want to install Windows?” screen.

At this screen, click “Load driver” and navigate to the directory on your bootable USB flash drive. Select the directory of the appropriate AHCI/SATA driver, then load the driver. The installer will do some scans, then return you to the screen above. If no drive appears at this point, that is normal.

Again, click “Load driver” and repeat the previous step, but this time selecting the appropriate RAID driver from the directory on your bootable USB flash drive. Load the driver. Once both drivers are loaded, you should now see the drive(s) in question available.

Proceed with the Windows installation as normal.


Additional Resources

Dell Precision 5820/7920: Imaging Steps for NVMe Drives in the Flex Bay

Dell Service Tag Lookup

Intel Rapid Store Technology Enterprise F6 Driver v5.3.1.1019_A03 – Download

Rufus – Download