Skip to main content

Questions tagged [netsh]

The tag has no usage guidance.

1 vote
2 answers
2k views

Connect if disconnected and disconnect if connected with batch [duplicate]

I'm trying to do a one-line batch command (for use with autohotkey with a keybaord shortcut) to: disconnect Wifi if it is connected: netsh wlan disconnect connect to SSID="MyWifi" if Wifi ...
Basj's user avatar
  • 1,916
0 votes
0 answers
4k views

netsh fails to set MTU

I'm trying to set the MTU for a Mellanox 100Gb NIC using netsh. The command works for small MTU values, but it fails for anything larger than 2000. The card is a ConnectX-6 and I know it supports ...
Elliott B's user avatar
  • 1,245
0 votes
1 answer
307 views

Network changes lost on quick hard reboot

On Windows 10, if I change the IP address and perform a hard reboot a few seconds later (cut the power and restart after some momemts) the change does not persist, i.e. the IP address is back to what ...
Michel's user avatar
  • 137
1 vote
1 answer
554 views

DOS batch file to display netsh channel output

I'm trying to get wifi Channel output from netsh command to be 2.4GHz or 5GHz The following provides me with Channel output: netsh wlan show interface name=Wi-Fi | findstr "Channel" Output ...
mnauta's user avatar
  • 11
0 votes
1 answer
3k views

Netsh wlan show profile name=NetworkName key= clear does not show WiFi Password

When I run Netsh wlan show profile name=NetworkName key=clear for some of the wifi networks listed with netshw wlan show profiles from an Admin command prompt the Security section shows Security Key ...
SimonKravis's user avatar
0 votes
0 answers
471 views

Windows terminal open on startup with proxy error

Every time I start my computer (Windows 11) windows terminal opened in C:\WINDOWS\system32\netsh.exe pops up with an error: Error writing proxy settings. (5) Access is denied. Current WinHTTP proxy ...
spec's user avatar
  • 1
0 votes
1 answer
5k views

Getting 169.254.31.218 IP address / can't ipconfig /release to change IP address

I can't figure this out and it's become a nightmare. A computer on our network has no internet. If I plug the problem computer in on another network the internet works. No other computers on the ...
manchakowski's user avatar
3 votes
1 answer
2k views

Windows Terminal opens on startup with proxy error

Note: This is a duplicate of When I Start my Windows 11 computer, the terminal pops up saying: Error writing proxy settings. (5) Access is denied which has no clear solution for this problem, as it ...
bzr's user avatar
  • 147
1 vote
1 answer
204 views

Can't get ip address with wmic command for PPPoP interface

I have tried to get ipv4 address of one of adapters, precisely from "PPPoP WAN Adapter" when it is connected, using wmic nic and wmic nicconfig commands but it didn't work. In general, when ...
KrzysztofJ's user avatar
0 votes
0 answers
338 views

Enable remote desktop in Windows 8

I am trying to enable Remote Desktop in my old Windows 8 laptop. I did not find a way to do it via GUI, as I do not have the settings shown everywhere (1, 2, etc.) This is what I have The second ...
sancho.s ReinstateMonicaCellio's user avatar
1 vote
2 answers
3k views

Access server hosted on 127.0.0.1 within Guest OS from the Host OS in VirtualBox

I have a ColdFusion server that launches on 127.0.0.1:WXYZ within a virtual machine on VirtualBox. I need to be able to access the server from my Host OS. I have tried using a Bridged adapter as well ...
Michael Pulis's user avatar
0 votes
0 answers
945 views

netsh.exe keeps popping on Windows 10

I am using Windows 10. The netsh.exe popup saying "The object already exists" shown in this image: It keeps popping up from time to time. It pops up and goes away. While I am working or ...
M. Usman Khan's user avatar
0 votes
0 answers
157 views

Windows 10: How to add Network Command Shell (netsh) to Firewall whitelist?

I use the netsh interface portproxy command to proxy connection into my VM. However, Windows Firewall blocks the connection. I know I can use the netsh advfirewall command to poke a hole. But I would ...
some user's user avatar
  • 2,557
1 vote
2 answers
635 views

PowerShell Script That Toggles Network Connection

I want to write a Powershell script that acts as a toggle for a connection to the internet each time it is run. I wrote this, which works: $isconnected = netsh wlan show interfaces | select-string ...
EllipticalInitial's user avatar
1 vote
1 answer
721 views

Reset network settings

In Windows, I ran the command netsh interface ipv4 set address name="Wi-Fi" static 192.168.3.8 255.255.255.0 192.168.3.1. I didn't really know what I was doing and now my Internet is not ...
YJiqdAdwTifMxGR's user avatar

15 30 50 per page
1
2
3 4 5
15