Results 1 to 9 of 9

Thread: Connecting PPTP VPN causes authentication failures on local resources

  1. #1
    Graham Guest

    Connecting PPTP VPN causes authentication failures on local resources

    Hello All,

    We are having a lot of problems with Windows 7 (and previously Vista)
    while a PPTP vpn is connected.

    I have noticed a lot of issues posted to other discussion groups
    regarding the same problem, but nobody has a solution.
    http://www.techsupportforum.com/netw...connected.html


    We are running an Active Directory Domain, and have mapped network
    drives to our local resources. We support a lot of clients, and have to
    VPN to their network. When this VPN is connected, it appears to start
    trying to use the VPN credentials to access our local resources (rather
    than the logged on user) - making them unusable!

    I have tried mapping the network drives to the local resources and
    specifying a password, but this does not work. (well it does, but the
    next time a VPN is connected it is broken again)

    We are mapping drives using the netbios name.

    Can sombody a Microsoft please confirm this is a bug - or provide us
    with a fix?

    Thanks for the help.

  2. #2
    Bob Lin \(MS-MVP\) Guest
    Perhaps, the TCP/IPv4 is not enabled on the VPN connection or a Domain Name
    System (DNS) suffix cannot be obtained for the TCP/IPv4 address. Please
    check the "Can't access domain resource when establishing a VPN from Vista"
    in this page.


    Vista VPN IssuesFeb 8, 2007 ... Can establish VPN using XP but Vista · Can't
    access domain resource when establishing a VPN from Vista · Can't access

    In this case, do a simple test. can you access local resources using a local
    administrator account?

  3. #3
    Graham Guest

    Re: Connecting PPTP VPN causes authentication failures on local resources

    Thanks for the reply - access the resources on the other end of the VPN
    is fine. It is my local resources that cannot be accessed if I connect a
    VPN that uses different credentials to my local domain account. this is
    not a DNS issue as i can still ping the server,etc.

  4. #4
    Bill Kearney Guest

    Re: Connecting PPTP VPN causes authentication failures on local resources

    You do have the default gateway turned off over the VPN, correct?

    When you have the machine running and NOT connected to the VPN, do a 'route
    print' command.

    Then run the same 'route print' command after making the VPN connection.

    Also check the results of an 'ipconfig /all' for each connection.

  5. #5
    Graham Guest
    This is not an issue with the connectivity - it is an authentication
    problem. When i connect a VPN with credentials other than my own, it
    does not allow access to mapped network drives

    Yes this will work, because if I disconnect my mapped drive then
    reconnect it, specifying alternative credentials - in this case I use my
    own), it does work. (Until i connect another VPN!)

    You did not answer my questions. Do that. Did you think I was posting just
    to see my text?

    Connectivity, specifically THE IP ROUTING is absolutely relative.

  6. #6
    Craig Guest

    Re: Connecting PPTP VPN causes authentication failures on local re

    I'm having the exact same problem, -- no it isn't a default route issue. I
    have default gateway turned off on the VPN connection, my default gateway
    doesn't change when I VPN in.

    When establishing a VPN connection to another Windows domain network, you
    lose access (not connectivity) to your own network this is usually not
    immediate, I've seen it happen up to 9 hours later if you remain VPN'd in.

    I know when it happens even if I'm away from my PC because our office
    intrusion detection system starts lighting up -- The local domain controllers
    report 4 unsucessful login attempts every 10 minutes (security log event ID
    529 Login Failure: Unknown user name or bad password. In the description it
    shows that the local is trying to pass the VPN credentials to the local
    domain controller instead of remembering to send the local domain credentials.

    As Graham has stated -- this is NOT a routing issue, I don't even think it's
    a DNS issue since the PC knows which domain controller to send the
    authentication request to, it just sends the VPN credentials instead of the
    local domain credentials.

    After disconnecting the VPN session, the PC is able to sucessfully
    authenticate without further intervention (you don't need to re-enter your
    credentials, log off, or disconnect/reconnect your mapped drives.

  7. #7
    big joe smith Guest

    Re: Connecting PPTP VPN causes authentication failures on local re

    Yes, I am having the same issue. I have a windows 7 pro machine connected
    to a local Windows Server 2008 R2 domain. As soon as I make a vpn connection
    from the windows 7 machine to a remote domain (using different credentials
    than my local logon), all attempts to access local resources are made using
    the credentials associated with the vpn, rather than the default, local,
    logon credentials.

    In other words, my local credentials are [domain1\user1, password1] and
    access to local resources in domain1 are just fine. However if I establish a
    vpn with credentials [vpndomain\vpnuser, vpnpassword], then those vpn
    credentials are used for local access attempts until the vpn is torn down (or
    unless I explicitly use my local credentials in local access attempts).

  8. #8
    big joe smith Guest

    Re: Connecting PPTP VPN causes authentication failures on local re

    The clearest discussion of the issue is at

    This is a change in behavior for Windows 7 and Vista over XP. XP would pass
    the VPN credentials to SMB authentication only to machines over the VPN.
    Windows 7/Vista will use the VPN credentials for all SMB authentication
    requests, both local requests and for machines over the VPN.

    This behavior seems somewhat counter-intuitive.

    Suggested work-arounds (with limitations) include
    1) using fully qualified domain names for access to local resources
    or
    2) "cmdkey /delete /ras" from a command prompt.

  9. #9
    big joe smith Guest

    Re: Connecting PPTP VPN causes authentication failures on local re

    Ok, one other work-around is to disable the use of VPN credentials on the
    "phonebook" entry for the VPN. This will prevent the credential manager from
    storing the credentials used for the VPN, and thus when an ambiguous
    resources (non-fully qualified domain name) asks for credentials, instead of
    supplying the VPN credentials (which are not stored), the local credentials
    will be used.

Similar Threads

  1. Replies: 1
    Last Post: 22-05-2011, 03:41 AM
  2. PPTP VPN Configuration
    By Maddy07 in forum Networking & Security
    Replies: 5
    Last Post: 21-08-2010, 06:29 AM
  3. Replies: 4
    Last Post: 17-03-2010, 01:36 PM
  4. VPN - PPTP vs L2TP
    By Russella in forum Windows Server Help
    Replies: 5
    Last Post: 04-02-2009, 09:05 PM
  5. Accessing LOCAL resources via DNS alias (CNAME) on W2k3
    By Roger Lindholm in forum Windows Server Help
    Replies: 0
    Last Post: 01-06-2006, 05:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,869,641.08351 seconds with 17 queries