Solved

where is the status of the Shared Internet Connection kept?

Posted on 2004-09-08
4
192 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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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