Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

02 Sep 2014   #1
Acrylic

Windows 7 64bit
 
 
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.


My System SpecsSystem Spec
.
03 Sep 2014   #2
Acrylic

Windows 7 64bit
 
 

Bump. Still haven't found a solution, yet.
My System SpecsSystem Spec
04 Sep 2014   #3
mtp

Server 2012 R2, Windows 8.1 , W7 ultimate x64
 
 

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 System SpecsSystem Spec
.

05 Sep 2014   #4
Acrylic

Windows 7 64bit
 
 

Quote   Quote: Originally Posted by mtp View Post
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 System SpecsSystem Spec
07 Sep 2014   #5
mtp

Server 2012 R2, Windows 8.1 , W7 ultimate x64
 
 

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 System SpecsSystem Spec
08 Sep 2014   #6
Acrylic

Windows 7 64bit
 
 

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 System SpecsSystem Spec
09 Sep 2014   #7
mtp

Server 2012 R2, Windows 8.1 , W7 ultimate x64
 
 

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.
My System SpecsSystem Spec
Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Network drive disconnects and can't reconnect (without server reboot)
Good afternoon all, I'm having the following problem with some PCs on a domain at work (and the "official" admin is a bit puzzled too, let alone me, the "unofficial" local admin :-) ). The scenario: there are a few PCs (with either Windows 7 Pro or XP Pro) with networked drives which point to a...
Network & Sharing
Network disconnects when computer sleeps & wont reconnect
Hello. My computer's internet disconnects when I put it to sleep, as if I hit the disconnect button. When I restart it, I have to manually reconnect to my network, and it takes quite a long time. It says "this is taking longer than usual." Before this happened, I had an issue where the internet...
Network & Sharing
System grows slower over several hours, then I have to (force) reboot
This began about 5 days ago. System ran well until then. Had performed several updates (Windows Security, Citrix, Lenovo Utilities, etc) within iin a day or so, noticed system getting slower and slower to the point where it was so painful I had to reboot, occasionally by forcing power off....
Performance & Maintenance
Wi-Fi does not reconnect after login / sleep / reboot
Wi-Fi does not reconnect after login / sleep / reboot. It always prompts me for the password. In "Manage Wireless Networks", it is set to "Automatically Connect". But somehow Windows "forgets" the password. I'm running Professional x64.
Network & Sharing
Networked Drives don't reconnect on reboot
I have two XP machines as well as my dual-booted (XP Pro SP3/ W7 RC 7100) laptop - whenever I reboot my W7 system it fails to reconnect the mapped network drives. XP reconnects them without fail. The only way I've found round it is to change the workgroup name, change it back and reboot -...
Network & Sharing
WLM 2009 auto reconnect after internet reconnect
Hello, I have recently upgraded from XP to W7 Home Premium and ever since I have installer WLM if my internet connection drops WLM shows the countdown timer for auto reconnect, this timer counts down to 00 then doesn't even try to reconnect, the timer just starts counting down again, I never had...
Software


Our Sites

Site Links

About Us

Find 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 03:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App