23 lines
428 B
Markdown
23 lines
428 B
Markdown
# domain_rename
|
|
|
|
1) add dns zone for new domain in dns manager
|
|
|
|
2) edit domains in this script file
|
|
|
|
3) run script file
|
|
|
|
4) rendom /upload
|
|
|
|
5) rendom /prepare
|
|
|
|
6) rendom /execute
|
|
|
|
7) netdom computername DC.olddom.local /add:DC.newdom.local
|
|
|
|
8) netdom computername DC.olddom.local /makeprimary:DC.newdom.local
|
|
|
|
9) gpfixup /olddns:olddom.local /newdns:newdom.local
|
|
|
|
10) gpfixup /oldnb:OLDNETBIOS /newnb:NEWNETBIOS
|
|
|
|
11) rendom /end |