Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

where is the status of the Shared Internet Connection kept?

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
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…

885 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