我失去了我的域控制器机器,然后添加新的域控制器,但有一个新的域。 如何使用命令行从旧域中删除networking计算机并添加到新域? 使用Windows Server 2008 Core的计算机(仅限命令行)
net computer \\name del
仅适用于域控制器。
sconfig
当我尝试从旧域退出时,控制台请求用户名和密码退出。 我键入它,然后得到错误“无法连接到域”(旧的域控制器不存在)
该怎么办?
尝试netdom remove computername /Domain:domain /UserD:user /PasswordD:* /Force
键入netdom remove /? 为完整的命令使用。 / Force选项是你正在寻找的。 根据帮助:
Forces the unjoin of the machine from the domain even if the domain is not found or does not contain the matching computer object.
要将成员join到新域中,请执行以下操作: netdom join computername /Domain:domain /UserD:user /PasswordD:*
再次键入netdom join /? 以获得有关命令使用的帮助。