1. First, look at the name of the current domain controller (desktop, my computer, properties, computer name): you can see the FQDN name of the current domain controller www.ddvip.net.
2. Execute: Start, run, cmd, switch to command line mode.
3. Enter netdom and you can see that netdom provides a wealth of parameter options.
4. Similar to many command-line tools, the netdom command is also a context-sensitive mode command-line tool that provides context-sensitive parameters and descriptions based on input parameters. For example, typing netdom add will echo the subcommands associated with add. (Note: netdom provides a lot of parameters, you can complete a variety of functions, only the commands related to domain controller renaming are introduced here.)
5. Use the enumerate parameter to see the computer name of the domain controller currently configured. The syntax is as follows:
netdom computername ComputerName /enumerate:{AlternateNames |
PrimaryName |
AllNames}
where ComputerName is the FQDN name of the current domain controller, and enumerate is a filter item with a selectable output name category: AllNames (all displayed), AlternateNames (only alias displayed), PrimaryName (only The main name is displayed. The default is all displayed.
For example: netdom computername www.ddvip.net /enumerate
You can see that there is only one FQDN name www.ddvip.net.
6. Add a new FQDN name with the add parameter, the syntax is as follows:
netdom computername CurrentComputerName /add: NewComputerName
CurrentComputerName -- the current host name, can be FQDN or IP
NewComputerName -- The new hostname to be added, in the format FQDN, note that the DNS suffix needs to be consistent
For example: netdom computername www.ddvip.net /add:smtp.df .com
You can see that the command has been executed correctly. You can see that the new alias has been successfully added using the above view command: smtp.df.com.
7. The following uses the makeprimary parameter to raise the alias to the primary name. The syntax is as follows:
netdom computername CurrentComputerName /makeprimary:NewComputerName
For example: netdom computername www.ddvip.net /makeprimary:smtp.df.com < Br>
Change the DC main name to smtp.df.com, the screen prompts that the command is completed correctly, and the new name will take effect only after restarting.
8. After rebooting, check the current FQDN name of the domain controller. You can see that the name has been successfully renamed to smtp.df.com.
9. After confirming that the renaming is successful, you can remove the old FQDN name with the remove parameter. The syntax is as follows:
netdom computername NewComputerName /remove:OldComputerName
For example: netdom computername smtp. Df.com /remove:www.ddvip.net
At this point, DC renaming has been successfully completed!
Note: 1. To achieve domain controller renaming, the domain controller must be a Windows Server 2003 version with a functional level in 2003 native mode. By default, the newly installed 2003 Server domain controller works in Windows 2000 mixed mode and needs to be promoted to 2003 native mode (AD user and computer, operation, all tasks, and elevated domain functional level) through "AD users and computers".
2. Rename the domain controller with netdom, the essence is to modify the SPN attribute of the domain controller in the active directory, and update the DNS record, these modifications will be automatically copied to other DCs and DNS.
3. After upgrading the main name, the client still maintains access to the old name before restarting.
4.netdom is a system support tool, which needs to be installed before use (CD: \\SUPPORT\\TOOLS\\SUPTOOLS.MSI).
Compared with the previous Windows, Win2K/XP user interface has made many improvements, greatly faci
You must remember the Windows xp system restore function, but it can only restore the files of this
Administrators can stop or restart AD DS through the MMC snap-in or the command line in Windows Serv
Every time Microsoft introduces a new version of the operating system, many friends will subconsciou
Windows 2000 specifies time format and date format
Windows2000 comprehensive optimization (a)
Make sure DNS security tips on Windows 2003 system domains
Win2000 upgrade to Win2003 10 major functions cause
Optimizing Windows 2000 NTFS System
Windows2003 Campus Web Server Frequently Asked Questions
Remove the login interface of Wind 2000 system
ADSL sharing under the 2003+XP platform
Windows 2008 PKI combat 1: Management
What should I do if the win7 64-bit system inserts the disk prompt "Insert the disk into the drive"?
The software prompts the server is running. Solution
Win10 system how to cancel the proxy server
Win8 set software shortcut key startup method
Win8 determines whether the computer is a 32-bit or a 64-bit method
Solution for Flv file cannot be played under the server in 2003.
Windows Optimization Master Concise Tutorial
Make your own Word Experiment Toolbox
How to solve the wauuclt.exe error message in Win8.1 system?