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.

0
votes
0answers
54 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
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
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 ...
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 ...
0
votes
0answers
79 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 ...
0
votes
2answers
112 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
1answer
166 views

netsh “Error: 87 The parameter is incorrect” when using hostnameport

I am using the following netsh command successfully: netsh http add sslcert ipport=127.0.0.1:9000 appid={7B8DB713-2C51-41B5-AE6F-6DAA07833DBE} certhash=69fed34fdf164e7feac5e17823b94d0f30ab05c5 but ...
0
votes
1answer
16 views

WIFI auto connect for HTPC in server 2016 standard

I have a htpc that connects to the internet using WIFI as well as gets it lan connectivity through WIFI. Its running server 2016 standard. The machine is set to connect automatically however, when ...
0
votes
1answer
412 views

Netsh interface ip set dns register

One of the parameters of the command Netsh interface ip set dns is register. What is its purpouse? I do not understand the explanations given in the help. Which value is set to this parameter if I set ...
1
vote
1answer
113 views

netsh reset caused net to fail with VPN

So I ran the these lines to fix making a hotspot (would not assign IP address). netsh winsock reset catalog netsh int ipv4 reset reset.log After this, the net works fine. But when I connect with my ...
0
votes
0answers
39 views

Remove Wi-Fi known network from command line / net shell (profile not saved)

Is it possible to remove a Wi-Fi known network (see below) from the command line / net shell in Windows? Not a profile Known network from Windows 10: Settings -> Network & Internet -> WiFi -> ...
0
votes
1answer
234 views

Windows route selection and “route print -6” vs “netsh interface ipv6 show route”

So I'm using Windows 10 and I need to redirect some IPv6 multicast traffic to a specific interface (a USB-Ethernet adapter to be more specific). By default all multicast traffic is going to my WiFi ...
5
votes
1answer
956 views

How to toggle Wi-Fi in Windows 10 via the command line?

If I try to connect to a wireless network using netsh wlan connect when the Wi-Fi toggle switch is off, the following error is displayed: Function WlanGetAvailableNetworkList returns error ...

15 30 50 per page