|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Jun 2005
Posts: 40
|
Batch Command help - Enable/Disable LAN
Hey Guys,
I have a user that has both a wired and wireless connections, from 2 different providers. When they need to check their email (outlook 2k7), it tries to use the wired connection by default. Outlook does not let me specify which connection to use, so instead of having the user disable and enable the connection manually each time they want to check email, I think I can do that for them with a .bat command. I did some googling and found some suggestions, but nothing is working yet. The command: "netsh interface set interface "Local Area Connection" admin=DISABLED connect=DISCONNECTED newname="Local Area Connection"" ...fails...but is as close as i have came to a working solution. Does anyone have any suggestions on the .bat command syntax? Or a better solution I havent thought of? Thanks |
|
|
|
|
|
#3 |
|
I like me
Join Date: May 2007
Location: Tejas
Posts: 7,332
|
Is this the same issue as: http://forum.pcmech.com/showthread.php?t=189282
__________________
It's coming....just you wait. |
|
|
|
|
|
#4 |
|
Member (6 bit)
Join Date: Jun 2005
Posts: 40
|
The same user
. We've solved the issue from it not working on a certain domain. What I'm trying to do is keep the user from having to manually disconnect and reconnect the wired connection to check email.I should have also mentioned that we do not use DHCP, so it doesnt look like that will work. |
|
|
|
|
|
#5 |
|
Member (6 bit)
Join Date: Jun 2005
Posts: 40
|
thanks to another suggestion, i was able to solve this problem with a static route...which worked out even better.
thanks |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| On board LAN and DSL connection | larry38 | Networking & Online Security | 14 | 03-04-2007 03:37 PM |
| How to set up computers to boot from LAN ?? | WSW | Networking & Online Security | 7 | 03-20-2004 09:15 AM |
| ASUS A7V600 - cannot find Gigabit Lan in XP | KLIKitY | Computer Hardware | 5 | 01-15-2004 01:07 AM |
| BIOS upgrade, LAN lost | Panama Red | Networking & Online Security | 0 | 06-09-2003 02:00 PM |
| 'Create a one-line batch file ..' How? | Parangles | Windows Legacy Support (XP and earlier) | 3 | 06-04-2003 07:21 PM |