where is the status of the Shared Internet Connection kept?

Posted on 2004-09-08
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!
Question by:Faynman
  • 2
  • 2
LVL 41

Expert Comment

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

Author Comment

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?
LVL 41

Accepted Solution

stevenlewis earned 125 total points
ID: 12022260

Author Comment

ID: 12040152
Thanks for the links!

The registry key is:

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

Keep up good searching, StevenLewis!

Thanks again!


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

896 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now