473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Netsh cannot connect to unsecured network

Hi all,
I have a question about the netsh command. I looked everywhere but nobody seems to have my problem.
For the moment if i do "netsh wlan show profiles" i see my current network under the section user profiles. It's there because i connected through the UI.
But I can, if not already connected, also connect to it through "netsh wlan connect name=MyNetwork"
Now i have a second wireless network at home, not secured. but if i want to connect by "netsh wlan connect name=MyNetwork2" then it returns an error:
There is no profile "MyNetwork2" assigned to the specified interface . It's true, there is no profile. But this is a unsecured network and through the UI, I just can connect to it.
What am I doing wrong? How can i connect through command to that network?
Thanks in advance!!
FireWall
May 3 '09 #1
4 6593
sicarie
4,677 Expert Mod 4TB
My guess is that the error is telling you what's wrong: the default profile is the secured wireless access point you are able to connect to, and that's what the interface is expecting, so when you attempt to connect to the unsecured without loading the unsecured profile (or creating) then the configs do not match.

What does the netsh wlan show profiles command return after you've connected to the unsecured vlan through the UI?

And what configuration tool are you using? Windows? Another built-in? Does it allow you to create/save/modify wireless profiles?
May 4 '09 #2
how do i create the unsecured profile then? all the creates example's i found on the net were with the use of an .xml file. but i don't know how to create or retrieve that xml file for the unsecured wireless.
The show profiles just returns the secured profile only after i connect to the unsecured one.
i'm just using windows vista with full administrator rights and the possibility to create/add/modify profiles.
Already thanks for your help!
May 5 '09 #3
sicarie
4,677 Expert Mod 4TB
Ah, you're using Vista. I'm not entirely sure then, I haven't had the ... opportunity to work heavily with Vista yet.

If this thread doesn't get a reply in a few days, I will move it over to the Windows Forum.
May 6 '09 #4
sicarie
4,677 Expert Mod 4TB
Can anyone provide some Vista wireless setup assistance?
May 8 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jay Chan | last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that has Windows-2003 Server on it. Now, we cannot get access to that database server from other computers. Seem like this may be an...
1
by: TomCullen | last post by:
I am trying to connect a new LBM Laptop to an SQL server on the network and I get "test connection failed because of an error in initializing provider, SQL server does not exist or access...
6
by: PHLICS_Admin | last post by:
Hi All, There are two network cards in one computer (named A) , and there is one network card in another computer(named B). On computer A: one network card is used to connect to internet, and...
2
by: Adam Clauss | last post by:
I am building a GUI to wrap around some of the information/abilities contained within the program netsh. I have figured out how to use redirect the standardinput and standardoutput so that I can...
1
by: bitchanger | last post by:
I have installed an SQL Server 2000 Developer Edition (SP4) on a computer that has Windows Server 2003 on it.The server is connected to the workgroup "WORK" and has no Active Directory. Now I...
2
by: ttan | last post by:
I'm using c# to called a command line netsh ipsec static.... and the group policy store it on local even those I used "ipsec static set store location=domain" my question is how do I keep the...
2
by: Dawoodi Bohra | last post by:
VPN connected but cannot map folders on my computer. I am trying to connect to our headquarters server using VPN (windows XP). I am able to successfully connect to the server (passes...
0
by: vedika | last post by:
hi, I have one c# application through which i connect to web service. web service is SSL protected. when i connect it through secure wireless network it is working well. but when i try to connect...
2
by: =?Utf-8?B?U2NvdHQ=?= | last post by:
I have seen numerous posts, both here and google, where people are having this issue, but I have yet to see an explanation of the problem. I have a WCF service that is working fine using http....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.