User Tools

Site Tools


microsoft:server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microsoft:server [2024/10/04 10:25] sysadminmicrosoft:server [2026/02/23 12:25] (current) rplecko
Line 4: Line 4:
 https://www.dell.com/support/kbdoc/en-us/000226230/windows-server-how-to-properly-rename-an-active-directory-domain-controller https://www.dell.com/support/kbdoc/en-us/000226230/windows-server-how-to-properly-rename-an-active-directory-domain-controller
  
 +  hostname
 +  
 +...checks current hostnme...
  
 1. At an elevated command prompt, type //netdom computername <oldname> /add:<newname>//. The output should indicate that the new name was successfully added as an alternate name for the DC. 1. At an elevated command prompt, type //netdom computername <oldname> /add:<newname>//. The output should indicate that the new name was successfully added as an alternate name for the DC.
Line 19: Line 22:
          
 4. Reboot the DC. 4. Reboot the DC.
-    + 
-   +  shutdown -r -t 0    
 + 
 5. Launch an elevated command prompt and type netdom computername <newname> /remove:<oldname> to remove the old FQDN from the DC's list of names. 5. Launch an elevated command prompt and type netdom computername <newname> /remove:<oldname> to remove the old FQDN from the DC's list of names.
     netdom computername newdc2.ad.domain.com /remove:dc2.ad.domain.com     netdom computername newdc2.ad.domain.com /remove:dc2.ad.domain.com
Line 29: Line 33:
 {{ :microsoft:server:DC-rename-6.jpeg?700 }}     {{ :microsoft:server:DC-rename-6.jpeg?700 }}    
  
 +7. Reboot the DC.
 +<code> 
 +  shutdown -r -t 0   
 +</code>
 +Summary
 <code> <code>
 +hostname
 netdom computername <old> /add:<new> netdom computername <old> /add:<new>
- 
 netdom computername <old> /enumerate netdom computername <old> /enumerate
- 
 netdom computername <old> /makeprimary:<new> netdom computername <old> /makeprimary:<new>
- +shutdown -r -t 0  
-4.Reboot the DC. +netdom computername <new> /remove: <old>
- +
-netdom computername <new> /remove:<old> +
 netdom computername <new> /enumerate netdom computername <new> /enumerate
 +shutdown -r -t 0 
 </code> </code>
  
microsoft/server.1728037500.txt.gz · Last modified: 2024/10/04 10:25 by sysadmin