Get the App
SLTechnology News&Howtos  ›  Servers  › 

Join Nano Server to a domain

Shulou Source: shulou.com Published: 2022-06-02 20:22:14 10月04日 Update

Run djoin / provision / domain / machine nano-svr1 / savefile as an administrator on the domain controller

FileName: the file name of the offline plus domain file

Open Active Directory Users and Computer, select the OU where you want to store the Nano Server, right-click and select New computer, enter the computer name of Nano Server

Access\\ Nano Server IP or Computer Name\ C$ by accessing the share, and copy the files created by the Djoin command to the C root directory of Nano Server.

Note: to access the share properly, you need to turn on the File and Printer Sharing rule of the firewall

Open Powershell, create a new session using New-PSSession, and then enter the session using Enter-PSSession

Since the DNS of my remote computer cannot parse Nano Server, I use IP Address here

Run "djoin / requestodj / loadfile / Windowspath C:\ Windows / Locals"

Where FileName is the file name of your offline domain

Restart Nano Server, at which point you can log in using Domain and check that the Nano Server has been joined to the domain

At this point, you can manage Nano Server through Server Manager and add Nano Server to Server Manager.

When the addition is complete, right-click Nano Server and select Windows Powershell

You can manage Nano Server remotely through Powershell.

Tags: File computer management selection can be passed run name command copy controller file name method directory administrator rule identity remote management firewall disk root control Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Information Microsoft Docker macOS