+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows 7 Thread, Laptop Wireless setup through GPO in Technical; Today I tried to configure wireless settings of a laptop through GPO. I could not find a dialogue box where ...
  1. #1

    Join Date
    Apr 2009
    Posts
    72
    Thank Post
    8
    Thanked 7 Times in 5 Posts
    Rep Power
    12

    Laptop Wireless setup through GPO

    Today I tried to configure wireless settings of a laptop through GPO. I could not find a dialogue box where I could put the actual key. I tried as follows:

    Computer Configurations -->Windows Settings -->Security Settings -->Wireless Network (IEEE 802.11) Policies-->Right Click Create Wireless Network Policy .
    On the properties of the new policy there are only two tabs: General and Preferref Network.

    On the preferred network tab I can add a network. I added a network with SSID. In the wireless network key section the options are:

    Network authentication - Open/Shared/WPA/WPA-PSK
    Data Encription: WEP/TKIP/AES
    The key is provided automatically.

    I do not see an option where I can put the actual key. It only mentions the method but nothing about key itself.

    If anybody has done this before please let me know.

    Regards,

    SU

  2. #2

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    I dont think you can set a pre shared key even though it seems to indicate you can! We have a wireless GPO but that is using 802.1x and certificates for the authentication/encryption (managed APs).

  3. #3
    MicrodigitUK's Avatar
    Join Date
    May 2007
    Location
    Wiltshire
    Posts
    332
    Thank Post
    37
    Thanked 54 Times in 50 Posts
    Rep Power
    24
    I do it with an exe and a start up script. The exe is a tool from Aruba networks that will do what you want. Ther is also a free version of the exe somewhere without Aruba branding. Think There is an xp version and a vista/7 version. Will try to dig out the link to the free version but I am shore iv seen it on a old post on edugeek.

  4. #4
    MicrodigitUK's Avatar
    Join Date
    May 2007
    Location
    Wiltshire
    Posts
    332
    Thank Post
    37
    Thanked 54 Times in 50 Posts
    Rep Power
    24
    Quote Originally Posted by MicrodigitUK View Post
    I do it with an exe and a start up script. The exe is a tool from Aruba networks that will do what you want. Ther is also a free version of the exe somewhere without Aruba branding. Think There is an xp version and a vista/7 version. Will try to dig out the link to the free version but I am shore iv seen it on a old post on edugeek.
    Just had a look at the script in our gpo and the exe is called WifiCfg_XP.exe

  5. #5

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    As @nicklec said, you can't setup a wireless with a pre shared key using GPO. However, it's not actually that hard to setup your wireless network to use a RADIUS server if your access points support authenticating to one, then you can use a GPO to push your wireless settings to your clients - it does save a lot of hassle if you get this working.

  6. #6
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,193
    Thank Post
    134
    Thanked 340 Times in 287 Posts
    Rep Power
    84
    As I understand the reason you can't put the key in the GPO is that GPOs are stored in the Sysvol folder - as the GPOs themselves aren’t encrypted and sysvol is readable by everyone on your network anyone would then potentially be able to read that key.

    We use 802.1x authentication here with our Aerohive WiFi - works like a treat and I don't ever have to worry about putting keys in manually as everything is looked after by the GPO.
    If you at all can look into 802.1x and RADIUS – it makes life so much simpler than playing around with scripts and once its setup it is very hard to break.

  7. #7

    Join Date
    Apr 2009
    Posts
    72
    Thank Post
    8
    Thanked 7 Times in 5 Posts
    Rep Power
    12
    Any link to radius setup will be highly appreciated. I will go for radius.

    Regards,

    SU

  8. #8
    jamesfed's Avatar
    Join Date
    Sep 2009
    Location
    Reading
    Posts
    2,193
    Thank Post
    134
    Thanked 340 Times in 287 Posts
    Rep Power
    84
    Quote Originally Posted by sultan966 View Post
    Any link to radius setup will be highly appreciated. I will go for radius.

    Regards,

    SU
    What Wireless system is it that you are using?

  9. #9

    Join Date
    Apr 2009
    Posts
    72
    Thank Post
    8
    Thanked 7 Times in 5 Posts
    Rep Power
    12
    We are currently using Linksys WAP54G wireless access point. This access point supports radius authentication.
    Regards,

    SU

  10. #10
    SW-ICT's Avatar
    Join Date
    Jun 2011
    Location
    Bristol
    Posts
    127
    Thank Post
    51
    Thanked 41 Times in 33 Posts
    Rep Power
    15
    Sounds silly... If its a brodcom driver you may need SP3 installed..

    That helps us out big time... and installed it by fluke aswell

    Tried it a few more time to make sure it was not luck and all the laptops would connect up to the wireless

    Hope this helps you (fingers crossed)

  11. #11
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    357
    Thank Post
    7
    Thanked 40 Times in 30 Posts
    Rep Power
    23
    if you are using windows 7 you could use the netsh wlan add profile command

    netsh wlan add profile filename=LocationOfFile\WIRELESS.xml

    you would need to first export the profile using "netsh wlan export profile" command to get the XML of course

    you could run this from a GPO script

  12. #12

    Join Date
    Nov 2010
    Location
    leeds
    Posts
    30
    Thank Post
    2
    Thanked 7 Times in 5 Posts
    Rep Power
    9
    Just thought I'd share this with you (I know its not GPO) but will help you set up wireless connection in a click if you copy the file to your laptop. I've just incorpoarted into my windows 7 image and it works a treat

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>
    Originally Posted by eean
    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.au3A uto 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
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>

  13. #13

    Join Date
    Apr 2009
    Posts
    72
    Thank Post
    8
    Thanked 7 Times in 5 Posts
    Rep Power
    12

    This is the simplest and best solution

    Quote Originally Posted by k-strider View Post
    if you are using windows 7 you could use the netsh wlan add profile command

    netsh wlan add profile filename=LocationOfFile\WIRELESS.xml

    you would need to first export the profile using "netsh wlan export profile" command to get the XML of course

    you could run this from a GPO script

    Many thanks for directing me towards this solution. It is the simplest and best solution. The key=clear word must be specified while exporting the profile. Works like magic. I have done as follows:

    netsh wlan export profile name="MyProfileName" folder=c:\Temp interface="Wireless Network Connection" key=clear


    Then imported the profile in another laptop as follws:
    netsh wlan add profile filename="location of xml file" interface="Wireless Network Connection" user=all

    It works fine. Does not ask for a key. key=clear must be mentioned during export otherwise it asks for a key after importing.

    I have put the file on the server. From there it works as well.

    Many thanks.

  14. #14

    Join Date
    Jul 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by sultan966 View Post
    Many thanks for directing me towards this solution. It is the simplest and best solution. The key=clear word must be specified while exporting the profile. Works like magic. I have done as follows:

    netsh wlan export profile name="MyProfileName" folder=c:\Temp interface="Wireless Network Connection" key=clear


    Then imported the profile in another laptop as follws:
    netsh wlan add profile filename="location of xml file" interface="Wireless Network Connection" user=all

    It works fine. Does not ask for a key. key=clear must be mentioned during export otherwise it asks for a key after importing.

    I have put the file on the server. From there it works as well.

    Many thanks.
    This is indeed incredibly easy. We have about 120 netbooks that we give to students to use, but many of them keep removing the campus wireless settings when they connect at their houses. Having a script that would drop and recreate the campus wireless on startup would solve this issue. What options do we have to either encrypt the password or put the xml file in a directory that only admins have access to so that the students can't view the contents? It can't be on a network share because without the wireless settings in place the network would be unavailable.

    Thanks,
    Matt Penner

  15. #15

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,078
    Thank Post
    853
    Thanked 2,677 Times in 2,271 Posts
    Blog Entries
    9
    Rep Power
    769
    Quote Originally Posted by mattpenner View Post
    This is indeed incredibly easy. We have about 120 netbooks that we give to students to use, but many of them keep removing the campus wireless settings when they connect at their houses. Having a script that would drop and recreate the campus wireless on startup would solve this issue. What options do we have to either encrypt the password or put the xml file in a directory that only admins have access to so that the students can't view the contents? It can't be on a network share because without the wireless settings in place the network would be unavailable.

    Thanks,
    Matt Penner
    As long as the students don't have admin rights on the netbooks (eeek) then you could simply change the permissions on the file to only allow read from SYSTEM and Administrators. You could then just run the script using a machine startup script or even as a scheduled task. As long as the specified user for the scheduled task (on startup) has the right privilages to read the file your sorted.

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

Similar Threads

  1. Wireless Setup
    By mmoseley in forum How do you do....it?
    Replies: 2
    Last Post: 8th January 2010, 10:12 AM
  2. New Wireless setup
    By kaoyang in forum Wireless Networks
    Replies: 5
    Last Post: 5th October 2009, 07:48 AM
  3. wireless setup
    By lionsl2005 in forum How do you do....it?
    Replies: 8
    Last Post: 21st May 2009, 02:31 PM
  4. Wireless setup
    By marvin in forum Windows
    Replies: 2
    Last Post: 7th November 2008, 01:07 PM
  5. Wireless setup
    By marvin in forum Wireless Networks
    Replies: 2
    Last Post: 17th January 2008, 04:22 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
  •