Windows Server 2008 Thread, wireless network key, can it be set via group policy? in Technical; Originally Posted by Steve21
Disclaimer, Copy/Paste, but might help :P Unless you're using XP?
Code:
Windows 2008 has built in ...
-
17th August 2011, 11:14 AM #16 
Originally Posted by
Steve21
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
-
-
IDG Tech News
-
17th August 2011, 11:26 AM #17 @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.
-
-
17th August 2011, 11:46 AM #18 
Originally Posted by
Michael
cheers do i have to change the hex bit?
Thanks
-
-
17th August 2011, 11:53 AM #19
-
-
17th August 2011, 12:16 PM #20 
Originally Posted by
FN-GM
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.
-
SHARE:
Similar Threads
-
By El_Nombre in forum Windows Server 2008 R2
Replies: 1
Last Post: 27th April 2011, 02:20 PM
-
By zag in forum Windows Server 2000/2003
Replies: 2
Last Post: 17th December 2009, 03:57 PM
-
By bladedanny in forum Windows Server 2000/2003
Replies: 2
Last Post: 13th July 2009, 02:28 PM
-
Replies: 6
Last Post: 13th July 2009, 11:53 AM
-
By link470 in forum Windows
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
-
Forum Rules