Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

使用 Netdom.exe 在 Active Directory 域中加入和删除服务器

Summary: 本文介绍在运行 Windows Server Core 的服务器上如何使用 Netdom 在 Active Directory (AD) 域中加入和删除服务器。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

执行以下步骤以使用 Netdom 将服务器加入 AD 域。

键入 netdom join %computername% /domain:vdom /reboot,然后按 Enter 键,将服务器加入 vdom 域并重新启动。

HOW10118_en_US__1core netdom join

执行以下步骤以使用 Netdom 从 AD 域中删除服务器。

键入 netdom remove %computername% /domain:vdom /reboot,然后按 Enter 键,以便从 vdom 域中删除服务器并重新启动。

HOW10118_en_US__2core netdom remove

注:在域中加入或删除服务器时,将域名 vdom 替换为正确的域名。  
注:在域中加入或删除服务器时,可能需要用户凭据。它依赖用于登录到服务器的凭据。将 /userD:Administrator /passwordD:* 添加到 Netdom 命令,以指定域管理员帐户的使用。在出现提示时,键入域管理员密码。
注:示例:netdom join %computername% /domain:vdom /userD:Administrator /passwordD:* /reboot:reboot

 

 

Article Properties


Affected Product

Microsoft Windows 2008 Server R2, Microsoft Windows 2008 Server Service Pack 2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2

Last Published Date

02 Nov 2023

Version

7

Article Type

How To