VPN disconnects after several hours, can't reconnect until PC reboot.


  1. Posts : 4
    Windows 7 64bit
       #1

    VPN disconnects after several hours, can't reconnect until PC reboot.


    Hi, I registered here because I'm having a problem with VPN on Windows.

    I started using a private VPN for video gaming in general since last month, but I've started running into a problem I cannot fix... my PC tends to disconnect from the VPN after a while (6~12 hours of use?) and I can't reconnect to any VPNs until I reboot my PC.

    However.. my normal internet connection works fine... at least it seems to be OK.

    When I try to reconnect to the VPN after I get dropped, I'm welcomed by this error:



    I'm on Windows 7 64bit and I use the default windows VPN client... idk what's it called, it's what you setup in the network and sharing center.

    I've tried the following things:
    *restart network adapter
    *diagnose the issue with windows 7 network diagnostics
    */flush DNS cache
    */release and /renew lease
    *reset internet connection
    *using a neighbor's internet connection and I'm still unable to connect to any VPN until PC reboot.

    -- diagnosing the wireless adapter after the disconnect from VPN happens leads to this...
    http://puu.sh/bibQs/9873c02068.png
    http://puu.sh/bibn7/93ec6f0934.png
    http://puu.sh/biboF/3c9f865f15.png
    http://puu.sh/bibpw/b204c59f01.png
    http://puu.sh/bibq9/a10d3246d1.png

    I cannot repair it through diagnostics.

    Anyway, it's a problem on my end because I share the VPN with 2 other friends and they don't experience this problem... >_<

    If there's any information missing, please tell me and I'll provide.

    Thank you for any help!

    EDIT: adding some important stuff I forgot.
    Last edited by Acrylic; 02 Sep 2014 at 06:26.
      My Computer


  2. Posts : 4
    Windows 7 64bit
    Thread Starter
       #2

    Bump. Still haven't found a solution, yet.
      My Computer


  3. mtp
    Posts : 96
    Server 2012 R2, Windows 8.1 , W7 ultimate x64
       #3

    This may be related to a problem that i used to get when trying to reestablish a dropped vpn connection.

    The vpn connection is actually made by a program called rasdial.exe I don't remember all of the specifics, but IIRC, when you try to establish a VPN connection rasdial.exe is called. It (Rasdial) checks with the network services to see if the connection can be made, and if so, it retries it. My problem seemed to be that the Network List Service never got notification that the VPN connection had been dropped, so rasdial then failed because it got message that the connection was already active.

    To make a long story short(er), i got around this by the most part by shutting down and restarting the following network services.

    Network Connections
    Network List Service
    Network Location awareness.


    This worked most of the time, but is an ugly solution that (temporarily) broke network access during the service restart. Eventually, I ended up setting a vpn from router to router and bypassed the windows vpn system altogher.
      My Computer


  4. Posts : 4
    Windows 7 64bit
    Thread Starter
       #4

    mtp said:
    This may be related to a problem that i used to get when trying to reestablish a dropped vpn connection.

    The vpn connection is actually made by a program called rasdial.exe I don't remember all of the specifics, but IIRC, when you try to establish a VPN connection rasdial.exe is called. It (Rasdial) checks with the network services to see if the connection can be made, and if so, it retries it. My problem seemed to be that the Network List Service never got notification that the VPN connection had been dropped, so rasdial then failed because it got message that the connection was already active.

    To make a long story short(er), i got around this by the most part by shutting down and restarting the following network services.

    Network Connections
    Network List Service
    Network Location awareness.


    This worked most of the time, but is an ugly solution that (temporarily) broke network access during the service restart. Eventually, I ended up setting a vpn from router to router and bypassed the windows vpn system altogher.
    Thank you for the reply, a lot of helpful information here.

    My VPN connection dropped 1 hour ago, so I tried what you suggested.

    These couldn't be shut down:
    Network List Service
    Network Location awareness

    It denied me because it said some processes relied on them. Should I just close those processes and try again?

    I'll see about trying this again next time my VPN connectivity dies again.

    Cheers.
      My Computer


  5. mtp
    Posts : 96
    Server 2012 R2, Windows 8.1 , W7 ultimate x64
       #5

    I looked back to see how I actually did it. I issued the following commands in a batch file (run with administrative privileges).

    net stop netprofm
    net start netprofm
    rasdial <connectionName> <userid> <password> /domain:<domainname>

    Replace <...> with your own values


    Note - net stop netprofm stops the net list service cleanly ...

    Good Luck

    Mark
      My Computer


  6. Posts : 4
    Windows 7 64bit
    Thread Starter
       #6

    Thank you for your reply, it's appreciated. I tried it via batch file and manually doing it through command prompt with no luck. Here's a pic of it manually typed in command prompt;


    Batch file doesn't show an error-- I guess it auto closes after the rasdial command is completed. Both methods failed to connect.

    Got any ideas as to why this isn't working? I don't mind having to restart my PC every 12~15 hours, but it'd be nice if there's any other way to avoid it because my PC isn't very fast at booting up. >_<

    Setting up the VPN through my router wouldn't be a good idea because I don't live alone and the server I use can't access some websites.

    Thank you!
      My Computer


  7. mtp
    Posts : 96
    Server 2012 R2, Windows 8.1 , W7 ultimate x64
       #7

    Ok - your problem seems to be different than the one I had. You are getting the same error (619) after restarting the services so this is not the problem.

    I assume you are trying to set up a pptp vpn. If so, please check that your firewalls (modem/router and windows) are allowing TCP port 1723 and GRE protocol 47 through (pptp passthrough is enabled in your router). As a test, try disabling your firewalls and see if you can reconnect.
    Last edited by mtp; 09 Sep 2014 at 03:16. Reason: typo
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:28.
Find Us