+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
Wireless Networks Thread, Scripting Wireless - Windows XP/Vista in Technical; Afternoon All, Just wondered if anyone here had ever managed to script wireless settings. I want to create a deployment ...
  1. #1

    Join Date
    Oct 2005
    Location
    Stevenage, Hertfordshire
    Posts
    53
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Scripting Wireless - Windows XP/Vista

    Afternoon All,

    Just wondered if anyone here had ever managed to script wireless settings. I want to create a deployment script but by the looks of it I don't think you can do it.

    Any ideas?

    Barry

    **Mods - Needs a move to scripts - My bad**

  2. #2
    Irazmus's Avatar
    Join Date
    Feb 2006
    Location
    Suffolk
    Posts
    307
    Thank Post
    11
    Thanked 15 Times in 13 Posts
    Rep Power
    20

    Re: Scripting Wireless - Windows XP/Vista

    This is the method I'm currently using tagged onto the end of a RIS install
    http://www.russdev.com/edugeek/doku....autowificonfig

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,995
    Thank Post
    590
    Thanked 1,498 Times in 1,344 Posts
    Rep Power
    398

    Re: Scripting Wireless - Windows XP/Vista

    What is your setup? server 2003, what wireless settings, ssid, wpa key etc..?

    I use GPO's to push out the wireless config for my wireless network.

    Ben

  4. #4

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Scripting Wireless - Windows XP/Vista

    Quote Originally Posted by plexer
    I use GPO's to push out the wireless config for my wireless network.

    Ben

    Tell us how you did it Ben. Did you just use MSI Wrapper Wizard thingy with Russ's script?

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,995
    Thank Post
    590
    Thanked 1,498 Times in 1,344 Posts
    Rep Power
    398

    Re: Scripting Wireless - Windows XP/Vista

    There is a wireless security gpo.

    In computer configuration, security settings I think it is.

    I push out the configuration from here, ssid, wpa, 802.1x, machine auth only, etc...

    Ben

  6. #6

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    777
    Thank Post
    1
    Thanked 31 Times in 29 Posts
    Rep Power
    23

    Re: Scripting Wireless - Windows XP/Vista

    Pushing wirless settings via GPO has never worked for me. If your wireless clients use the IntelPro chipset you can configure an Administator profile to pre-logon connect and build this into the image. This is the most reliable method I have used.

  7. #7
    Irazmus's Avatar
    Join Date
    Feb 2006
    Location
    Suffolk
    Posts
    307
    Thank Post
    11
    Thanked 15 Times in 13 Posts
    Rep Power
    20

    Re: Scripting Wireless - Windows XP/Vista

    The GPO approach didn't worked for me either, could never find where to list the WEP key. Will look into it again when we put in the replacement wireless network which will have better security.

  8. #8

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,995
    Thank Post
    590
    Thanked 1,498 Times in 1,344 Posts
    Rep Power
    398

    Re: Scripting Wireless - Windows XP/Vista

    I've never used it for wep key just wpa enterprise and 802.1x

    Ben

  9. #9
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    33

    Re: Scripting Wireless - Windows XP/Vista

    You cannot push out the WEP key via GPO. That's why I came up with the horrible method on the WIKI.

  10. #10
    eean's Avatar
    Join Date
    May 2006
    Location
    Kuala Lumpur
    Posts
    555
    Thank Post
    64
    Thanked 52 Times in 37 Posts
    Rep Power
    29

    Re: Scripting Wireless - Windows XP/Vista

    I use the Wireless Setup Wizard on the control panel. This copies a exe and a ini file onto a pen drive. You can run it from a folder on the hard drive but you have to use the subst command to create a drive letter to that folder (to trick it). I made the following script. This is a .bat file that creates a temporary drive letter. Then it calls an AutoIt script file that automates all the OKs etc...
    Use on the end of our automated cd setup. It has never skipped a beat.


    Bat file here:
    Code:
    @ECHO OFF
    ECHO Setup in progress. Please do not touch.
    
    REM This script runs the windows xp wireless setup wizard.
    
    REM This 'maps' the t: drive to c:\windows\setuptemp\03_setupwireless
    SUBST T: %SystemRoot%\SetupTemp\03_SetupWireless
    
    ECHO Installing Wireless Network
    
    REM Start the Windows Wireless setup wizard.
    START /W  %systemroot%\SetupTemp\Autoit3.exe %systemroot%\SetupTemp\03_SetupWireless\Setup.au3
    Auto it file here:
    Code:
    ;This script automates the instillation windows wireless setup wizard
    Splashtexton("Setup", "Setting up wireless connection. Please do not touch.", 500, 100)
    
    ;Prevent user sending any keystrokes
    BlockInput(1)
    
    Run ("t:\setupSNK.exe")
    
    WinWait ("Wireless Network Setup Wizard", "Do you want to add")
    
    Send ("{ENTER}")
    
    WinWaitClose ("Wireless Network Setup Wizard", "Do you want to add")
    
    WinWait ("Wireless Network Setup Wizard")
    
    Send ("{ENTER}")
    
    ;Allow Keystrokes to be sent by user
    BlockInput(0)
    You need to put the bat file and autoit3.exe in c:\windows\setuptemp.
    You need to put the autoit script and setupsnk.exe and all the other wireless setup files in c:\windows\setuptemp\03_setupwireless

    EDIT: Unlikely to work on vista!

  11. #11
    Irazmus's Avatar
    Join Date
    Feb 2006
    Location
    Suffolk
    Posts
    307
    Thank Post
    11
    Thanked 15 Times in 13 Posts
    Rep Power
    20

    Re: Scripting Wireless - Windows XP/Vista

    Quote Originally Posted by ajbritton
    You cannot push out the WEP key via GPO. That's why I came up with the horrible method on the WIKI.
    Hence why I use the beautiful method on the Wiki

  12. #12

    Join Date
    Jul 2007
    Location
    The Woodlands, texas
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scripting Wireless - Windows XP/Vista

    Once you use the network wizaard and have your usb key. You can copy the setupsnk.exe and the subdirectory to a local directory.

    Then use the subst command to create a temp drive mapping.

    Example:
    Subst z: "Driveletter:\whatever path you want"
    z:
    setupsnk.exe
    subst z: /D


    This will give you two prompts. One to verify you want to install and the other to state it is completed.

    You can use autoit to automate the install and dialog box prompts as well.

    Hope the info helps.

  13. #13

    Join Date
    Jul 2007
    Location
    Asheville, NC USA
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scripting Wireless - Windows XP/Vista

    Seriously, you should try the WPA/802.1x via GPOs. It works great. My techs can crack your WEP key in 15 minutes or less. Move on. WEP should not be an option anymore, especially if you have any confidential data on your network.

    Alan

  14. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Scripting Wireless - Windows XP/Vista

    Also be aware WPA-PSK is vulnerable to brute force attack via rainbow tables.

  15. #15

    Join Date
    Jul 2007
    Location
    The Woodlands, texas
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scripting Wireless - Windows XP/Vista

    I just posted because it seems to be an easier way to install wep drivers. Dont have to worry about mounting ISO's and such.

    Tech's dont always get the luxury of making the calls. Management/clients normaly override decisions. Doesn't matter how much you state unsecure, hack or anything else.

    It's like pitching a backup solution to a small business, until something crashes it's not a priority

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. windows vista/ranger 5
    By markcuk in forum Educational Software
    Replies: 14
    Last Post: 1st February 2008, 02:30 PM
  2. Wireless, Windows and Winsuite
    By radar in forum Windows
    Replies: 5
    Last Post: 29th November 2007, 08:00 PM
  3. Wireless disconnects after locking Vista laptop
    By luke213 in forum Windows Vista
    Replies: 8
    Last Post: 15th October 2007, 01:31 PM
  4. Windows Vista Poll
    By Ric_ in forum Windows Vista
    Replies: 1
    Last Post: 5th May 2006, 07:29 PM
  5. Windows vista
    By spc-rocket in forum Windows Vista
    Replies: 7
    Last Post: 28th January 2006, 10:28 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
  •