+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Wireless Settings in Coding and Web Development; Is it possible to create a Wireless profile in windows via the registry or via scripting? I would like to ...
  1. #1
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111

    Wireless Settings

    Is it possible to create a Wireless profile in windows via the registry or via scripting?

    I would like to create a profile with SSID, Authentication method etc, that can just run on visitors laptops.

  2. #2
    box_l's Avatar
    Join Date
    May 2007
    Location
    Herefordshire
    Posts
    427
    Thank Post
    68
    Thanked 90 Times in 75 Posts
    Rep Power
    61
    Hi, check this thread. http://www.edugeek.net/forums/scripts/34952-script-joining-wireless-networks.html

    I find zwlancfg to be really helpful.

    I have it run called from a login script, this makes networkwide password changes easy to deal with.

    regards

    BoX

  3. Thanks to box_l from:

    somabc (12th September 2010)

  4. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,076
    Thank Post
    853
    Thanked 2,676 Times in 2,270 Posts
    Blog Entries
    9
    Rep Power
    769
    Under Vista, 7 and XP SP3 you can use netsh and an xml config file, just tried it on my laptop and it seems to work alright:
    Simple Method to Export Wireless Network Profile – Windows Vista

    You could put the appropriate command in a batch file or CMD file on a usb key along with the XML and they would just need to double click it.

    or use this:
    http://www.symantec.com/connect/arti...-wlan-profiles
    Last edited by SYNACK; 11th September 2010 at 11:02 PM.

  5. Thanks to SYNACK from:

    somabc (12th September 2010)

  6. #4
    somabc's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    2,337
    Thank Post
    83
    Thanked 388 Times in 258 Posts
    Rep Power
    111
    It's working well with the Symantec software! Cheers.

    Method 1 - Windows 7 / Vista
    You can create and deploy Wireless Profiles with the netsh command. First you need a Laptop that has the profiles already created (manually), then you can gather the profile.

    List all the profiles with

    netsh wlan show profiles
    Then create an XML configuration file

    netsh wlan export profile name="profile" folder="c:\profiles"
    Note: The folder must already exist.

    Now you can add the profile by copying the XML file to another machine via USB / CD and running

    netsh wlan add profile filename="profile.xml" user=all
    You can use the above command in a .cmd file for ease of use.

    Method 2 - Windows XP
    You can use Symantec's WLAN.exe command to capture and deploy profiles.

    First Enumerate Interfaces

    wlan ei
    Interface 0:
    GUID: 89762a5d-bc6b-4ac6-8cf3-b0462b2bafef
    Intel(R) PRO/Wireless 3945ABG Network Connection - Teefer2 Miniport
    State: "disconnected"
    Command "ei" completed successfully.
    Get Profile List

    wlan gpl 89762a5d-bc6b-4ac6-8cf3-b0462b2bafef
    Get Profile (profile name is case sensitive)

    wlan gp 89762a5d-bc6b-4ac6-8cf3-b0462b2bafef Imperial-WPA
    Copy WLAN and your XML file to the new laptop and get the GUID

    wlan ei
    Finally Deploy the Profile

    wlan.exe sp <GUID> profile.xml
    Automating Deployment
    You can use the following Script to automatically capture the GUID and deploy the profile. Name the .bat file the same as the .xml file. eg. profile.bat

    @echo off

    echo Grabbing WLAN Interface...
    For /F "skip=2 tokens=1,2" %%A IN ('wlan.exe ei') Do If "%%A"=="GUID:" set Interface=%%B

    echo Adding wlan SSID %~n0
    wlan.exe sp %Interface% %~n0.xml
    set Interface =

    echo.
    echo SSID: %~n0 has been configured!
    pause
    Last edited by somabc; 14th September 2010 at 11:55 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. XP Power settings on wireless netbooks
    By cookie_monster in forum Windows
    Replies: 1
    Last Post: 4th June 2010, 09:46 AM
  2. Wireless policy losing settings
    By Bobo in forum Windows
    Replies: 14
    Last Post: 22nd October 2009, 09:07 AM
  3. Sysprep and wireless settings
    By FN-GM in forum Windows
    Replies: 7
    Last Post: 10th September 2009, 02:29 AM
  4. Transfer wireless settings on Acer Aspire One
    By nephilim in forum How do you do....it?
    Replies: 4
    Last Post: 9th July 2009, 03:18 PM
  5. Wireless settings via GPO
    By Kyle in forum Windows
    Replies: 3
    Last Post: 16th May 2008, 04:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •