Solved

where is the status of the Shared Internet Connection kept?

Posted on 2004-09-08
4
197 Views
Last Modified: 2008-03-06
I connect to the internet with various dial-up connections with WIN2k. I want to share the connection to my LAN. The way to achieve this, is enabling the Shared Property of the Dial-up Connection i use.

My question is: Where is this info kept? Is there any file or any Registry key, which contains the Dial-up Connection which i last chose to be shared over my LAN?

Alternative question: Can i change the Shared Dial-up Connection from one to another by command line, without having to click the enable sharing of the Connection Properties??

Thanks in adnvance!
0
Comment
Question by:Faynman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 41

Expert Comment

by:stevenlewis
ID: 12012223
>>Alternative question: Can i change the Shared Dial-up Connection from one to another by command line, without having to click the enable sharing of the Connection Properties??

In short..... no
0
 

Author Comment

by:Faynman
ID: 12021793
When I say command line, I mean generally an automatic way, to avoid the clicking...

The answer to the first question gives the answer to the alternative one, too... cause if there is a file or registry key (or something else) which has the info of the sharing connection, then the developing of an application which will change this value is very simple.

Any ideas?
0
 
LVL 41

Accepted Solution

by:
stevenlewis earned 125 total points
ID: 12022260
0
 

Author Comment

by:Faynman
ID: 12040152
Thanks for the links!

The registry key is:
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\SharedConnection

Its value is a binary format of the name of the connction which is currently shared...

Keep up good searching, StevenLewis!

Thanks again!

0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
An article on effective troubleshooting
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question