Avatar of _ararag
_ararag

asked on 

Adding custom mobile broadband profiles in Win 7

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?
Microsoft Legacy OS

Avatar of undefined
Last Comment
mrwad99
Avatar of mrwad99
mrwad99
Flag of United Kingdom of Great Britain and Northern Ireland image

Hmm, have you tried running the command through a command prompt that has admin privileges?
Avatar of _ararag
_ararag

ASKER

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".
ASKER CERTIFIED SOLUTION
Avatar of Chris
Chris

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Neeraja Joshy
Neeraja Joshy

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.
Avatar of mrwad99
mrwad99
Flag of United Kingdom of Great Britain and Northern Ireland image

Neeraja Joshy, this question is closed - please open a new one and ask it there.  Thanks!
Microsoft Legacy OS
Microsoft Legacy OS

The Microsoft Legacy Operating System topic includes legacy versions of Microsoft operating systems prior to Windows 2000: All versions of MS-DOS and other versions developed for specific manufacturers and Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions, and Windows Mobile.

55K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo