Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

Internet Connection is disconnecting when logging off

Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2005, 07:16 PM
Default Internet Connection is disconnecting when logging off



Hello,

I programmed with Visual Basic a Windows Service, which is dialing the
internet connection (a broad band dial up connection). This works perfect,
but if the administrator is logged on (and the connection is up already) the
connection is still on, but if the administrator is logging off, the
connection is terminated.
The service will dial it again.

But WHY is the connection terminating when the administrator is logging off?
I hope the English newsgroup can help me more then the bad German newsgroup.

Thanks!


Markus Schuhmacher
Reply With Quote
  #2  
Old 12-11-2005, 05:40 PM
Frankster
Guest
 
Posts: n/a
Default Re: Internet Connection is disconnecting when logging off

> But WHY is the connection terminating when the administrator is
> logging off?


There is a registry entry that determines if the dialup connection will be
maintained through logons/logoffs. It's a simple matter of changing the
value from 0 to 1 (or 1 to 0). I've been looking for it just now and can't
find it. I believe it is associated with RAS or RRAS. If I find it, I'll
post here. Meanwhile, you might want to look yourself. It's been a long
time since I dealt with this. The key is phrased so you will know. Something
like MaintainDialupafterLogoff or some such. You will know if you see it,
although I can't remember the real key name.

-Frank


Reply With Quote
  #3  
Old 12-12-2005, 09:56 AM
Markus Schuhmacher
Guest
 
Posts: n/a
Default Re: Internet Connection is disconnecting when logging off

Hello Frank

> There is a registry entry that determines if the dialup connection will be
> maintained through logons/logoffs. It's a simple matter of changing the
> value from 0 to 1 (or 1 to 0). I've been looking for it just now and can't
> find it. I believe it is associated with RAS or RRAS. If I find it, I'll
> post here. Meanwhile, you might want to look yourself. It's been a long
> time since I dealt with this. The key is phrased so you will know. Something
> like MaintainDialupafterLogoff or some such. You will know if you see it,
> although I can't remember the real key name.


Many thanks. Yes, this simple registry key solved the problem.
(HKLM - Software - MS - Windows NT - CurrentVersion - Winlogon)
There you must add a key. KeepRasConnectionsAlive or something like that,
Reply With Quote
  #4  
Old 12-12-2005, 06:20 PM
Frankster
Guest
 
Posts: n/a
Default Re: Internet Connection is disconnecting when logging off


"Markus Schuhmacher" <(E-Mail Removed)> wrote in
message news:0B43A710-0225-4E8F-BCDA-(E-Mail Removed)...
> Hello Frank
>
>> There is a registry entry that determines if the dialup connection will
>> be
>> maintained through logons/logoffs. It's a simple matter of changing the
>> value from 0 to 1 (or 1 to 0). I've been looking for it just now and
>> can't
>> find it. I believe it is associated with RAS or RRAS. If I find it, I'll
>> post here. Meanwhile, you might want to look yourself. It's been a long
>> time since I dealt with this. The key is phrased so you will know.
>> Something
>> like MaintainDialupafterLogoff or some such. You will know if you see it,
>> although I can't remember the real key name.

>
> Many thanks. Yes, this simple registry key solved the problem.
> (HKLM - Software - MS - Windows NT - CurrentVersion - Winlogon)
> There you must add a key. KeepRasConnectionsAlive or something like that,


Yes, now I found it on my 2003 server:-) "KeepRasConnections" Value 1. I
have a dialup backup for my Internet connection installed on my W2K3
firewall machine, during the installation of the firewall (as an alternate
interface), the firewall software automatically created it.

Years ago... with NT, I had to do it manually.

Glad you got it.

-Frank


Reply With Quote
Reply

Tags
connection, disconnecting, internet, logging

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.