共用方式為


Netdom movent4bdc

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Renames a Windows NT 4.0 backup domain controller to reflect a domain name change. This can assist in Windows NT 4.0 domain renaming efforts.

Netdom is a command-line tool that is built into Windows Server 2008and Windows Server 2008 R2. It is available if you have the Active Directory Domain Services (AD DS) server role installed. It is also available if you install the Active Directory Domain Services Tools that are part of the Remote Server Administration Tools (RSAT). For more information, see How to Administer Microsoft Windows Client and Server Computers Locally and Remotely (https://go.microsoft.com/fwlink/?LinkID=177813).

To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

For examples of how to use this command, see Examples.

Syntax

netdom movent4bdc <Computer> [{/d: | /domain:}<Domain>] [/reboot[:<Delay>]] [{/help | /?}]

Parameters

Parameter

Description

<Computer>

Specifies the name of the backup domain controller that you want to rename.

{/d: | /domain:}<Domain>

Specifies the new name of the domain.

/reboot[:<Delay>]

Specifies to shut down and automatically restart the computer after the rename operation completes. The Delay value is the number of seconds before automatic shutdown occurs. The default Delay value is 20 seconds.

{/help | /?}

Displays help at the command prompt.

Examples

To join myBDC to the Windows NT 4.0 domain reskita, type the following command at the command prompt:

netdom mybdc moveNT4BDC /domain:reskita

Additional references

Command-Line Syntax Key

Netdom

Netdom add

Netdom computername

Netdom join

Netdom move

Netdom query

Netdom renamecomputer

Netdom reset

Netdom resetpwd

Netdom trust

Netdom verify