Trying to post again (does anyone from MS read these posts?)

  • Thread starter Thread starter Freddy Ben-Zeev
  • Start date Start date
F

Freddy Ben-Zeev

Does anyone (maybe from Microsoft) have a solution to the following problem:

I need to have LAN support in my target (which managed to add with no
problems) - but it should be disabled by default. The disabling should be
the same as if I right-click on "Local Area Network" icon and select
"Disable" - so that the user can later (using same method) re-enable the
network easily. I'd prefer to disable the LAN from TD, but a VBS script that
runs during FBA, or during first boot after FBA, is also acceptable.

Thanks

Freddy
 
I don't know the answer, I'm not a net expert, but I'd start by looking at
Netsh.

Good luck.
--
Andy

This posting is provided "AS IS" with no warranties, and confers no
rights.
=====================================================
 
I don't think Netsh supports disabling LAN interfaces.

However, there is always a programmer's way - either to use a net API to
change the status of LAN connection or cleaning/restoring registry values
for a particular (LAN) interface under
[HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces].

KM

AAM> I don't know the answer, I'm not a net expert, but I'd start by
AAM> looking at
AAM> Netsh.

AAM> Good luck.
AAM> --
AAM> Andy

AAM> This posting is provided "AS IS" with no warranties, and confers no
AAM> rights.
AAM> =====================================================

AAM> problem:
 
Have a look to bindview (DDK). I think you can strip that example to
bind/unbind a specific protocol to an adapter (but you need admin
permissions....)

Jörg
 
Back
Top