Skip to main content

Questions tagged [netsh]

The tag has no usage guidance.

1 vote
1 answer
77 views

WiFi not working after adding a loopback address to WiFi interface in Windows

I think I did something that I was not supposed to do. While trying to learn something, I added a new loopback address to my WiFi interface in Windows without knowing what I'm doing. I typed the ...
Timotei Oros's user avatar
1 vote
1 answer
366 views

NETSH + WSL2: revert netsh-command and gain back WSL2-networking capabilities

Following this question I issued this command as an admin thorough PowerShell: netsh interface portproxy add v4tov4 listenport=4000 listenaddress=0.0.0.0 connectport=4000 connectaddress=(wsl hostname -...
scjorge's user avatar
  • 299
2 votes
0 answers
339 views

Windows PortProxy Issue After restart PC

I am using Windows, and problems occur on some PCs regardless of the OS. I added proxy information through: netsh interface add ... and it applied successfully and connected successfully. I checked ...
KwangHyeonKim's user avatar
2 votes
0 answers
66 views

Something so weird while using netsh

While using netsh, I am in an enterprise network and there are multiple bssids in the network, my device connects to the one that has the best signal by default behaviour as you know. (this is a big ...
C.Unbay's user avatar
  • 105
1 vote
0 answers
135 views

Routing all traffic to local socket server to act as a tunnel

I have developed a socket server in Python that runs on my Windows 11 device and another one on my cloud server. My goal is to tunnel all the traffic from my device to the cloud server through these ...
AmyyazdaN's user avatar
  • 121
0 votes
0 answers
64 views

Port forwarding cyclic rules

I am trying to use netsh command to port forward some ports so that I can redirect traffic from devices on my LAN to applications running locally. I have setup port forwarding via netsh netsh ...
de5tro's user avatar
  • 1
1 vote
0 answers
374 views

Set Windows Firwall to block all outbound but allow DHCP and web use

I am trying to set Windows firewall to block default public profile, but am having difficulty when outbound activity is set to block by default, despite including allow rules for DHCP and DNS. Failure ...
Sbolt_'s user avatar
  • 11
0 votes
1 answer
278 views

Create Hotspot Without WPA or Password

Setting up a network for my area to provide free WIFI, but there doesn't seem to be a way to create a hotspot without WPA2 even using the netsh commands with empty password like I see repeated 1000 ...
Kyle's user avatar
  • 1
0 votes
1 answer
198 views

Backup & Restore Winsock?

In the process of doing some troubleshooting and running the netsh winsock reset command, and was wondering if anyone is aware of a way (or app) to backup the current winsock catalog (and/or ...
J. Scott Elblein's user avatar
0 votes
1 answer
887 views

Blocking an ip with netsh

I know that netsh advfirewall firewall add rule name="name" dir=out remoteip=%IP% protocol=TCP action=block blocks the IP, and we can find the IP by simply pinging it. I used to use it to ...
mark's user avatar
  • 1
2 votes
0 answers
593 views

Can't remove port from excludedportrange

I cannot remove port 80 from excludedportrange. Here's the complete list of exclusions (run in elevated cmd): C:\Users\CptBartender>netsh int ipv4 show excludedportrange protocol=tcp Protocol tcp ...
CptBartender's user avatar
0 votes
0 answers
16 views

Facing an issue after running “netsh wlan show profiles” command [duplicate]

I want to retrieve password of an old WiFi connection but when I run `netsh wlan show profile command it shows: what should I do?
Muhammad Habibi's user avatar
1 vote
1 answer
410 views

How can I escape single quotes in cmd parameter?

I wanted to display a network profile in cmd using netsh, with netsh wlan show profile name="JohnDoe's iPhone". This WiFi name has an apostrophe in it, as you can see. The command responds ...
edddd's user avatar
  • 189
0 votes
1 answer
871 views

How do I create and setup a network interface for Windows 10 on a VPS?

I've installed Windows 10 on a VPS machine. Now I'm connected to the virtual terminal to access RDP and it says no internet connection. I've opened terminal and now looking at the interfaces so far, ...
User's user avatar
  • 841
0 votes
1 answer
3k views

Create batch to add firewall rules

Is there anyway to create a batch to run the following codes ? I made the batch file but not able to get the job done. :Allow IPV4 Ping netsh advfirewall firewall add rule name="ICMP ...
VB88's user avatar
  • 423

15 30 50 per page
1
2 3 4 5
15