I'm trying to figure out how to enable the "Wi-Fi" interface in Windows 10, so that I can connect to a wireless network later using netsh wlan connect. After starting cmd with administrative privileges, netsh int show int correctly shows "Wi-Fi" as one of the interface names, and shows it as "disconnected".

However, when I try to enable it using netsh int set, it says "This network connection does not exist." As a test to see that the interface name is correct, I have been able to rename the "Wi-Fi" interface. The only way to enable it was by first turning on Wi-Fi via the Wi-Fi toggle switch in the Wi-Fi menu at the bottom right of the screen. If I don't do that, nothing works.

How would you make this work from the command line? I had a corrupted Windows 10 update once where explorer.exe wasn't working, as the system task bar wasn't there, so the not using the command line wouldn't really work out.


This happens on my Win 7 virtual as well.

enter image description here

I do not know why this happens, however I know how to make the command work from command line.

Open Task Manager as admin (right-click 'Run As Admin'). Type the administrator password and click on 'Yes' , to proceed.

Click on New Task. Type in cmd in the Open: field

enter image description here

Make sure to check the box 'Create this task with admin privileges' Then click OK.

Your command window title will be prefixed with Administrator:

enter image description here

If you don't see administrator, then its not gonna work.

If it does run successfully, then its gonna look like this,

enter image description here

The name of the interface is changed here, because I don't have an interface called "Wi-Fi", please do change it accordingly.

  • I'm going to edit the question. Apparently the problem was because the interface was already enabled! If you enable it twice without connecting to a network, it says "This network connection does not exist". However, I still can't connect to a wireless network using netsh wlan connect, to which it says: "The wireless local area network is powered down and doesn't support the requested operation". How do I solve this? – WeavingBird1917 Jun 15 '18 at 13:02
  • I might ask that in a separate question, as it is unrelated. – WeavingBird1917 Jun 15 '18 at 13:06
  • 1
    @Tim_Stewart Thanks, I have posted an alternate answer. I also posted another question for the separate problem of connecting to Wi-FI when Wi-Fi isn't toggled in Windows 10: superuser.com/questions/1331606/… – WeavingBird1917 Jun 15 '18 at 13:34
  • 2
    @WeavingBird1917...I have had a similar question posted superuser.com/q/1122597/617826 I hope the answer to Ur other question will help me too – DannyBoi Jun 15 '18 at 14:05

I found out the what was causing the problem. The "Wi-Fi" interface was already enabled. Trying to enable it twice causes the error message: "This network connection does not exist". However, this message doesn't print when already connected to a wireless network, it only prints when you aren't already connected to a wireless network. This would seem like a bug, as it makes the user think that enabling the interface had failed.

However, trying to connect to a wireless network using netsh wlan connect still doesn't work if the Wi-Fi toggle switch is not clicked in Windows 10.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.