locked
VPN Share error 2221 RRS feed

  • Question

  • We are migrating from SBS 2008 to a new server 2012 and I'm setting up a VPN server, I can connect to the VPN without problems. But when trying to access a share I get the error User name cannot be found. But when I try to access the share based on IP address it works fine.

    C:\Users\mats>net use J: \\192.168.10.2\Public
    De opdracht is voltooid. (SUCCES)


    C:\Users\mats>net use X: \\SERVER\Public
    Systeemfout 2221.

    Kan de gebruikersnaam niet vinden. (User name cannot be found)


    C:\Users\mats>net use X: \\SERVER\Public PASSWORD# /u:DOMAIN\USERNAME
    De opdracht is voltooid. (SUCCES)

    Can someone point me in the right direction?

    Wednesday, November 28, 2012 2:39 PM

Answers

  • Hi,

    Thanks for your post.

    Firstly, we need to ensure that the VPN client has assigned a correct DNS/WINS server address. Meanwhile, the DNS resolver on the VPN client must be able to append a DNS suffix to the computer name before sending the name for resolution. if you use DNS to resolve the host name of the server, make sure the record was listed. If you are query NetBIOS name, you need to use WINS server.


    Best Regards,
    Aiden


    Aiden Cao
    TechNet Community Support

    • Proposed as answer by Aiden_Cao Wednesday, December 5, 2012 2:05 AM
    • Marked as answer by Aiden_Cao Friday, December 7, 2012 4:13 AM
    Tuesday, December 4, 2012 5:41 AM