Please try this from admin Command Prompt:
netsh.exe interface set interface name="Local Area Connection" admin=disabled
Your solution doesn't work for me, i use win11 pro, any other suggestion i can try ?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying to use netsh but is unable to do so, yet I am able to execute netsh when doing show interface. Here is the output of the powershell.
PowerShell 7.3.5
PS C:\Users\user> netsh interface show interface
Enabled Disconnected Dedicated OpenVPN Wintun
Enabled Disconnected Dedicated Local Area Connection
Enabled Disconnected Dedicated Local Area Connection 2
Enabled Disconnected Dedicated OpenVPN TAP-Windows6
Enabled Disconnected Dedicated OpenVPN Data Channel Offload
Enabled Disconnected Dedicated Wi-Fi 2
Disabled Disconnected Dedicated Wi-Fi
PS C:\Users\user> netsh interface set interface "wi-fi 2" disable
The system cannot find the file specified.
PS C:\Users\user> netsh.exe interface set interface "Local Area Connection" disable
The system cannot find the file specified.
System Path is still the same.
PS C:\Users\user> $env:path -split ";"
C:\Program Files\WindowsApps\Microsoft.PowerShell_7.3.5.0_x64__8wekyb3d8bbwe
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\WireGuard\
C:\Program Files\PowerShell\7\
C:\Program Files\dotnet\
C:\Users\user\AppData\Local\Microsoft\WindowsApps
PS C:\Users\user>
So, what seems to be wrong? And how do I fix it?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Please try this from admin Command Prompt:
netsh.exe interface set interface name="Local Area Connection" admin=disabled
Your solution doesn't work for me, i use win11 pro, any other suggestion i can try ?
Please try this from admin Command Prompt:
netsh.exe interface set interface name="Local Area Connection" admin=disabled