Configure SSID and WEP

M

Marty List

Does anyone know how to configure 802.11 SSID and WEP type settings from a
script? I'm trying to add wireless "preferred networks" to Windows XP, I
can't find anything on this. I've tried NETSH.EXE and WMIC.EXE, no luck so
far. I'm also open to VBS/WSH, VB, C++ or any suggestions you might have.
Thanks.
 
U

Uno

Try this one:

netsh dump > conf.nsh

(to create a script of the current configuration)

netsh -f conf.nsh

(to run the script)
 
M

Marty List

Uno said:
Try this one:

netsh dump > conf.nsh

(to create a script of the current configuration)

netsh -f conf.nsh

(to run the script)


Have you tried this and had it work? I've already tried that, it doesn't
contain SSID or WEP info.
 
U

Uno

::
::::> Try this one:
::>
::> netsh dump > conf.nsh
::>
::> (to create a script of the current configuration)
::>
::> netsh -f conf.nsh
::>
::> (to run the script)
::>
::
::
::Have you tried this and had it work? I've already tried that, it doesn't
::contain SSID or WEP info.

I can't try this, perhaps netsh cannot configure Wireless
services,and you should edit the registry.
 
M

Matthias Tacke

Marty List said:
Have you tried this and had it work? I've already tried that, it
doesn't contain SSID or WEP info.
AFAIK this information is stored card/driver specific (at least in w2k,
with the Lucent PCCard I'm using at the moment). I don't know if xp
behaves different. :-(
 
M

Marty List

Matthias Tacke said:
AFAIK this information is stored card/driver specific (at least in w2k,
with the Lucent PCCard I'm using at the moment). I don't know if xp
behaves different. :-(

Right, Windows 2000 does not have built-in support for wireless so each
vendor did their own thing. Windows XP does have built-in support, referred
to as WZC or Wireless Zero Configuration. This allows drivers that support
the WZC service to let the operating system manage the network adapter's
properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top