How enable LAN connection?

  • Thread starter Thread starter Alexander
  • Start date Start date
A

Alexander

Hallo,

could anybody tell me how to enable LAN connection
programmatically? May be there is some command
(from command line) or API function?

Thank you in advance,
Alexander
 
See if the "netsh" command helps. It might be hard to find all the methods,
but give it a try.

Arild
 
Hi, Arild,
See if the "netsh" command helps. It might be hard to
find all the methods,

Could you give me some more directions: I looked
through "netsh" help. Half of mentioned "contexts" do not
work, but among commands for others I could not find
any which fulfill needed task.

I tried all "suspected" commands but failed: they did not
influence on state of my LAN connection.

Regards,
Alexander
 
I do't think netsh will work on LAN connections. See 262265 Error Message
When You Use Netsh.exe to Enable or Disable a Network
http://support.microsoft.com/?id=262265

--

Thanks,
Marc Reynolds
Microsoft Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top