Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

How to deploy WPA/WEP key with group policy?

Wi-Fi, Mobile phone.

How to deploy WPA/WEP key with group policy?

Postby blin » Fri Dec 02, 2011 9:12 pm

I'm using Server 2008 std. The point of this is to allow the clients to automatically connect.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3605
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: How to deploy WPA/WEP key with group policy?

Postby blin » Fri Dec 02, 2011 9:13 pm

If you're set up in a domain environment, I'm not entirely sure if WEP or WPA keys would be the way to go. WEP/WPA requires the key to be stored locally on the computer and, depending on your userbase, it would only be a matter of time before the key is leaked and major problems come of it.

I would suggest setting Network Policy Services to allow your wireless devices to be managed.

RADUIS/NPS - Technet
Article from The Cable Guy

However, if you're insistant on using WEP/WPA, you can use netsh to import/export wireless profiles and configure this to run at a login script.

Export the profile from a computer that has been configured to access the wireless network:

netsh wlan show profiles

Choose the profile you want to export and a location to export the file to:

netsh wlan export profile name=”home-network” folder=”g:\wireless-profile”

Once the profile has been exported, you can configure a login script to run the following command:

netsh wlan add profile filename="g:\wireless-profile.xml”
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3605
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: How to deploy WPA/WEP key with group policy?

Postby blin » Fri Dec 02, 2011 9:13 pm

Thanks or the post digitalsatori

I successfully exported the XML file but when I tried importing it, Windows prompted me for the wifi network credentials. Perhaps I misread above, but I thought exporting a preconfigured profile would address this.

Is there's a '<keyMaterial></keyMaterial>' block which I suspect is for the PSK. I'd prefer not to have the key in clear-text or deal with some workaround for that (like copying the file locally, performing a find/replace, adding the profile and then delete the file) - is there a way to add it easily?
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3605
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA

Re: How to deploy WPA/WEP key with group policy?

Postby blin » Fri Dec 02, 2011 9:14 pm

Sorry to bring up an old thread but we're in the same exact boat as Julius.



I have built a script that will delete the WAN's and then import the XML files; however, even still, it will ask for the user to authenticate the wireless connection with the preshared key. Yet the odd part is, you can clearly see the key is in the xml file, all garbled up of course, but it's in there.



Why is this? Anyway to avoid this? Is there any software that works around this? We desperately need a resolution to this so if anyone has anything, please feel free to share :). Thanks.
How to Configure and Troubleshoot Cisco
http://www.howtocisco.com

Tablet and Smartphone Setup Guide
http://www.quicksetupguide.com
blin
Site Admin
 
Posts: 3605
Joined: Wed Dec 31, 1969 7:00 pm
Location: Chicago, USA


Return to Wireless

Your Ad Here

Who is online

Users browsing this forum: No registered users and 1 guest