Solved

netsh profile setup

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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.
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…

732 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