连接失败时如何从 Active Directory 中删除服务器?

发布于 2024-07-14 12:34:44 字数 288 浏览 12 评论 0原文

我有一台服务器,其 AD 帐户变得疯狂; 登录需要几个小时,而且并非所有 DC 都会显示计算机帐户。 现在它只有在与网络断开连接时才会启动。 我试图将其从域中删除,但出现超时,或者如果已连接,我会收到错误消息“此线程已在进行远程过程调用”。 我从域中删除了计算机帐户。

我尝试使用“netdom删除计算机名/force”并删除注册表中的计算机帐户(HKLM/security/secrets/$machine.acc),但服务器仍然保留在域中。

是否有记录的方法可以从不再可用的域中删除服务器(或工作站)?

I have a server whose AD account got crazy; log on would take hours and not all DCs showed the computer account. Now it only boots if disconnected from the network. I am trying to remove it from the domain but get aa timeout or if it is connected I get an error message "A remote procedure call is already in progress for this thread". I deleted the computer account from the domain.

I tried using "netdom remove computername /force" and deleting the machine account in the registry (HKLM/security/secrets/$machine.acc) but still the server remains in the domain.

Is there a documented method to remove a server (or workstation) from a domain that is no longer available?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一念一轮回 2024-07-21 12:34:44

这种情况只发生在这一台计算机上吗? 从 ADUC 中删除计算机帐户应该可以。 此服务器上正在运行什么(交换?域控制器?dns?)

编辑添加:

我会尝试强制在 DC 之间进行复制。 打开 ADUC。 转到站点/yourSite/NTDS 设置。 右键单击详细信息窗格中的连接,然后选择立即复制。

关于您所说的计算机是否仍显示在 ADUC 中,这有点令人困惑。 如果强制复制没有任何改变,那么恐怕您将不得不重新映像这台计算机。

Is this only happening on this one computer? Deleting the computer account from ADUC should work. What is running on this server (exchange? domain controller? dns?)

Edited to add:

I would try forcing replication between DCs. Open ADUC. Goto Sites/yourSite/NTDS Setting. Right-click on the connection in the details pane, and select Replicate Now.

It's a little confusing as to whether you said the computer still shows in ADUC. If forcing replication changes nothing, then I'm afraid you'll have to reimage this computer.

呆° 2024-07-21 12:34:44

在 PDC 上的 Active Directory 用户和计算机中,从计算机列表中删除该条目。

编辑:这将是在 Server 2003 上,但毫无疑问在 2008 服务器上有相应的工具。

On the PDC in Active Directory Users and Computers, delete the entry from the list of computers.

edit: that would be on Server 2003, but no doubt there is a corresponding tool on the 2008 server.

花想c 2024-07-21 12:34:44

没有任何效果...

我重新格式化了服务器。

它确实是由于域复制问题而开始的,我想如果我在弄乱计算机帐户并强制删除之前强制进行复制,那么这个问题就会得到解决。

Nothing worked...

I re-formated the server.

It did start because of domain replication issues, I guess that if I had forced replication before messing with the computer account and forcing removal this would've been solved.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文