Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [netsh]

The tag has no usage guidance.

2
votes
2answers
13k views

Windows WiFi hotspot - clients can't connect

I configured a WiFi hotspot on Windows, using the command line: netsh wlan set hostednetwork mode=allow ssid=ProvaMi key=pippo123 netsh wlan start hostednetwork netsh interface ip set address "...
2
votes
1answer
2k views

netsh hostednetwork disable WPA2 encryption (open network)

Internet connection sharing in windows is nice and easy using Virtual Wifi Mini-Port Adapters and the netsh command: netsh wlan set hostednetwork mode=allow ssid=<mySSID> key=<password> ...
13
votes
3answers
21k views

Force refresh (re-scan) wireless networks from command line?

How can I force Windows to re-scan for available wireless networks from the command line? (i.e. I'm looking for the command-line equivalent of pressing F5 on the GUI.)
0
votes
0answers
53 views

Remove IPv6 address from interface

How can I remove redundant addresses from network interface. I have a bunch of unnecessary ones, temporary and usual ones I do it like this netsh interface ipv6 delete address interface="Wi-Fi" ...
0
votes
1answer
26 views

Windows 10 - How to block a wifi network and restrict unblocking it without a password

Background I'm currently having some compulsive and addictive issues with using the internet (originally on my phone) that are seriously negatively affecting my life. I've completely blocked all web ...
0
votes
2answers
110 views

run as administrator doesn't elevate process

I am trying to run netsh wlan set hosted network mode=allow as administrator but when I run it from an elevated cmd, or powershell, netsh still replies that: You must run this command from a command ...
0
votes
0answers
18 views

Drop specific tcp flags in Netsh advfirewall

Working on sending raw packets in windows but couldn't perform tcp handshake. Does anyone know the equivalent of: iptables -A OUTPUT -p tcp --tcp-flags RST RST -s <IP> -j DROP In windows netsh ...
0
votes
2answers
3k views

DHCP issues, possibly related to Netgear N300 (DGN2200)

Installed 'new' Netgear N300 (DGN2200-100UKS model number) Day 1: Install Changed router IP to 192.168.1.1 Setup DHCP range to 192.168.1.50 - 100 All clients connected and working, 4 Pc's ...
0
votes
0answers
13 views

Changing network settings via netsh as non-admin domain user

After some research, I had managed to allow non-admin domain users to change their network settings (IP/gateway/DNS) on a network computer, via GPO Restricted Group method. However, the network ...
1
vote
2answers
13k views

Facing an issue in running “netsh wlan show profiles” command

Now I want to retrieve password of an old WiFi connection but when I run netsh wlan show profile command it shows There is no such wireless interface on the system I am able to connect to other ...
2
votes
0answers
15 views

How to limit the number of users who can connect to an Windows-based access point using netsh? [duplicate]

I have a Wi-Fi dongle with the RTL8188EUS chipset. I'm using it to make a access point from a computer that has Windows 7. However, I have noticed that the dongle shuts off when 12 or more people are ...
0
votes
0answers
17 views

Activating Public folder sharing

I'm trying to find a way to active "Public folder sharing" under "All networks" in the network and sharing center settings. I am looking for a way to automate this ie: using a netsh command or ...
1
vote
3answers
536 views

netsh error: The process cannot access the file because it is being used by another process

It is a server running Windows Server 2016 Essentials. Intuit, in all their infinite wisdom, wanted me to run this command on our file server: netsh int ipv4 add excludedportrange protocol=udp ...
0
votes
1answer
7k views

Access Point mode in USB WiFi adapters in Windows

Some USB Adapters, for example, many of the chips such as RTL8191SU, have option to set mode to either Station, or Access Point, or Soft AP. In Station Mode, it acts just as a WiFi client. In ...
0
votes
0answers
78 views

Hosts file changes don't apply for TCP connections

A program on my windows PC makes a TCP connection to a IP address e.g. 122.122.122.122 I have made a TCP server on my local machine and made the following change in my hosts file 192.168.1.123 ...

15 30 50 per page