In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use the ntdsutil command in the cmd command line, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!
System environment
System: Windows Server 2012 R2 Std
Domain name: example.com
There are two systems in the environment. DC and DC2, this article transfers the five major roles in DC to DC2.
Using the ntdsutil command on the cmd command line
First, check which server the five roles are on:
> netdom query fsmo
When the primary domain control and secondary domain control are running normally, use Transfer:
> ntdsutil ntdsutil: roles fsmo maintenance: connections server connections: connect to server DC2 / / Connect to the secondary domain controller server connections: Q / / quit to up level and return to the upper level fsmo maintence: transfer naming master fsmo maintence: transfer PDC fsmo maintence: transfer RID master fsmo maintence: transfer schema master fsmo maintence: transfer infrastructure master
The next four roles also select Yes to confirm the transfer.
After the transfer is complete, use netdom to take a look at the servers where the five roles are located.
> netdom query fsmo
Tips:
If the master domain controls the Down. Seize five roles in the secondary domain controller, using the same command above to transfer, except that the Transfer command is replaced with Seize.
Using the Move-ADDirectoryServerOperationMasterRole command in PS
To transfer five roles to another domain controller, run the following command. Where-Identity specifies the secondary domain controller and-OperationMasterRole specifies the roles to be transferred. -force is enforced, and when the primary domain controller Down is off, the-force option comes in handy in the secondary domain controller.
> Move-ADDirectoryServerOperationMasterRole-Identity DC2-OperationMasterRole 0, 1, 1, 2, 3, 4-force
By executing the ntdsutil command, you can see that five roles have been transferred to DC2.
The following is a detailed list of the five FSMO roles corresponding to the 0meme 1meme 2meme 3pr 4 five serial numbers.
PDC Emulator-0
RID Master-1
Infrastructure Master-2
Schema Master-3
Domain Naming Master-4
The above is all the contents of the article "how to use ntdsutil commands on the cmd command line". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.