Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have shared my ethernet connection over wireless in Windows 7 using the method outlined in the accepted answer here: Windows 7 - wireless connection sharing.

My wireless card is a TP-Link TL-WN821N, which, according to the specs, supports WPA2.

When I am in the Setup an Ad Hoc Network configuration screen, I only have the option of WEP under Security Type:

Hosted by

How can I enable WPA2 as an option? I am using the latest driver, v3.5.0.12 dated 11/26/2009.

share|improve this question
up vote 3 down vote accepted

Windows 7 supports a Soft AP mode that can be used to create a more secure sharing environment as it supports WPA2\AES. This works with most WLAN Nics but there may be issues with some older kit.

The steps you need to follow are:

1: Open up an administrator command prompt.

2: Create the SoftAP config:

netsh wlan set hostednetwork mode=allow SSID=PeerWithWPA2 key=WPA2Password keyusage=persistent

3: You will now need to modify your ICS settings to allow sharing from your main internet adapter to this new network. You manage this from the properties->sharing tab of the network adapter that is your primary internet connection. This can be the same WLAN adapter that will be used for the Soft AP.

4: Start the SoftAP

netsh wlan start hostednetwork

5: Connect to this from your other systems just as you would connect to any AP that provides a WPA2 secured SSID

There is a full guide with screenshots available here.

share|improve this answer
Thanks, this works really well. – RedFilter Nov 12 '10 at 18:19

Ad-hoc cannot use WPA2, only WEP. The support for your card with WPA2, is for when it is connecting to an Infrastructure type wireless network.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.