netdom computername dc /add:altDC.example.com
netdom computername dc /makeprimary:altdc.example.com
To rename a member server you must choose one of the existing alternate names for the computer and make it the new primary name.
netdom renamecomputer member /newname:member1.example.com /userd:administrator
Netdom join /d:dev.example.com mywksta /OU:OU=Dsys,OU=Workstations,DC=microsoft,DC=com
netdom remove /d:mydomain mywksta /ud:mydomain\admin /pd:password
To move mywksta from its current domain into the mydomain domain, type the following at the command prompt:
netdom move /d:mydomain mywksta /ud:mydomain\admin /pd:password
If the destination is a Windows 2000 domain, the Security ID history (SIDHistory) for the workstation is updated, retaining the security permissions that the computer account had previously.
netdom trust /d:Namerica Chicago /add /Ud:Namerica\admin /Pd:* /Uo: Chicago\admin /Po:*
Press Enter and the following prompt is displayed:
Password for Northamerica\admin:
Password for USA-Chicago\admin:
Enter the password for USA-Chicago\admin and press Enter.The user must have credentials for both domains. The
/pd parameter can be used to specify the password for Northamerica\admin and the
/po parameter can be used to specify the password for USA-Chicago\admin. If passwords are not provided on the command line, the user is prompted for both.
netdom trust /d:marketing.example.com engineering.example.com /add /twoway /Uo:[email protected] /Ud:[email protected]
:
netdom trust /d:Northamerica USA-Chicago /remove
netdom trust /d:marketing.example.com Engineering.example.com /remove /twoway /Uo:[email protected] /Ud:[email protected]
To reset the secure channel for the one-way trust between Northamerica and USA-Chicago, type the following at the command prompt:
netdom trust /d:Northamerica USA-Chicago /Ud:Northamerica\admin /reset
The
/reset parameter synchronizes the appropriate shared secrets if they are not already synchronized.
netdom query /d:Northamerica PDC
netdom query /d:devgroup.example.com FSMO
netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN /Direct
To view all the direct and indirect trust relationships for the domain Northamerica, type the following at the command prompt:
netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN
To view all trust relationships and check their status, type the following at the command prompt:
netdom query /d:devgroup.example.com DOMAIN /verify
0人
|
了这篇文章 |
点击图片可刷新验证码请点击后输入验证码博客过2级,无需填写验证码
同时赞一个