我正在尝试将笔记本电脑连接到我的工作域。这台计算机之前曾连接到同一个域,但它已被清除并设置为新员工的新域。我将主机名改回它在域中的原始名称(在错误报告中用占位符 LAPTOP 表示),但现在当我尝试将其连接到域时,我收到消息“无法加入此域”。我以前没有遇到过这种情况,除了几篇没有解决方案的帖子外,我找不到任何与我的情况相符的东西。我还包含了事件查看器错误以及 C:\Windows\debug\NetSetup 中记录的内容。
事件查看器,错误 4097:
The machine LAPTOP attempted to join the domain DOMAIN.local but failed. The error code was 384.
网络设置:
06/21/2018 13:40:27:514 NetpDoDomainJoin
06/21/2018 13:40:27:514 NetpDoDomainJoin: using new computer names
06/21/2018 13:40:27:514 NetpDoDomainJoin: NetpGetNewMachineName returned 0x0
06/21/2018 13:40:27:514 NetpDoDomainJoin: NetpGetNewHostName returned 0x0
06/21/2018 13:40:27:514 NetpMachineValidToJoin: 'LAPTOP'
06/21/2018 13:40:27:514 NetpMachineValidToJoin: status: 0x0
06/21/2018 13:40:27:514 NetpJoinDomain
06/21/2018 13:40:27:514 HostName: LAPTOP
06/21/2018 13:40:27:514 NetbiosName: LAPTOP
06/21/2018 13:40:27:514 Domain: DOMAIN.local
06/21/2018 13:40:27:514 MachineAccountOU: (NULL)
06/21/2018 13:40:27:514 Account: DOMAIN.local\ADMINUSER
06/21/2018 13:40:27:514 Options: 0x403
06/21/2018 13:40:27:546 NetpValidateName: checking to see if 'DOMAIN.local' is valid as type 3 name
06/21/2018 13:40:27:608 NetpCheckDomainNameIsValid [ Exists ] for 'DOMAIN.local' returned 0x0
06/21/2018 13:40:27:608 NetpValidateName: name 'DOMAIN.local' is valid for type 3
06/21/2018 13:40:27:608 NetpDsGetDcName: trying to find DC in domain 'DOMAIN.local', flags: 0x40001010
06/21/2018 13:40:28:077 NetpDsGetDcName: failed to find a DC having account 'LAPTOP$': 0x525, last error is 0x0
06/21/2018 13:40:28:093 NetpDsGetDcName: status of verifying DNS A record name resolution for 'DC.DOMAIN.local': 0x0
06/21/2018 13:40:28:093 NetpDsGetDcName: found DC '\\DC.DOMAIN.local' in the specified domain
06/21/2018 13:40:28:093 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
06/21/2018 13:40:28:093 NetpDisableIDNEncoding: using FQDN DOMAIN.local from dcinfo
06/21/2018 13:40:28:093 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'DOMAIN.local' succeeded
06/21/2018 13:40:28:093 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
06/21/2018 13:40:28:187 NetUseAdd to \\DC.DOMAIN.local\IPC$ returned 384
06/21/2018 13:40:28:187 NetpJoinDomainOnDs: status of connecting to dc '\\DC.DOMAIN.local': 0x180
06/21/2018 13:40:28:187 NetpJoinDomainOnDs: Function exits with status of: 0x180
06/21/2018 13:40:28:187 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'DOMAIN.local' returned 0x0
06/21/2018 13:40:28:187 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'DOMAIN.local': 0x0
06/21/2018 13:40:28:187 NetpDoDomainJoin: status: 0x180
最后要说的是,我确实在 SMB 上看到了一些东西,进入注册表后,我没有在密钥路径下找到条目,据我了解,这意味着它已启用。 DC 位于 Windows Server 2003 上。
感谢您的所有建议。
答案1
错误代码返回以下信息:
C:\>net helpmsg 384
You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.
Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747
验证 Windows 功能中客户端计算机上是否启用了 SMB1 支持,然后重新启动计算机:
警告:不推荐这样做,而只能作为让您加入 2003 域的临时解决方法。
Windows 10 Fall Creators Update 和 Windows Server 版本 1709 及更高版本中默认未安装 SMBv1