Click here to Skip to main content
15,905,508 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: WinXP IIS maximum connections number Pin
Mekong River15-Oct-04 6:00
Mekong River15-Oct-04 6:00 
GeneralRe: WinXP IIS maximum connections number Pin
Roger Wright16-Oct-04 21:10
professionalRoger Wright16-Oct-04 21:10 
GeneralRe: WinXP IIS maximum connections number Pin
Mekong River17-Oct-04 15:03
Mekong River17-Oct-04 15:03 
GeneralRe: WinXP IIS maximum connections number Pin
Mekong River15-Oct-04 5:57
Mekong River15-Oct-04 5:57 
QuestionCan be a service made as invisible in SCM Pin
PSManjunath14-Oct-04 5:33
PSManjunath14-Oct-04 5:33 
AnswerRe: Can be a service made as invisible in SCM Pin
Vasudevan Deepak Kumar18-Oct-04 23:38
Vasudevan Deepak Kumar18-Oct-04 23:38 
GeneralCreateFile, FILE_FLAG_WRITE_THROUGH and FlushFileBuffers Pin
George Ionescu13-Oct-04 22:40
George Ionescu13-Oct-04 22:40 
GeneralNetwork adapter and and file sharing configuration. Pin
daveeyb13-Oct-04 13:59
daveeyb13-Oct-04 13:59 
Hello,

I am looking for ways to script/program the following on WinXP:

1. Install a loopback adapter.

2. Configure the IP address on it

3. Rename the connection name that appears in Network Connections

4. Unbind the Windows Filesharing Service from it.

Some research revealed the following options:

1. Install loopback adapter.

- Use devcon.exe available from MS.

2. Configure IP address.

- Use WSH
- I can also edit the registry directly

3. Rename the connection.

- Find the GUID of newly installed adapter, and set HKLMSYSTEMCurrentControlSetControlNetwork{4D36E972-E325-11CE-BFC1-08002BE10318}{$GUID}Name

4. Unbind FileSharing

I ran regmon while doing this manually, and noticed that it removes the adapter GUID from the following registry keys:

HKLMSYSTEMCurrentControlSetServicesLanManServer*

However, it also changes a binary key HKLMSYSTEMCurrentControlSetControlNetworkConfig

Simply doing the first part does not result in an unchecked box in the adapter properties screen for File Sharing, so I assume the second step is also needed. However, I don't know how to generate the binary data.

----------------------

I am ok with using devcon.exe and WSH for the first two steps, and editing the registry for the third step is kinda dirty, but acceptable. It would be nice to find a cleaner method, as well as a solution for #4.

Thanks for your help!
GeneralRe: Network adapter and and file sharing configuration. Pin
Mekong River28-Feb-06 21:02
Mekong River28-Feb-06 21:02 
GeneralNetBIOS Programming in C++ Pin
Harry_Diel13-Oct-04 4:31
Harry_Diel13-Oct-04 4:31 
GeneralStored Usernames and Passwords Pin
Matt Newman12-Oct-04 10:20
Matt Newman12-Oct-04 10:20 
GeneralRe: Stored Usernames and Passwords Pin
Mekong River13-Oct-04 5:46
Mekong River13-Oct-04 5:46 
GeneralRe: Stored Usernames and Passwords Pin
Mike Dimmick13-Oct-04 12:35
Mike Dimmick13-Oct-04 12:35 
QuestionHow to change HKCU registry as the admin Pin
caykahve12-Oct-04 1:51
caykahve12-Oct-04 1:51 
AnswerRe: How to change HKCU registry as the admin Pin
Mike Dimmick12-Oct-04 2:33
Mike Dimmick12-Oct-04 2:33 
GeneralWindows XP unattended install Pin
OMalleyW11-Oct-04 7:53
OMalleyW11-Oct-04 7:53 
GeneralRe: Windows XP unattended install Pin
Mekong River7-Mar-06 12:28
Mekong River7-Mar-06 12:28 
GeneralDOS : launching an app, and waiting it is finished Pin
Jerome Conus11-Oct-04 3:16
Jerome Conus11-Oct-04 3:16 
GeneralRe: DOS : launching an app, and waiting it is finished Pin
Tim Deveaux11-Oct-04 3:36
Tim Deveaux11-Oct-04 3:36 
GeneralRe: DOS : launching an app, and waiting it is finished Pin
Jerome Conus11-Oct-04 4:58
Jerome Conus11-Oct-04 4:58 
GeneralRe: DOS : launching an app, and waiting it is finished Pin
Mekong River11-Oct-04 16:15
Mekong River11-Oct-04 16:15 
GeneralFTP problem Pin
Mekong River10-Oct-04 18:58
Mekong River10-Oct-04 18:58 
GeneralRecover password from SYSKEY command Pin
Mekong River10-Oct-04 18:53
Mekong River10-Oct-04 18:53 
GeneralNetwork card auto disable Pin
Mekong River9-Oct-04 15:49
Mekong River9-Oct-04 15:49 
GeneralFedora -- environment variables Pin
devvvy8-Oct-04 18:17
devvvy8-Oct-04 18:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.