Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-19-2007, 10:36 AM   #1
Member (6 bit)
 
Brad-'s Avatar
 
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
Brad- is offline   Reply With Quote
Old 11-19-2007, 11:56 AM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
You might look here
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 11-19-2007, 12:20 PM   #3
I like me
 
shadowpr's Avatar
 
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.
shadowpr is offline   Reply With Quote
Old 11-19-2007, 01:12 PM   #4
Member (6 bit)
 
Brad-'s Avatar
 
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.
Brad- is offline   Reply With Quote
Old 11-20-2007, 08:11 AM   #5
Member (6 bit)
 
Brad-'s Avatar
 
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
Brad- is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 04:34 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2