Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

where is the status of the Shared Internet Connection kept?

Posted on 2004-09-08
4
Medium Priority
?
198 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 250 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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Resolve DNS query failed errors for Exchange
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

704 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