microsoft:server
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| microsoft:server [2024/10/04 08:47] – sysadmin | microsoft:server [2026/02/23 12:25] (current) – rplecko | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| https:// | https:// | ||
| + | |||
| + | hostname | ||
| + | | ||
| + | ...checks current hostnme... | ||
| + | |||
| + | 1. At an elevated command prompt, type //netdom computername < | ||
| + | netdom computername dc2.ad.domain.com / | ||
| + | {{ : | ||
| + | |||
| + | | ||
| + | 2. To confirm that the new name was added, type netdom computername < | ||
| + | netdom computername dc2.ad.domain.com /enumerate | ||
| + | {{ : | ||
| + | | ||
| + | 3. Type netdom computername < | ||
| + | netdom computername dc2.ad.domain.com / | ||
| + | {{ : | ||
| + | | ||
| + | 4. Reboot the DC. | ||
| + | |||
| + | shutdown -r -t 0 | ||
| + | |||
| + | 5. Launch an elevated command prompt and type netdom computername < | ||
| + | netdom computername newdc2.ad.domain.com / | ||
| + | {{ : | ||
| + | | ||
| + | 6. Confirm that the old name has been removed by typing netdom computername < | ||
| + | netdom computername newdc2.ad.domain.com /enumerate | ||
| + | {{ : | ||
| + | |||
| + | 7. Reboot the DC. | ||
| + | < | ||
| + | shutdown -r -t 0 | ||
| + | </ | ||
| + | Summary | ||
| + | < | ||
| + | hostname | ||
| + | netdom computername <old> / | ||
| + | netdom computername <old> /enumerate | ||
| + | netdom computername <old> / | ||
| + | shutdown -r -t 0 | ||
| + | netdom computername <new> /remove: <old> | ||
| + | netdom computername <new> /enumerate | ||
| + | shutdown -r -t 0 | ||
| + | </ | ||
| + | |||
microsoft/server.1728031643.txt.gz · Last modified: 2024/10/04 08:47 by sysadmin
