Error to join the domain : the specified network name is no longer available

Joël 1 Reputation point
2020-08-28T13:03:04.933+00:00

Hello,

For testing, i installed a new server with W2019.
I added roles AD DS and DNS and upgrate it on Domain Controler.
IP is: 192.68.0.1 / Mask : 255.255.255.0 / gateway: 192.168.0.254 / DNS : 192.168.0.1

I have a pc with IP : 192.68.0.4 / Mask : 255.255.255.0 / gateway : 192.168.0.254 / DNS : 192.168.0.1

When i try to add it on the domain, i have this message : your computer could not be joined to the domain because the following error occurred: the specified network name is no longer available

I checked logs but i don't see any mistakes.

08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'PCJOEL' is valid as type 1 name
08/28/2020 15:41:48:524 NetpCheckNetBiosNameNotInUse for 'PCJOEL' [MACHINE] returned 0x0
08/28/2020 15:41:48:524 NetpValidateName: name 'PCJOEL' is valid for type 1
08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'PCJOEL' is valid as type 5 name
08/28/2020 15:41:48:524 NetpValidateName: name 'PCJOEL' is valid for type 5
08/28/2020 15:41:48:524 -----------------------------------------------------------------
08/28/2020 15:41:48:524 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:48:609 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:48:609 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:290 -----------------------------------------------------------------
08/28/2020 15:41:56:290 NetpDoDomainJoin
08/28/2020 15:41:56:290 NetpDoDomainJoin: using current computer names
08/28/2020 15:41:56:290 NetpDoDomainJoin: NetpGetComputerNameEx(NetBios) returned 0x0
08/28/2020 15:41:56:290 NetpDoDomainJoin: NetpGetComputerNameEx(DnsHostName) returned 0x0
08/28/2020 15:41:56:290 NetpMachineValidToJoin: 'PCJOEL'
08/28/2020 15:41:56:290 NetpMachineValidToJoin: status: 0x0
08/28/2020 15:41:56:290 NetpJoinDomain
08/28/2020 15:41:56:290 HostName: PCJOEL
08/28/2020 15:41:56:290 NetbiosName: PCJOEL
08/28/2020 15:41:56:290 Domain: hoffmann.local
08/28/2020 15:41:56:290 MachineAccountOU: (NULL)
08/28/2020 15:41:56:290 Account: hoffmann.local\administrateur
08/28/2020 15:41:56:290 Options: 0x25
08/28/2020 15:41:56:290 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:56:368 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:368 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:368 NetpDsGetDcName: trying to find DC in domain 'hoffmann.local', flags: 0x40001010
08/28/2020 15:41:56:824 NetpDsGetDcName: failed to find a DC having account 'PCJOEL$': 0x525, last error is 0x0
08/28/2020 15:41:56:839 NetpDsGetDcName: status of verifying DNS A record name resolution for 'serveur.hoffmann.local': 0x0
08/28/2020 15:41:56:839 NetpDsGetDcName: found DC '\serveur.hoffmann.local' in the specified domain
08/28/2020 15:41:56:839 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/28/2020 15:41:56:839 NetpDisableIDNEncoding: using FQDN hoffmann.local from dcinfo
08/28/2020 15:41:56:839 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'hoffmann.local' succeeded
08/28/2020 15:41:56:839 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/28/2020 15:41:56:854 NetUseAdd to \serveur.hoffmann.local\IPC$ returned 64
08/28/2020 15:41:56:854 NetpJoinDomainOnDs: status of connecting to dc '\serveur.hoffmann.local': 0x40
08/28/2020 15:41:56:854 NetpJoinDomainOnDs: Function exits with status of: 0x40
08/28/2020 15:41:56:870 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:870 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'hoffmann.local': 0x0
08/28/2020 15:41:56:870 NetpDoDomainJoin: status: 0x40
08/28/2020 15:41:56:870 -----------------------------------------------------------------
08/28/2020 15:41:56:870 NetpDoDomainJoin
08/28/2020 15:41:56:870 NetpDoDomainJoin: using current computer names
08/28/2020 15:41:56:870 NetpDoDomainJoin: NetpGetComputerNameEx(NetBios) returned 0x0
08/28/2020 15:41:56:870 NetpDoDomainJoin: NetpGetComputerNameEx(DnsHostName) returned 0x0
08/28/2020 15:41:56:870 NetpMachineValidToJoin: 'PCJOEL'
08/28/2020 15:41:56:870 NetpMachineValidToJoin: status: 0x0
08/28/2020 15:41:56:870 NetpJoinDomain
08/28/2020 15:41:56:870 HostName: PCJOEL
08/28/2020 15:41:56:870 NetbiosName: PCJOEL
08/28/2020 15:41:56:870 Domain: hoffmann.local
08/28/2020 15:41:56:870 MachineAccountOU: (NULL)
08/28/2020 15:41:56:870 Account: hoffmann.local\administrateur
08/28/2020 15:41:56:870 Options: 0x27
08/28/2020 15:41:56:877 NetpValidateName: checking to see if 'hoffmann.local' is valid as type 3 name
08/28/2020 15:41:56:942 NetpCheckDomainNameIsValid [ Exists ] for 'hoffmann.local' returned 0x0
08/28/2020 15:41:56:942 NetpValidateName: name 'hoffmann.local' is valid for type 3
08/28/2020 15:41:56:942 NetpDsGetDcName: trying to find DC in domain 'hoffmann.local', flags: 0x40001010
08/28/2020 15:41:57:411 NetpDsGetDcName: failed to find a DC having account 'PCJOEL$': 0x525, last error is 0x0
08/28/2020 15:41:57:411 NetpDsGetDcName: status of verifying DNS A record name resolution for 'serveur.hoffmann.local': 0x0
08/28/2020 15:41:57:411 NetpDsGetDcName: found DC '\serveur.hoffmann.local' in the specified domain
08/28/2020 15:41:57:411 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
08/28/2020 15:41:57:411 NetpDisableIDNEncoding: using FQDN hoffmann.local from dcinfo
08/28/2020 15:41:57:427 NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'hoffmann.local' succeeded
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0
08/28/2020 15:41:57:427 NetUseAdd to \serveur.hoffmann.local\IPC$ returned 64
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: status of connecting to dc '\serveur.hoffmann.local': 0x40
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: Function exits with status of: 0x40
08/28/2020 15:41:57:427 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'hoffmann.local' returned 0x0
08/28/2020 15:41:57:427 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'hoffmann.local': 0x0
08/28/2020 15:41:57:427 NetpDoDomainJoin: status: 0x40

I tested the same procedure with a W2012R2, i have no problems.

What can be the cause of this problem?

Thanks,

Joël

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,929 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,023 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
516 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2020-08-28T14:35:46.377+00:00

    I'd check that the domain controller and problem member both have the static ip address of DC listed for DNS and no others such as router or public DNS. If problems persist then please run;

    • Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
    • repadmin /showrepl >C:\repl.txt
    • ipconfig /all > C:\dc1.txt
    • ipconfig /all > C:\dc2.txt
    • (etc. as other DC's exist)
    • ipconfig /all > C:\problemworkstation.txt

    then put unzipped text files up on OneDrive and share a link.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Joël 1 Reputation point
    2020-08-30T13:54:16.313+00:00

    Thanks Patrick,

    But after 10 days of research, I finally found.
    It was because smb 1.0/cifs file sharing support is not install on the server.


  3. Dave Patrick 426.1K Reputation points MVP
    2020-08-30T14:15:11.047+00:00

    Glad to hear its sorted, it always helps to describe the environment in detail. As to SMB1 Server 2019 does not use it by default. While its possible to add it; it presents a security risk to do so. More info here.
    https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  4. Joël 1 Reputation point
    2020-08-31T08:18:26.683+00:00

    Thanks for the information. But what's alternative ?

    SMB v2 is activated but it doesn't seem enough.


  5. Joël 1 Reputation point
    2020-09-01T07:51:49.093+00:00

    Pls find files as requested : myTests.zip

    0 comments No comments