+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Windows Server 2008 Thread, wireless network key, can it be set via group policy? in Technical; ...
  1. #16

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,374
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Quote Originally Posted by Steve21 View Post
    Disclaimer, Copy/Paste, but might help :P Unless you're using XP?

    Code:
    Windows 2008 has built in policy GPO for wireless setting management. 
    You can configure your network setting using Certificates. It is the most recommended and secure way 
    But if you like to deploy the wireless settings using static key, you will have to use other way.
    
    The steps bellow describe the way to deploy Wireless LAN settings with a Pre-Shared Key 
    The purpose is to Automate Adding Wireless Profile in Windows.
    
    Preparations
    
    •Configure Wireless settings on one workstation 
    •from command prompt run 
    netsh wlan export profile name="NameOfyourProfile" folder=c:\temp interface="wirelesssettings” 
    •Confirm that under c:\temp you have wirelesssettings.xml file 
    •Open wirelesssettings.xml file locate the following line 
    <protected>true</protected> 
    •Change it to <protected>false</protected> 
    •Under you will see encrypted line <keyMaterial>01000000D08C9DDF0115D1118</keyMaterial> 
    •Change it to your key like that <keyMaterial>Yourkey</keyMaterial>
    
    Note: It means that your wireless key will be in clear text and everyone who has access to the file will be able to read your wireless key"
    
    Deployment
    
    •Copy your wireless settings xml file to NETLOGON 
    •Create a bat or cmd file with the following line 
    netsh wlan add profile filename="\\yourserver\NETLOGON\wirelesssettings.xml" user=all 
    •Run the bat file from some domain member computer and confirm that it works 
    After finishing all steps above you can deploy the script from GPO
    
    Note: Setting are applicable for Windows Vista Windows 7 and Windows 2008 Only

    Steve
    Hi @steve

    I am having problems using this, can you see what i am doing wrong please. i am using the following command

    Code:
    netsh wlan export profile name=FPHS folder=c:\wifi interface=Wireless Network Connection
    and the error message i am getting is One or more parameters for the command are not correct or missing.

    Any thoughts please?

    Thanks

  2. #17

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    @FN-GM - here's how I deploy wireless settings

    Please note this only works with Vista and 7 as XP does not support the netsh wlan command.

  3. #18

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,374
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Quote Originally Posted by Michael View Post
    @FN-GM - here's how I deploy wireless settings

    Please note this only works with Vista and 7 as XP does not support the netsh wlan command.
    cheers do i have to change the hex bit?

    Thanks

  4. #19


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,033 Times in 813 Posts
    Rep Power
    341
    Setting wireless keys for WPA/TKIP DOES work with group policy - we are doing it.


    Basic synopsis is here:
    How to set up a WPA2-EAP Wireless Network Using Network Policy Server (NPS), AD and Group Policies - Spiceworks Community

  5. #20

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346
    Quote Originally Posted by FN-GM View Post
    cheers do i have to change the hex bit?

    Thanks
    If you manually setup a wireless profile (so you can connect wirelessly), then run the following command:

    Code:
    netsh wlan export profile name ="WIRELESS-SETTINGS"
    Open the XML file, then change the protected entry to 'false' and enter your wireless key as required. Save the file and that's it. Import using the command above.

  6. Thanks to Michael from:

    FN-GM (21st August 2011)



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Set time in Group Policy?
    By El_Nombre in forum Windows Server 2008 R2
    Replies: 1
    Last Post: 27th April 2011, 03:20 PM
  2. Set the background colour in Group policy
    By zag in forum Windows Server 2000/2003
    Replies: 2
    Last Post: 17th December 2009, 03:57 PM
  3. Set colour quality in group policy
    By bladedanny in forum Windows Server 2000/2003
    Replies: 2
    Last Post: 13th July 2009, 03:28 PM
  4. Wireless key on group policy?
    By zag in forum Wireless Networks
    Replies: 6
    Last Post: 13th July 2009, 12:53 PM
  5. Replies: 5
    Last Post: 7th December 2007, 10:07 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
  •