AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 862133
Accepted
NeilWang
NeilWang
Asked: 2017-07-14 21:30:32 +0800 CST2017-07-14 21:30:32 +0800 CST 2017-07-14 21:30:32 +0800 CST

Windows Server 2012 R2 重命名后界面未知

  • 772

我在我的测试域中重命名了我唯一的 DC 的计算机名称。但是,似乎数据库没有完全更新。第一次重启后我遇到了0xc00002e2蓝屏。然后我尝试通过使用 ntdsutil -> Compact to 命令来修复它以重建 ntds.dit 文件。

服务器终于可以正常启动了。但是,我现在不能使用任何广告服务。这是 dcdiag 所说的:

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = dc1
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: SEA\SDC
      Starting test: Connectivity
         ......................... SDC passed test Connectivity

Doing primary tests

   Testing server: SEA\SDC
      Starting test: Advertising
         Fatal Error:DsGetDcName (SDC) call failed, error 1717
         The Locator could not find the server.
         ......................... SDC failed test Advertising
      Starting test: FrsEvent
         ......................... SDC passed test FrsEvent
      Starting test: DFSREvent
         The event log DFS Replication on server sdc.sea.nr could not be queried, error 0x6ba
         "The RPC server is unavailable."
         ......................... SDC failed test DFSREvent
      Starting test: SysVolCheck
         ......................... SDC passed test SysVolCheck
      Starting test: KccEvent
         The event log Directory Service on server sdc.sea.nr could not be queried, error 0x6ba
         "The RPC server is unavailable."
         ......................... SDC failed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... SDC passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... SDC passed test MachineAccount
      Starting test: NCSecDesc
         ......................... SDC passed test NCSecDesc
      Starting test: NetLogons
         Unable to connect to the NETLOGON share! (\\SDC\netlogon)
         [SDC] An net use or LsaPolicy operation failed with error 67, The network name cannot be found..
         ......................... SDC failed test NetLogons
      Starting test: ObjectsReplicated
         ......................... SDC passed test ObjectsReplicated
      Starting test: Replications
         ......................... SDC passed test Replications
      Starting test: RidManager
         ......................... SDC passed test RidManager
      Starting test: Services
         Could not open Remote ipc to [sdc.sea.nr]: error 0x43 "The network name cannot be found."
         ......................... SDC failed test Services
      Starting test: SystemLog
         The event log System on server sdc.sea.nr could not be queried, error 0x6ba "The RPC server is unavailabl
         ......................... SDC failed test SystemLog
      Starting test: VerifyReferences
         ......................... SDC passed test VerifyReferences


   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : sea
      Starting test: CheckSDRefDom
         ......................... sea passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... sea passed test CrossRefValidation

   Running enterprise tests on : sea.nr
      Starting test: LocatorCheck
         Warning: DcGetDcName(GC_SERVER_REQUIRED) call failed, error 1717
         A Global Catalog Server could not be located - All GC's are down.
         Warning: DcGetDcName(PDC_REQUIRED) call failed, error 1717
         A Primary Domain Controller could not be located.
         The server holding the PDC role is down.
         Warning: DcGetDcName(TIME_SERVER) call failed, error 1717
         A Time Server could not be located.
         The server holding the PDC role is down.
         Warning: DcGetDcName(GOOD_TIME_SERVER_PREFERRED) call failed, error 1717
         A Good Time Server could not be located.
         Warning: DcGetDcName(KDC_REQUIRED) call failed, error 1717
         A KDC could not be located - All the KDCs are down.
         ......................... sea.nr failed test LocatorCheck
      Starting test: Intersite
         ......................... sea.nr passed test Intersite

似乎服务器正在尝试连接到 sdc.sea.nr,这是我打算重命名的名称。但目前计算机名称仍显示旧名称,我无法在本地 DNS 服务器中添加 A 记录。我应该如何解决这个问题?

active-directory
  • 1 1 个回答
  • 3307 Views

1 个回答

  • Voted
  1. Best Answer
    NeilWang
    2017-07-15T01:59:18+08:002017-07-15T01:59:18+08:00

    我找到了解决方案:

    1. 修改注册表,更改所有计算机名称:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName 键名:ComputerName

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName 键名:ComputerName

      HKey_Local_Machine\System\CurrentControlSet\Services\TCPIP\ 参数 键名:NVHostName

    2. 编辑

      C:\Windows\System32\drivers\etc\hosts

      添加我的 IP 地址和计算机名称。

    3. 重启。

    • 0

相关问题

  • 如果以域用户身份远程登录,PC 速度极慢

  • 如何在 Windows 2003 的 ou 级别应用策略

  • 允许用户更改其 Active Directory 密码的 Web 界面

  • MOSS 2007 无法使用 ActiveDirectoryMembershipProvider 配置表单身份验证

  • 通过 VPN 更改 Active Directory 密码

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve