Solved

netsh profile setup

Posted on 2013-05-24
2
2,737 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 62

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Need WiFi? Often, there are perfectly good networks that don't have WiFi capability - and there's a need to add it.  - Perhaps you have an Ethernet port into a network but no WiFi nearby. - Perhaps you have a powerline extender and no WiFi at the…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

809 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