Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Client add Domain of Windows Server 2016-Netdom Join (2)

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

上章节我们介绍了如何通过图形化界面实现用户加域操作,本章节为大家简单介绍如何通过netdom join命令实现计算机加域操作。具体信息如下:

将工作站或成员服务器加入域。将计算机加入域的行为会为域中的计算机创建一个帐户(如果该帐户尚不存在)。

Netdom是一个内置于Windows Server 2008和Windows Server 2008 R2中的命令行工具。如果您安装了Active Directory域服务(AD DS)服务器角色,则可以使用它。如果您安装属于远程服务器管理工具(RSAT)的Active Directory域服务工具,它也可用。要使用netdom,必须从提升的命令提示符运行netdom命令。若要打开提升的命令提示符,请单击" 开始",右键单击" 命令提示符",然后单击"以管理员身份运行"。

语法:

netdom join {/d: | /domain:} [/ou:] [{/ud: | /userd:}[\] [{/pd: | /passwordd:}{|*}]] [{/uo: | /usero} [{/po: | /passwordo}{|*}] [/reboot[:,Delay>]] [/help | /?]

参数及描述:

指定要加入域的计算机的名称。

{/d: | /domain:} 指定要将计算机加入的域。如果未指定此参数,则netdom join将使用当前计算机所属的域。

/ OU: 指定要在其下创建帐户的组织单位(OU)。您必须指定OU的完整RFC 1779可分辨名称。如果未指定此参数,则netdom join将在该域的计算机对象的默认OU下创建帐户。

{/ud: | /userd:}[\] 指定与您在/ d或/ domain参数中指定的域建立连接的用户帐户。如果未指定此参数,则netdom join将使用当前用户帐户。

{/pd: | /passwordd:}{|*}指定在/ ud或/ userd参数中指定的用户帐户的密码。如果将此参数的值指定为通配符(*),则此参数会提示您输入密码。

{/uo: | /usero} 指定与要加入域的计算机建立连接的用户帐户。如果未指定此参数,则netdom join将使用当前用户帐户。

{/po: | /passwordo}{|*} 指定在/ uo或/ usero参数中指定的用户帐户的密码。如果将此参数的值指定为通配符(*),则此参数会提示您输入密码。

/reboot[:] 指定关闭计算机并在连接操作完成后自动重新引导。的延迟值是自动关机之前的秒数。默认延迟值为20秒。

{/ help | /?} 在命令提示符下显示帮助。

1.执行命令行加域操作:

netdom join %computername% /d:azureyun.local /userd:azureyun.local\administrator /passwordd:abc.123!

2. After restarting the computer, verify that the domain addition is successful:

2.1. View system properties:

2.2. View domain-added computer information in Computers in Active Directory Users and Computers:

2.3. DNS console view corresponding computer information A record:

2.4. View current computer name and login user information:

Windows Client version Remember to install the corresponding remote administration tool.

Welcome to pay attention to Weixin Official Accounts: Xiaowen Research Society

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report