Select your font size 
 
about us products & services consulting & support news & events contact us
Kyle Jones explains how to use a Windows XP command-line device control mechanism to quickly and conveniently change network settings. To illustrate this interface, he shows how to disable one network device and enable another, all in one step.

Changing network settings on Windows XP Laptops - Manitoba

print this article 
 

Kyle Jones explains how to use a Windows XP command-line device control mechanism to quickly and conveniently change network settings. To illustrate this interface, he shows how to disable one network device and enable another, all in one step.

Introduction

I run Windows XP Professional on a laptop that has both an Ethernet network card and a Wireless network card. When I am on the Ethernet I don’t need the Wireless (especially to save batteries) and when I am on Wireless I don’t need Ethernet. Also I work in many different networks and often need to change my network settings, IP, gateway, DNS, etc. Sometimes I can get that information from the network through DHCP and other times I need or want a static IP inside the network.

I looked around for software that could do this for me and I found a few but all of them cost too much money and didn’t have the interface I wanted. All I wanted was some icons to click to change the network settings. After a bit of research I found out that there were some command line tools that could help me do the changes I wanted to do. As far as I know this will only work with Windows XP; sorry to the Windows 9x users out there but I don’t know what the tools are that would let you achieve the same thing, if you know a way please use our contact form and let us know. For the sake of this howto, I will assume you have a basic knowledge of networking and Windows. You will also need to be logged in as an Administrator (This is not an issue with Windows XP Home).

Required Software

netsh a Command Line Utility that comes with Windows XP

devcon a Command Line Utility Alternative to Device Manager free from Microsoft be sure to put the executable into some place in your path (e.g. The c:\windows folder)

notepad a Windows text editor that comes with Windows

cmd the Windows Command line prompt

Step one

Create a working directory
  1. From the start menu click on “Run…”
  2. In the box type “cmd” and click the “OK” button.
  3. When the command prompt box opens up type “mkdir c:\net” and hit Enter
  4. Then type “cd \net” and hit Enter
  5. Type “devcon find lan*” and hit Enter
  6. This will list all the PCI cards on your computer. You will need to go through this list and find the id for both your Wireless card and your Ethernet card. The parts you will need will look something like this “PCI\VEN_14E4&DEV_4324” (You don’t need anything after the second &) Write down these ids for later reference.
  7. Leave this window open

Step Two

Creating Network Settings Profiles
  1. In your “Start” menu go to “Settings” and Right-Click on “Network Connections” then hit “Explore”
  2. Right Click on each of your Wireless and Ethernet connections and make sure they are Enabled
  3. Then Right Click on your Wireless and Ethernet connections and hit “Properties” Scroll down the list on this dialogue box and click on the one that says “Internet Protocol (TCP/IP)” don’t uncheck it, but hit the “Properties” button below it. Now set up that interface the way you want it for one profile. When you are done click “OK” and “OK” again to get back to the Network Connections.
  4. Now go back to the Command Prompt Window that we left open and type “netsh -c interface dump > c:\net\setup1.txt” and hit Enter.
  5. Do 3 and 4 for each network you want to set up but with a different file name.

Step Three

Creating the scripts
  1. From the Command Prompt Window type “notepad setup1.bat”. When it prompts you to create the file hit “Yes”
  2. In the file type:
    @ECHO OFF
    REM This disables a device
    devcon disable "{ID of one network card}"
    REM This enables a device
    devcon enable  "{ID of the other card}" 
    REM This loads the network 
    REM settings for both devices
    netsh -f c:\net\setup1.txt
  3. Next click “File”, “Save” and then quit
  4. Next you could create a setup2.bat that switches which devices are enabled or that loads a different network profile. Do this for as many setups as you want.

Step Four

Creating Short-Cuts to your scripts
  1. From the Command Line prompt type “explorer c:\net” and hit Enter
  2. For each “MS-DOS Batch File” or .bat file that you created drag it to your Desktop while holding Shift and Ctrl in order to create a short-cut and not just move the file.
  3. Double Click on the icons and test your setups.

Conclusion

This is not the easiest thing to set up but as you can see it can also be quite powerful and useful. If you have any comments on how we can improve this how-to please use our contact form and let us know!

Good luck!

Disclaimer

Use the information in this document at your own risk. We disavow any potential liability for the contents of this document. Use of the concepts, examples, and/or other content of this document are entirely at your own risk.

All copyrights are owned by their owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark.

Naming of particular products or brands should not be seen as endorsements.

Most Recent Website and Regional Updates

 Conditional probability
Paul Meagher gives an example of calculating conditional probability using the set enumeration method.

 
 Understanding Bayes Using PHP
Paul Meagher introduces Bayesian inference by discussing the basic mathematical concepts and demonstrating how to implement the underlying conditional probability calculations using PHP.

 

Google
 
Web transparen.com

Contact Information

Related Information

Support for Mozilla and Firefox
Transparen Corporation provides technical support for companies migrating from Internet Explorer to Mozilla or Firefox.
Supporting OpenOffice.org Office Productivity Software
Transparen Corporation provides technical support for companies migrating to OpenOffice.org
Linux and Open Source Strategy and Support
Linux provides strategic advantages and unlocks valuable new opportunities to integrate information inflows and outflows.
Remote Technical Support for North American Clients
Want computer help? Tech support can chat with you while viewing your desktop remotely. They see what you see, but you stay in control. It's easy! Just fill in your name and company, select technical support, and press the button. We're happy to help!
Remote System Administration
A master system administrator can manage hundreds of computers with ease, which means that companies with 20-30 computers and a full-time system administrator are not fully utilizing this individual's core strengths.
Business Ethics
Leadership begins with ethics. This page outlines the ethical standards of Transparen Corporation.
Confidentiality and Computers
Viruses, spyware, packet sniffers, rogue servers, and nosey cleaning staff - all pose risks to firms concerned about confidentiality, secrecy, and client privilege. How can sensitive information be effectively isolated from prying eyes and ears?
Ontario Tech Support Locations Served
Transparen provides high quality remote tech support and other services such as data recovery to the cities shown in this article.
Transparen Supports Both OpenOffice.org and Office XP
Looking to convert OpenOffice.org files into Office XP? Confused by SXW files or SXC files? Transparen can help.
Finding MySQL Databases in Lost+Found
MySQL MYD and MYI and FRM files store the table name in the file name. What if the file names are lost due to hard drive partition table corruption? Transparen can help.
Windows Support - Technical Support for Windows
Transparen provides advanced Windows support, including Windows technical support, networking, software maintenance, backups, and data recovery. We support Windows XP/2000/NT, Windows 98, Exchange, Office (Excel, Word, Access, Outlook, Powerpoint, etc.)
Data Recovery Price Phone Call Scripts
If the drive is malfunctioning - send it directly to people who have invested in knowing what to do (i.e. Transparen). Do not gradually upgrade from the lowest quality service to the highest quality service - this diminishes the chance of success.
Moving or renaming home folder
This article explains the options and process of moving or renaming an account's home folder.
Error -1309 when copying files
This article explains the cause of -1309 errors when files are copied in Mac OS X, and how to deal with them.
Unwanted Mac OS X startup modes
Dealing with unwanted startup modes
Finding the images used by the screensaver
Finding the location of the images used in the Mac OS X screensaver
Manually allocating CPU usage
Speeding up long or complicated tasks in Mac OS X
Finder or application window offscreen
Making offscreen windows visible
Transparen's Remote Tech Support Featured in Technology Inc
"Should you pay for premium tech support?" In an age when manufacturer tech support includes only the nuts and bolts, and an in-house expert can cost from $4500 per month, most small to medium businesses need to consider Transparen's service.
Repairing Macintosh disks
Repairing directory structures and recovering deleted items on Mac disks.
Unusual display settings
After a keyboard shortcut was inadvertently pressed, you may find that the computer's display settings have been changed; if this has happened, we can help you fix it.
System Preferences icon change
System Preferences icon changes to contain light switch
Lost account data
On a Mac, you might one day find that your account settings have been reset to the default, and documents are not where you expect. We can help you fix this common problem.
Invisible Volumes folder
In Mac OS X under some conditions, you may find that space is being taken up by an invisible Volumes folder and/or disk names are different in different locations. We can help you with this.
Internet Connect reminder
Disabling the Internet connection reminder
Desktop & Screen Saver pane of System Preferences quits
Deal with an issue preventing desktop and screen saver settings being changed in Mac OS X.
Busy file
If you've a download or file transfer was stopped midway through, one or more files may be left behind which the Finder still reports as being in use. We can help you delete these files.
Inexpensive Computer Support
Find out why Transparen is the premier computer support company in Canada. USA clients also welcome!
Macintosh Technical Support
Transparen provides remote technical support for Macintosh, Apple, iBook, and PowerBook.
Monthly Price for Computer Support Service
Transparen's billing is predictable and affordable. Use our automated price calculator to find the monthly price for our tech support service.
IT Services Monthly Plan (Computer Support)
Computers are not meant to be unmaintained. Transparen's IT Services Monthly Plan includes regular 10 point weekly maintenance and unlimited support.
How To Apply For a Computer Support Plan
A computer support plan aligns the customer's interests with those of the service provider, because the greatest profit comes from higher uptime.
Computer Tech Course Tutoring
Interested in learning about computers? Our tutors (tech support) can be available to help you 24 hours a day. We can be your scholastic advantage.
Windows PC Tech Support Price Calculator
Transparen offers first-class Windows PC and Linux PC tech support services based on a number of factors such as a count of supported desktops.
Monthly Contract for Computer Technical Support
We let you enforce the contract - we won't. But you can lock us in to insanely low unlimited service rates, because we offer the advantages of great skill, diligent effort, and enduring resiliance.
Monthly IT Support - What Love has to do with IT
Every business needs support, and Transparen's remotely provisioned IT support is provided with the TLC your organization deserves.
Monthly Computer Support Contract
Ask about our computer support plans, our remote technical support, our backup appliance, and the dire consequences of not receiving adequate support!
Monthly Computer Support
We offer monthly computer support with flat rate pricing, unlimited usage, and we don't tie you into a contract!
There's Only ONE Good Tech Support Company in Vancouver
Ignore the other Google results, because there's only ONE Tech Support Company in Vancouver! And our head office is in Surrey.
Advantages of Remote Desktop Support
1. You get more for less. 2. We can work when you're not using the computer. 3. Your staff will be more productive. 4. You avoid many expensive repair situations by fixing problems earlier. 5. 24/7 Support!
Remote Technical Support
Remote technical support is provided 24/7 by Transparen's staff, not only for data recovery, but also for proactive maintenance (i.e. detecting problems early, before they become disasters).
Remote Support
Transparen's remote support group provides assistance remotely and supports computer users in fixing computer problems remotely. 24/7, low-cost service.
A Message From Transparen Corporation
Canada's children need clean air. You need a working computer. Give yourself both, risk free, this Christmas, just by working with Transparen.
West Palm Beach Server RAID Troubleshooting
In an emergency, Transparen can be of assistance in server repair, raid array reconstruction, operating system rebuilds (whether Windows, UNIX, *BSD, or Linux)
Troubleshooting a RAID5 Array in Fort Lauderdale-Hollywood-Pompano Beach (Florida)
RAID5 troubleshooting, server repair, hard drive crash recovery, better backup plans, and other useful topics.
SXW to DOC Converter
Looking to convert one SXW file? Download openoffice.org. But if you want to convert a whole directory, click here.
Octel and SCO X.25 Integration Troubleshooting in Toronto Ontario
Transparen's UNIX team can assist with a variety of networking and telephony issues having to do with Octel integration, X.25 networking, SCO UNIX troubles, and Ingres db recovery.
SCO or System V or SCO OpenServer Custom Server Tech Support
Many large organizations have legacy servers which have been in service for over 10 years, and no one is left with the expertise to fix problems when they occur. Near the end of their service lives, these servers will require support sooner or later.
Emergency Server Repair in Washington MSA
In an emergency, call Transparen for rapid low-risk data recovery and server crash recovery. Specializing in data recovery, raid recovery, UNIX, Linux, Windows 2003 Server, BSD.
Phoenix - Let RAID5 Rise From Ashes
Specializing in rapid restoration of RAID5 arrays, remotely or on-site.
Server Disk Failure Orlando
If the Dell, HP, Compaq, IBM, or Other Server RAID array has failed, and business depends on high uptime and availability, contact Transparen for the best possible outcome.
IBM Server RAID Crash Suburban Maryland-D.C.
Is your IBM Server in need of repair in Suburban Maryland? RAID5 crashed? PBX Phone System down? Custom SCO server crashed? Ingres defeated?
RAID Failed, Server Crashed - Newark
If your server crashed and you need assistance in getting it back up as soon as possible, contact Transparen for immediate emergency assistance.
ServeRAID Import Configuration Failed in Jacksonville
If your serveraid import configuration has failed, take a deep breath. Call Transparen. Getting your data back depends on what you do next.
Fix RAID and Server Problems in Southern New Jersey
If your server crashes in the middle of the night, could you use our 24 hour tech support? Would you like some help reconstructing that RAID? Would you like to talk to some people who fix servers for a living?
Server Repair Technicians Serving San Antonio
When a server's down, everyone will want to know the server's in good hands. When the expertise is not available in-house, call us and we'll help.
Server RAID Tech Support for Las Vegas
North American tech support for all server configuration, recovery, and technical support issues, including RAID problems, RAID failures, RAID recovery, Linux, UNIX, and Windows Server operating systems in Las Vegas.
RAID Recovery in Riverside-San Bernardino
Transparen specializes in complex RAID recovery for high-end servers. In addition, Transparen's specialists can assist with the aftermath of a server crash.
Unix Server Repair in Atlanta
Transparen specializes in all kinds of Unices, from Linux, to SCO, to Solaris, to whatever type of UNIX you may find in the typical organization.
Remote Computer Support is Provided in These Cities
Transparen provides tech support to major centres in the USA, and remote computer support to all Internet-connected locations in the United States of America.
Computer Tech Support and Repair in Tennessee
Tennessee computers, all brands, printers and other peripherals, software and file system corruption, viruses, spyware, adware, browser hijackers, malware.
IT Doesn't Need to Pollute As Much as Oil & Gas
It's not that IT is less important than the black gold. It's just that IT tech support can be cleaner, more environmentally friendly, kinder and gentler on the environment. So why shouldn't we pass those environmental savings on to our customers?
Vision of an Environmentally Friendly Lifestyle
Imagine being able to collaborate with the office staff while working from home, avoid stress, go jogging at a certain time, walk to the grocery store, not need cars, and be able to live comfortably with no major debts.
Our Competition is Fast and Furious.
We're simple and efficient. While they're driving to you, we're solving the problem. For the cost of their driving fee, we can help you for a whole month.
Our Tech Support Has Lower Environmental Impact Than On-Site Tech Support
You save: cost of gas, office space, car maintenance, time, money, environmental impact. No matter which way you slice it, Transparen's Tech Support Service is the way to spend your IT Tech Support dollars and cents.
Remote Tech Support For Grandpa or Grandma
For $45/month, you can help Grandma or Grandpa even if they're 3000 miles away. If you're not around, we provide UNLIMITED support too!
Computer Repair
We can fix your computer remotely using screen sharing. That part's easy. The hard part is that we've found really great staff to do the support.
Home Network Setup
Our technicians are well-versed in the ways and methods of creating great home networks. In a pinch? Contact Transparen and we're sure you'll like our service.
Computer Support Businesses in Canada
Ignore the other google results. There is only ONE computer support business in Canada, and that's Transparen.
Monthly Computer Support Plans
Our monthly computer support plans are simple, easy to understand, and they scale to any size of business. For sole-proprietor and large businesses, our tech support offer will save you money and deliver value.
Remote Computer Repair in West Vancouver
Suppose that you're in West Vancouver, and Transparen is in Surrey; can we fix your computer? You betcha! Probably faster than you might think!
Remote Desktop Assistance vs. On-site Support
On-site Support is almost never cost-effective. Remote Support is the ideal option for business, especially to save money and receive great service. Doesn't sound like a balanced opinion, but it's true.
Building a Service-Oriented Technology Consulting Company
Imagine calling a tech support line and reaching a human being - not a scripted one - who could solve your tech support issue on the spot.
High Availability vs. High Uptime
Availability is easier to manage than uptime, because uptime has to do with one computer, which might fail, whereas availability has to do with the service, which might be spread across many computers, networks, and power grids.
Transparen's Experience in Web Hosting
Web hosting applications often require extreme uptime. Server hardware comprises one part of how to obtain this level of uptime.
System Administration Computer Support
Transparen works closely with qualified clients to develop robust system administration procedures to minimize downtime, emergency response times, and costs...
Computer Support and Repair Shop Partnership Program
Computer support and repair shops can obtain better profitability by concentrating on what they do best. Perhaps it is selling, and perhaps it is service. Perhaps it is both.
Added Value Tech Support Plans for Entrepreneurs and Computer Support Consultancies
You can't be there all the time - but if you partner with Transparen, then you'll have a useful team of cooperative and highly skilled technical support people behind you, so if you take an hour off, your clients will still be supported.
Software Maintenance Contracts
Transparen provides software maintenance contracts, to ensure that new software is installed and updated regularly and professionally.
Windows Troubleshooting Services
Several situations warrant an immediate call to Transparen Corporation for computer support and repair.
15 Minute On-Site Vancouver Office Network Support
Clients with SLAs in downtown Vancouver benefit from speedy on-site network support for their office Microsoft Windows-based networks.
OpenOffice.org Bug Fixing For Corporations
Transparen's programmers can utilize the Open Source nature of OpenOffice.org to provide Enterprise-specific functionality or essential bug-fixes. Open Source enables the enterprise to improve software quality and get business features sooner.
VNC - Virtual Network Computing
Sharing desktops between several people can help defray costs, including technical support, system administration, hardware and software.
Backup Service in Surrey BC
Transparen Corp. can help you protect your data. Are you ready for your next hard drive crash?
Factors Affecting Internet Speed
The speed of information delivery over the Internet is a function of a complex digital Supply Chain, the aggregate speed of which is limited to the speed of the slowest component.
Software and Hardware Configuration
Ensuring that software and hardware have been configured correctly may be tricky. Why not outsource that to experienced systems administrators such as those provided by Transparen?
Technical Support Services for Slackware
Transparen Corporation supports Slackware-based Linux projects as part of our service offerings.
Software License Management and Assurance
Keeping track of software licenses belongs in the realm of corporate accounting and assurance. Prepare for the inevitable software audit by ensuring that the appropriate documents have been prepared early.
Support for Windows NT, 2000, and XP
Corporate networks require stable operating systems - and for many, this means Windows NT, 2000, or XP have become standard.
Windows Networking
Networking office computers creates a more productive environment. Essential services include file sharing, email, Internet, free-busy scheduling, and usually a few pieces of specialized software.
Windows Scripting
Windows scripting consultants - fast, reliable service.
Windows 98 Support
Certain problems occur more frequently on Windows 98, compared to Windows XP.
"Do IT yourself" Computer Support Inappropriate for Many
Many people experience problems with their computers, as well as with programs or network components. Figuring out where the problems are is often best left to Transparen.
Restrict Firefox for Corporate Environment
Firefox and its cousin Mozilla can be configured to prevent certain actions from taking place. With a little help, your corporation can have a secure, stable browser.
Performing Backups from the Command-line
Transparen can help you or your company create a batch file to perform backups.
  Winnipeg
Portage la Prairie
The Pas
Flin Flon
Brandon
Churchill
 
 
E C M | © 2003-2007 Transparen Corp.      

Standardized Services: Data Recovery Service / Creative Services / Premium Web Hosting Services / System Administration Tech Support Services
Recent Projects: Full-Service Mortgage and Financing Company / System to manage flights from Vancouver to Tofino / Photo exchange verification service
Our Vancouver BC Server Proudly Hosts: automated parking and revenue control systems, leafside lane at southlands, cost effective alternative power sources, the photo genie, pacific forage bag supply, sunburst medical, neosonic design, roger mahler photography - passionate, intriguing, desirable, the connection between east and west, affordable flights to victoria and tofino, low interest mortgage brokers in vancouver, richmond, surrey, toronto, mortgage brokers in calgary
Winnipeg, Portage la Prairie, The Pas, Flin Flon, Brandon, Churchill