Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can any one tell me a command line utility to connect to a wireless network in Windows XP. I cannot use netsh wlan as this is not supported in XP. Is there any open source command line utility tool . We need this for our automation .

Regards, Mithun

share|improve this question
Your previous question was migrated to You should go there for the answer.… Do not post duplicates. – Dennis Williamson Feb 24 '10 at 18:29
it is not a duplicate . am asking is there any other command line tool ? Please see the diff. – user26202 Feb 25 '10 at 4:38
+1 for the question as this was an annoying problem we solved in our imaging/deployment process. – jscott Mar 15 '10 at 20:09

Aruba Networks publishes a free [beer and speech] utility named WCZ Auto Provision. The tool can add and remove wireless network configurations silently from the command line. There are XP and Vista versions available.

share|improve this answer
I used this tool .But how do I connect after adding wirelss network configuration in Win XP – user26202 Oct 4 '10 at 9:51
@user26202: I'm not sure what you're asking. WCZ Auto Provision will add wifi network configurations, Windows will automatically connect to these networks when in range. – jscott Oct 4 '10 at 10:40

Sure, you can do this with a utility called DevCon. Per the web site:
"The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. DevCon also provides information that is relevant to the driver developer and is not available in Device Manager.

You can use DevCon with Microsoft Windows 2000, Windows XP, and Windows Server 2003. You cannot use DevCon with Windows 95, Windows 98, or Windows Millennium Edition."

File available from:

You can test to see if it works, you can type 'devcon help'.

You'll have to do some reading on the site, but it's fairly easy to figure things out.
I would post more links but I'm a new user, and i don't have enough reputation to do so.

share|improve this answer
devcon allows you to enable or disable devices but it does not allow you to configure or join wireless networks. – jscott Mar 15 '10 at 20:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.