question

24586206 avatar image
0 Votes"
24586206 asked 24586206 rolled back

windows server 2012 R2加入域报错

08/26/2021 09:37:24:254 -----------------------------------------------------------------
08/26/2021 09:37:24:254 NetpValidateName: checking to see if 'AD' is valid as type 1 name
08/26/2021 09:37:27:339 NetpCheckNetBiosNameNotInUse for 'AD' [MACHINE] returned 0x0
08/26/2021 09:37:27:339 NetpValidateName: name 'AD' is valid for type 1
08/26/2021 09:37:27:339 -----------------------------------------------------------------
08/26/2021 09:37:27:339 NetpValidateName: checking to see if 'AD.dbclu.com' is valid as type 5 name
08/26/2021 09:37:27:339 NetpValidateName: name 'AD.dbclu.com' is valid for type 5
08/26/2021 09:37:27:355 -----------------------------------------------------------------
08/26/2021 09:37:27:355 NetpValidateName: checking to see if 'dbclu.com' is valid as type 3 name
08/26/2021 09:37:27:418 NetpCheckDomainNameIsValid [ Exists ] for 'dbclu.com' returned 0x0
08/26/2021 09:37:27:418 NetpValidateName: name 'dbclu.com' is valid for type 3
08/26/2021 09:37:50:298 -----------------------------------------------------------------
08/26/2021 09:37:50:298 NetpDoDomainJoin
08/26/2021 09:37:50:298 NetpDoDomainJoin: using new computer names
08/26/2021 09:37:50:298 NetpDoDomainJoin: NetpGetNewMachineName returned 0x0
08/26/2021 09:37:50:298 NetpDoDomainJoin: NetpGetNewHostName returned 0x0
08/26/2021 09:37:50:298 NetpMachineValidToJoin: 'AD'
08/26/2021 09:37:50:298 OS Version: 6.3
08/26/2021 09:37:50:298 Build number: 9600 (9600.winblue_r4.141028-1500)
08/26/2021 09:37:50:298 SKU: Windows Server 2012 R2 Standard
08/26/2021 09:37:50:298 Architecture: 64-bit (AMD64)
08/26/2021 09:37:50:298 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
08/26/2021 09:37:50:298 NetpGetLsaPrimaryDomain: status: 0x0
08/26/2021 09:37:50:298 NetpMachineValidToJoin: status: 0x0
08/26/2021 09:37:50:298 NetpJoinDomain
08/26/2021 09:37:50:298 HostName: AD
08/26/2021 09:37:50:298 NetbiosName: AD
08/26/2021 09:37:50:298 Domain: dbclu.com
08/26/2021 09:37:50:298 MachineAccountOU: (NULL)
08/26/2021 09:37:50:298 Account: dbclu.com\administrator
08/26/2021 09:37:50:298 Options: 0x425
08/26/2021 09:37:50:298 NetpLoadParameters: loading registry parameters...
08/26/2021 09:37:50:298 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
08/26/2021 09:37:50:298 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
08/26/2021 09:37:50:298 NetpLoadParameters: status: 0x2
08/26/2021 09:37:50:298 NetpValidateName: checking to see if 'dbclu.com' is valid as type 3 name
08/26/2021 09:37:50:360 NetpCheckDomainNameIsValid [ Exists ] for 'dbclu.com' returned 0x0
08/26/2021 09:37:50:360 NetpValidateName: name 'dbclu.com' is valid for type 3
08/26/2021 09:37:50:360 NetpDsGetDcName: trying to find DC in domain 'dbclu.com', flags: 0x40001010
08/26/2021 09:37:50:829 NetpDsGetDcName: failed to find a DC having account 'AD$': 0x525, last error is 0x0
08/26/2021 09:37:50:892 NetpLoadParameters: loading registry parameters...
08/26/2021 09:37:50:892 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
08/26/2021 09:37:50:892 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
08/26/2021 09:37:50:892 NetpLoadParameters: status: 0x2
08/26/2021 09:37:50:892 NetpDsGetDcName: status of verifying DNS A record name resolution for 'sqldomain.dbclu.com': 0x0
08/26/2021 09:37:50:892 NetpDsGetDcName: found DC '\\sqldomain.dbclu.com' in the specified domain
08/26/2021 09:37:50:892 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/26/2021 09:37:50:892 NetpDisableIDNEncoding: using FQDN dbclu.com from dcinfo
08/26/2021 09:37:50:892 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'dbclu.com' succeeded
08/26/2021 09:37:50:892 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/26/2021 09:37:51:996 NetUseAdd to \\sqldomain.dbclu.com\IPC$ returned 53
08/26/2021 09:37:51:996 NetpJoinDomainOnDs: status of connecting to dc '\\sqldomain.dbclu.com': 0x35
08/26/2021 09:37:51:996 NetpJoinDomainOnDs: Function exits with status of: 0x35
08/26/2021 09:37:51:996 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'dbclu.com' returned 0x0
08/26/2021 09:37:51:996 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'dbclu.com': 0x0
08/26/2021 09:37:51:996 NetpDoDomainJoin: status: 0x35
08/26/2021 09:37:52:012 -----------------------------------------------------------------
08/26/2021 09:37:52:012 NetpDoDomainJoin
08/26/2021 09:37:52:012 NetpDoDomainJoin: using new computer names
08/26/2021 09:37:52:012 NetpDoDomainJoin: NetpGetNewMachineName returned 0x0
08/26/2021 09:37:52:012 NetpDoDomainJoin: NetpGetNewHostName returned 0x0
08/26/2021 09:37:52:012 NetpMachineValidToJoin: 'AD'
08/26/2021 09:37:52:012 OS Version: 6.3
08/26/2021 09:37:52:012 Build number: 9600 (9600.winblue_r4.141028-1500)
08/26/2021 09:37:52:012 SKU: Windows Server 2012 R2 Standard
08/26/2021 09:37:52:012 Architecture: 64-bit (AMD64)
08/26/2021 09:37:52:012 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
08/26/2021 09:37:52:012 NetpGetLsaPrimaryDomain: status: 0x0
08/26/2021 09:37:52:012 NetpMachineValidToJoin: status: 0x0
08/26/2021 09:37:52:012 NetpJoinDomain
08/26/2021 09:37:52:012 HostName: AD
08/26/2021 09:37:52:012 NetbiosName: AD
08/26/2021 09:37:52:012 Domain: dbclu.com
08/26/2021 09:37:52:012 MachineAccountOU: (NULL)
08/26/2021 09:37:52:012 Account: dbclu.com\administrator
08/26/2021 09:37:52:012 Options: 0x427
08/26/2021 09:37:52:012 NetpLoadParameters: loading registry parameters...
08/26/2021 09:37:52:012 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
08/26/2021 09:37:52:012 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
08/26/2021 09:37:52:012 NetpLoadParameters: status: 0x2
08/26/2021 09:37:52:012 NetpValidateName: checking to see if 'dbclu.com' is valid as type 3 name
08/26/2021 09:37:52:091 NetpCheckDomainNameIsValid [ Exists ] for 'dbclu.com' returned 0x0
08/26/2021 09:37:52:091 NetpValidateName: name 'dbclu.com' is valid for type 3
08/26/2021 09:37:52:091 NetpDsGetDcName: trying to find DC in domain 'dbclu.com', flags: 0x40001010
08/26/2021 09:37:52:561 NetpDsGetDcName: failed to find a DC having account 'AD$': 0x525, last error is 0x0
08/26/2021 09:37:52:623 NetpLoadParameters: loading registry parameters...
08/26/2021 09:37:52:623 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
08/26/2021 09:37:52:623 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
08/26/2021 09:37:52:623 NetpLoadParameters: status: 0x2
08/26/2021 09:37:52:623 NetpDsGetDcName: status of verifying DNS A record name resolution for 'sqldomain.dbclu.com': 0x0
08/26/2021 09:37:52:623 NetpDsGetDcName: found DC '\\sqldomain.dbclu.com' in the specified domain
08/26/2021 09:37:52:623 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/26/2021 09:37:52:623 NetpDisableIDNEncoding: using FQDN dbclu.com from dcinfo
08/26/2021 09:37:52:623 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'dbclu.com' succeeded
08/26/2021 09:37:52:623 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/26/2021 09:37:52:623 NetUseAdd to \\sqldomain.dbclu.com\IPC$ returned 53
08/26/2021 09:37:52:623 NetpJoinDomainOnDs: status of connecting to dc '\\sqldomain.dbclu.com': 0x35
08/26/2021 09:37:52:623 NetpJoinDomainOnDs: Function exits with status of: 0x35
08/26/2021 09:37:52:623 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'dbclu.com' returned 0x0
08/26/2021 09:37:52:623 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'dbclu.com': 0x0
08/26/2021 09:37:52:623 NetpDoDomainJoin: status: 0x35

windows-serverwindows-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

cheong00 avatar image
0 Votes"
cheong00 answered 24586206 rolled back

Your Win2012 server failed to connect to IPC share on the domain controller.

There are lots of possible reasons, but the most common one is there are difference in time between the server and DC. Verify the time on both systems and try again.

Also if there are antivirus firewall that denies adding network share, temporarily disable it and see whether it affects the process.

Since the server has not even joined a domain, I don't think things like GPO or security hardening (some requires to disable "workstation" service that is effectively the SMB client in Windows) would matter.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.