How To Add Nano Server to a Domain? #NanoServer #WS2016

Introduction

In the previous post, I showed you how to install Windows Nano Server on HPE ProLiant Gen9 servers.

When creating a Nano Server image in Windows PowerShell or using the new graphical user interface Nano Server image builder, we have the option to add Nano instance to an existing domain. But this requires to have a domain controller accessible during the image creation and your management machine must be a member of the same domain. In some scenarios, this is not a viable option to us.

The question is, can I add a Nano Server to a domain after has been deployed?

The answer is YES!

In this post, I will show you how to add a Nano server to an existing domain.

Requirements

The requirements are very simple, you need to have another machine Windows 10 or Server 2016 that is already joined to the same domain that Nano server will be part of.

Add Nano Server to a domain

Switch to the management machine and open Windows PowerShell as Administrator.

At the PowerShell prompt, type the following cmdlet, and then press Enter. Your domain and server name might be different.

HowTo-NanoDomain-02

At the PowerShell prompt, type the following cmdlet, and then press Enter. Your Nano IP address might be different. Type Y, and when prompted press Enter.

At the PowerShell prompt, type the following cmdlet, and then press Enter.

In the Windows PowerShell credential request dialog box, in the Password box, type the administrator password that you used when deploying Nano Server and then click OK.

At the PowerShell prompt, type the following cmdlet, and then press Enter.

This command will copy the odjblob file from the management machine to Nano server over PowerShell remote session.

At the PowerShell prompt, type the following cmdlet, and then press Enter.

HowTo-NanoDomain-04

Verifying Nano Server domain joined

Switch to Nano server and in the User name box, type Administrator, and then press the Tab key.
In the Password box, type the domain password In the Domain box, type the domain name, and then press Enter.
In the Nano Server Recovery Console, observe that the computer is now joined to the domain.

HowTo-NanoDomain-05

Cheers,
-Ch@rbel

About Charbel Nemnom 298 Articles
Charbel Nemnom is a Microsoft Cloud Consultant and Technical Evangelist, totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 15 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize performance of mission-critical enterprise systems. Excellent communicator adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design and virtualization.

Be the first to comment

Leave a Reply