Questions tagged [netsh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-4
votes
0answers
67 views

How to remove Loopback Pseudo-Interface 1 and what is it?

guys i tried almost every way i think to remove it but it doesnt work, what can i do? i read that its microsoft interenter link description herenet or something but i dont need it so i would like to ...
2
votes
1answer
63 views

Internet Connection Sharing + Port Forwarding range

I'm using Internet Connection Sharing from a Windows 10 computer in order to give a device internet connection and would like to use port forwarding from this connection as well but I need to add a ...
0
votes
0answers
16 views

Cannot connect to network (Network Connections empty, troubleshooting worsened it)

This is on a Windows 10 x64 PC: Initially, I could connect to the network, but unable to ping, then in trying to fix this, I unfortunately followed the advice on this page: https://windowsreport.com/...
0
votes
0answers
14 views

Setting HTTP Proxy using netsh winHTTP not working on windows server 2012 R2

We're trying to set the proxy on our Windows 2012R2 server using the netsh via an Admin CMD prompt Netsh winhttp set proxy 127.0.0.1:80 After doing this the Netsh winhttp show proxy command shows the ...
0
votes
1answer
21 views

How to route tcp traffic from all/range of ports to a single port?

I would like to do something that's possible with IPTABLES(for linux), on a Windows 10 - that is to route multiple ports to a single port. I thought I'd manage to do it with netsh, but it doesn't ...
1
vote
0answers
21 views

How to set or prevent Dynamic Port Range for a single process

It is impossible to open ports for a software that use a Dynamic Port Range (Ephemeral Port). Under Windows I can set the whole Dynamic Port Range with: netsh.exe interface ipv4 set dynamicportrange ...
0
votes
1answer
30 views

How to connect/disconnect a network not found by netsh?

I use a network which can be found with ipconfig but cannot with netsh wlan show networks or netsh wlan show interfaces. I assume this may not be a wlan network but something else. I know it's ...
0
votes
0answers
57 views

Add radius account to wlan profile as vb.net or netsh

We're currently working on a simple program at vb.net. It is a wireless connection program that will be used within the company and has two SSIDs and 802.1x authentication. However, users are unable ...
1
vote
1answer
66 views

Exclude route from netsh interface

My setup is as follows: Windows 10, Corona forced home office, I'm an external contractor at a huge company I'm connecting to the VPN of my company, called MyVPN, some internal IPs of our client are ...
0
votes
0answers
22 views

Filter not listed in netsh wfp show filters

I was trying to debug what is blocking me from casting to chromecast. I turned on event loggin in auditpol so i was able to catch that some rule is blocking incoming connections from chromecast on ...
0
votes
1answer
52 views

How to show keys in netsh without mentioning the name parameter

Queria saber se no netsh show profiles key=clear,ao invés de colocar o ssid de cada rede para ver o "Conteúdo da chave", poderia mostrar de uma forma geral. Já tentei usar o "*" no name,mas não deu ...
0
votes
0answers
15 views

Configure Windows to route all traffic to a TAP device from a terminal

I have an application which creates a TAP device on Windows and behaves like a VPN, but which is not OpenVPN-based and does not have the ability to configure routes itself, for instance. I need to a ...
1
vote
0answers
41 views

How to clear the state of Windows filtering platform?

To troubleshoot firewall I use: netsh wfp show state this generates xml file for all the dropped packets and firewall state. the problem is that this file is 13 MB, and it keeps growing each time I ...
0
votes
1answer
152 views

A Windows 10 service is using ports 40 and 443. How can I change them?

I want to use ports 80 and 443 for Apache server but they are reserved for a windows service as shown by netsh http show urlacl see output here Firewall inbound rules show that BranchCache Hosted ...
0
votes
0answers
141 views

using a microsoft virtual router on USB wifi device

I wanted to configure my laptop (windows7) in such a way that I can connect many android mobile phones I have to wifi network via my laptop's wifi connection. So I came across some softwares like ...
0
votes
2answers
41 views

How to create a scheduled task that blocks access to the Internet but not to the local network?

I need your help. I should to create a scheduled task that blocks access to the Internet but I must have access to the local network. Also this task should work on weekdays from 8:00am to 5:00pm.
0
votes
0answers
43 views

Wifi2 and Wifi 2 adaptors and 2 profiles which adapter belongs to which connection

I have an HP Laptop 15-bs0xx. I have 2 Wifi Adapters. One onboard Realtek Wifi and another external USB Dlink Wifi. Below are screenshots. You can see both wifi connections in drop down.Wifi and ...
0
votes
0answers
549 views

finding the reason for being disconnected from wifi network

I am behind a firewall known as Sophos. I use Windows 10. I am facing some challenges in my Windows 10 I am getting frequently disconnected from my wifi . .There are power outages in my network but ...
0
votes
0answers
21 views

netsh commit single line

I need to run remotely this command as an administrator on more than 200 computers: netsh http add urlacl url="http://+:5555/" user=Everyone (I just started using this command) The problem was that ...
0
votes
0answers
164 views

netsh on Windows Server 2019 without Administrator elevation

I have a batch file which I use as a shortcut to switch a certain network adaptor between one of 5 different IP addresses, depending on which plant I'm connecting to with it. The code is essentially ...
0
votes
1answer
386 views

Windows 10 route keeps coming back after a while every time I delete it with route delete, how can I delete route for good?

Initially I had a raspberry pi/pi2 on my network beating my router dhcp server and serving up IPs and because of some default options Windows clients started receiving the IP address of the pi2 dhcp ...
0
votes
0answers
9 views

netsh: specifying an interface by its index?

For some reason, Windows 10 provides an on/off toggle button for Wi-Fi but not for Ethernet. So, on laptops you can easily enable/disable internet connection but not on desktops, which usually only ...
1
vote
0answers
65 views

“netsh wlan connect” always outputs success, never actually connects

I'm running a portable hotspot on my phone. I wanted to connect to it using batch, so I created a profile file, added it as a profile with netsh and tried to connect. Netsh claims the request was ...
0
votes
1answer
168 views

Netsh http command gives me an invalid handle error message

When running netsh http delete iplisten ipaddress=0.0.0.0 i get the error message displayed below. IP address delete failed, error: 6 The handle is invalid Anyone have an idea as to why?
2
votes
1answer
1k views

“netsh wlan show networks” only shows the currently connected WiFi network

I am using Windows 10 Pro. Often when I run "netsh wlan show networks" it only shows the currently connected WiFi network. Here is the output from that: Interface name : Wi-Fi There are 1 ...
0
votes
0answers
2k views

netsh wlan show profiles name=“name” key=clear"

I wrote in cmd with administrator rights this "netsh wlan show profiles name="name" key=clear" but I dont see the password of the wifi, only "key content: available". Anybody know whats happend? ...
1
vote
0answers
120 views

Connect from cmd to WiFI with emoji in its name

How can I connect to a WiFi network that its name contains emojis? I tried the regular way of netsh wlan connect name="name" ssid="ssid", and also with different encoding types. Tried also to copy ...
0
votes
0answers
27 views

I can access website even after I create firewall rule to block it’s IP address

I want to block specific IP address like this: netsh advfirewall firewall add rule name="BlockIP" dir=out interface=any action=block remoteip=216.58.201.110 When I execute this command, I cant ping ...
0
votes
1answer
291 views

How do I make it so port http://127.0.0.1:3000 connect to the World Wide Web in Windows

I have a Node Application running on a Server, with a Static IP @ 172.168.355.27 On it is a node server is running locally, it can be address through localhost:3000 or 127.0.0.1:3000 This is a ...
0
votes
0answers
468 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
44 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 ...
2
votes
0answers
30 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
96 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
486 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 ...
3
votes
1answer
2k 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
29 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 ...
1
vote
1answer
3k 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
221 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
61 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 -> ...
1
vote
1answer
1k 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
3k 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 ...
1
vote
3answers
2k views

Can't enable “Wi-Fi” interface via command line (Windows 10)

I'm trying to figure out how to enable the "Wi-Fi" interface in Windows 10, so that I can connect to a wireless network later using netsh wlan connect. After starting cmd with administrative ...
1
vote
3answers
2k 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 ...
3
votes
0answers
505 views

What privelges do I need to run wlan report on windows 10

I have started a powershell/cmd session with admin priveledges and run netsh wlan show wlanreport but it tells me that You must run this command from a command prompt with administrator privilege. ...
1
vote
1answer
592 views

Add firewall rule while Windows Firewall service is disabled

While Windows Firewall service is disabled trying to apply this ↓ command netsh advfirewall firewall add rule name="My App (HTTP-In)" dir=in action=allow protocol=TCP localport=1234 remoteip=...
0
votes
0answers
152 views

Netsh batch file, wont remember the gateway

I'm making a little batch file to change some network adapter settings: Can anyone please explain why this works: netsh interface ipv4 set address name="Local Area Connection" static 192.168.1.11 ...
0
votes
1answer
527 views

netsh in command line to change adaptor settings?

I have been playing around with netsh to make some changes to the network adpater on a machine called "Local Area Connection" I would like to change the IP, SUBNET, GATEWAY & DNS IP: 192.168.1.10 ...
0
votes
1answer
265 views

How to find out IP address and default gateway in XP in cmd when DHCP is enabled?

When DHCP is disabled and network is setup manually, I can run netsh interface ip show config to see IP address and default gateway. However, when DHCP is enabled I can see only that DHCP is enabled ...
1
vote
1answer
246 views

Can't connect to a wireless network using cmd

Im trying to connect my phone to my PC via FTP and open the FTP with Windows Explorer using the cmd. Below are the codes: @echo off echo Setup connection to ftp 192.168.43.1 ipconfig | findstr /...
1
vote
1answer
8k views

How to use Netsh wlan when SSID contains whitespace?

I cannot use netsh WLAN command when the network I am trying to work with contains whitespace. For eg: While working with a network with SSID "Some Network" C:\Users\Padmanava>netsh wlan show ...