David,
I type...
netsh interface show interface
cmd...
Admin State State Type Interface Name
-----------------------------------------------------
Enabled Dedicated Wired
etc...
I type...
netsh interface set interface name={Wired} admin=enabled
connect=disconnected
cmd...
An interface with this name is not registered with the router.
What do you think?
Lardy.
Link 4
Try this,
netsh interface show interface
Then copy/paste the Dedicated Interface name into the following line...
netsh interface set interface name={IFName} admin=enabled
connect=disconnected
I was trying this myself and got The Network path was not found. I've never
had much luck with Netsh, nor do I know of a way around it to do what you
want. I'll keep an eye out tho.
and
Try Devcon:
http://support.microsoft.com/defaul...port/kb/articles/q311/2/72.asp&NoWebContent=1
Link 9
How to enable and disable the network connection
To enable/disable the network connection to local computer, go to
administrative tools>services, start/stop server service. To enable/disable
the network connection to remote computers, start/stop workstation service.
You may want to use task schedule to enable/disable it automatically.
How to enable/disable LAN from command line temporally
You can created a batch file that include ipconfig /release or ipconfig
/renew, and use schedule to run it. If you use static IP, you may use netsh
instead of ipconfig command. If you want to one way access, you may manage
it by using server service and workstation service.
I don't have a network card so I haven't tested any.