What is the best way to configure multiple NICs in Windows 7?

Multiple NICs in each PC. One NIC is used for Internet. IP's assigned by the DHCP server. Second NIC is used to access applications/programs.Static IP's are manually assigned.  The problem, I must disable one in order to use the other. They both can't be enabled at the same time.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MAK_peeyah_otaHAuthor Commented:
Neil RussellTechnical Development LeadCommented:
Why can they not be enabled at the same time?
I'm not sure why you can't have them enabled at the same time unless you have a routed network on the inside where you need the gateway to be defined and having both NICs enabled at the same time causes routing issues.

But, here is a something you can put into a batch file to enable or disable whichever NIC you want to (i.e. one batch file to disable the Internet NIC and then enable the Intranet NIC and another batch file to go the other way).

netsh interface set interface "<InterfaceName>" DISABLED
netsh interface set interface "<InterfaceName>" ENABLED


Batch file 1:
netsh interface set interface "Internet Connection" DISABLED
netsh interface set interface "LAN Connection" ENABLED
ECHO Internet connection disabled, Intranet connection enabled

Batch file 2:
netsh interface set interface "LAN Connection" DISABLED
netsh interface set interface "Internet Connection" ENABLED
ECHO Intranet connection disabled, Internet connection enabled

Hope this helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If you are looking for a way to keep both NICs enabled at the same time, please explain what doesn't work when both are enabled. Also, please give a description of your internal network (used for applications) setup so we can tell if there is a reason why both NICs can't work at the same time.
David Johnson, CD, MVPOwnerCommented:
they must be on different subnets
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.