Solved

netsh profile setup

Posted on 2013-05-24
2
2,816 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 63

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

830 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