• AD使用ntdsutil工具 恢复主域控制器 清理孤立域控制器


    需求:

    主域控制器出现灾难故障,辅助域控制器正常

    在辅助域控制器使用ntdsutil工具清理主域控制器并夺取PDC角色

    首先清理孤立的域控制器

    ntdsutil
    ntdsutil: metadata cleanup
    metadata cleanup: select operation target
    select operation target: connections
    server connections: connect to domain 3b.net  #登陆到本地域
    server connections:quit
    select operation target: list sites        
    select operation target: List domains in site
    select operation target: select domain 0
    select operation target: select server 0
    select operation target: quit
    metadata cleanup:Remove selected server    #删除一个域控制器
    metadata cleanup:quit
    ntdsutil: quit
    

    辅助域控制需要夺取五种FMSO成为主域控制器

    ntdsutil
    ntdsutil: metadata cleanup
    metadata cleanup: select operation target
    select operation target: connections
    server connections: connect to domain 3b.net  #登陆到本地域
    server connections:quit
    select operation target: list sites        
    select operation target: List domains in site
    select operation target: select domain 0
    select operation target: select server 0
    select operation target: quit
    
    ##夺取角色
    fsmo maintenance:Seize domain naming master 
     
    fsmo maintenance:Seize infrastructure master 
    
    fsmo maintenance:Seize PDC 
    
    fsmo maintenance:Seize RID master 
    
    fsmo maintenance:Seize schema master 
    
    fsmo maintenance:quit 
    ntdsutil: quit 
    

      

  • 相关阅读:
    springboot2 + prometheus + grafana 监控整合
    vs code 快捷键总结
    java8 concurrecy
    java8 localdatetime timestamp 转换
    有意思的网站
    评价搜索引擎质量
    转载一篇文章
    csdn 站点使用
    百度站点平台
    好的文章聚合站点
  • 原文地址:https://www.cnblogs.com/37yan/p/7103172.html
Copyright © 2020-2023  润新知