Solved

netsh profile setup

Posted on 2013-05-24
2
2,634 Views
Last Modified: 2013-05-30
at my work we have a secured hidden wireless network and a public wireless network - to access my file and outlook I need to use the secured network. whoever setup the secured wireless made it so that it uses your windows credentials. this person made a batch file that uses an xml file to auto configure the profile. I looked at the batch file, and the command is

netsh wlan add profile filename=pathtoxmlfile\xmlfile.xml

when I run this I get this error

Profile format error 0x80420011:
The network connection profile is corrupted.

I have been googleing this and have narrowed the problem to the xml file. I also found a suggestion to export the profile from a working pc, then use the same command but use the exported xml file. I tried that and still get the error
any ideas on how to fix the xml file?
0
Comment
Question by:JeffBeall
2 Comments
 
LVL 61

Accepted Solution

by:
btan earned 500 total points
ID: 39196227
first need admin right to do it which I assumed you are already doing so...
http://technet.microsoft.com/en-us/library/dd744890(v=ws.10).aspx#bkmk_wlanAddProfile

Overall, it will be good (avoid typo etc) to export from the pre-configured profile of this test machine via GUI policy editor. Also to avoid "compatibility" when importing to other machines, will need to export plain key in that XML (note - need admin right as well to export key which need to be plain as there is machine-specific encryption on password) ....some forum saying so...

http://www.itninja.com/question/wireless-settings
http://superuser.com/questions/133097/netsh-wlan-add-profile-not-importing-encrypted-passphrase

actually I was also looking at the error code but not much info as well on this 802.1x error - EAP_E_EAPHOST_METHOD_NOT_INSTALLED - 0x80420011
(e.g. The requested EAP method is not installed.)

another option is using wifi api - can check out
http://aka-community.symantec.com/connect/ko/articles/how-capture-and-deploy-wlan-profiles

overall listing of netsh command usage
http://technet.microsoft.com/en-us/library/dd744890(v=ws.10).aspx
0
 
LVL 1

Author Closing Comment

by:JeffBeall
ID: 39208573
thank you.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This subject  of securing wireless devices conjures up visions of your PC or mobile phone connecting to the Internet through some hotspot at Starbucks. But it is so much more than that. Let’s look at the facts: devices#sthash.eoFY7dic.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now