Solved

Adding custom mobile broadband profiles in Win 7

Posted on 2013-12-23
5
2,757 Views
Last Modified: 2016-10-10
I need to create a custom mobile broadband connection profile on a number of Windows 7 computers. I have learned that this could be accomplished by running the following command:
netsh mbn add profile interface=MobileBroadband Connection" name="ProfileName.xml"
where ProfileName.xml is an XML file created in accordance with the instructions found at http://www.microsoft.com/whdc/connect/wireless/MB_CustGuide.mspx.

The problem is that I always get an error saying "The Profile cannot be loaded" when I run the command.

My XML file looks like this:

 <?xml version="1.0"?>
 <MBNProfile xmlns="http://www.microsoft.com/networking/WWAN/profile/v1">
	 <Name>TestProfile</Name>
	 <ICONFilePath></ICONFilePath>
	 <IsDefault>true</IsDefault>
	 <ProfileCreationType>UserProvisioned</ProfileCreationType>
	 <SubscriberID>123456789012345</SubscriberID>
	 <AutoConnectOnInternet>false</AutoConnectOnInternet>
	 <ConnectionMode>manual</ConnectionMode>
	 <Context>
		 <AccessString></AccessString>
		 <UserLogonCred>
			 <UserName></UserName>
			 <Password></Password>
		 </UserLogonCred>
		 <Compression>DISABLE</Compression>
		 <AuthProtocol>NONE</AuthProtocol>
	 </Context>
 </MBNProfile>

Open in new window


I have also tried copying a working profile's xml file (from C:\ProgramData\Microsoft\WwanSvc\Profiles), but this also gives me "The Profile cannot be loaded".

Can anyone tell me what I'm doing wrong?
0
Comment
Question by:_ararag
[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
5 Comments
 
LVL 19

Expert Comment

by:mrwad99
ID: 39736269
Hmm, have you tried running the command through a command prompt that has admin privileges?
0
 

Author Comment

by:_ararag
ID: 39741266
Thank you mrwad99 for the suggestion.
Yes, I have tried running the command through a command prompt that has admin privileges, but that doesn't help. It gives me the above mentioned message: "The Profile cannot be loaded".
0
 
LVL 1

Accepted Solution

by:
Chris earned 500 total points
ID: 40324530
I started off with this same error. First thing I did was

netsh mbn show profiles

netsh mbn delete profile interface="Mobile Broadband Connection" name=xxxxxxx  (where xxxxx is the name of a profile from pervious command, profile names are case sensitive)

Delete any profiles that are shown.

Then add your custom profile

netsh mbn add profile interface="Mobile Broadband Connection" name="xxxxxxxxxx"  (where xxxxx is the location of your XML profile)

Here is my XML profile for your reference.

<?xml version="1.0"?>
<MBNProfile xmlns="http://www.microsoft.com/networking/WWAN/profile/v1">
      <Name>xxxxxxx</Name>
      <ICONFilePath>c:\IT\WWAN\logo.ico</ICONFilePath>
      <IsDefault>true</IsDefault>
      <ProfileCreationType>UserProvisioned</ProfileCreationType>
      <SubscriberID>0010......30405</SubscriberID>
      <SimIccID>000.........0000</SimIccID>
      <HomeProviderName>Yours</HomeProviderName>
      <AutoConnectOnInternet>true</AutoConnectOnInternet>
      <ConnectionMode>auto-home</ConnectionMode>
      <Context>
            <AccessString>if needed</AccessString>
            <UserLogonCred>
                  <UserName>If needed</UserName>
                  <Password>if needed</Password>
            </UserLogonCred>
            <Compression>DISABLE</Compression>
            <AuthProtocol>NONE</AuthProtocol>
      </Context>
</MBNProfile>

**Notes**
I copied the only file in this directory after creating a WWAN profile through the GUI to get the basic XML layout
C:\ProgramData\Microsoft\WwanSvc\Profiles
<SubscriberID> you can get from the command netsh mbn readyinfo interface="Mobile Broadband Connection"
to replace the encrypted one that is in there
0
 

Expert Comment

by:Neeraja Joshy
ID: 41836460
Hello

I have the same error - Profile cannot be loaded. I tried the solution above but it still shows the same. when i try to show existing profiels, it says <none>.
Can you please help me?
Thank you.
0
 
LVL 19

Expert Comment

by:mrwad99
ID: 41837409
Neeraja Joshy, this question is closed - please open a new one and ask it there.  Thanks!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

630 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