Solved

netsh profile setup

Posted on 2013-05-24
2
2,926 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 64

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

729 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