Questions tagged [netsh]

In software, netsh, or network shell, is a utility included in Microsoft's Windows NT line of operating systems beginning with Windows 2000. It allows local or remote configuration of network devices.

In software, netsh, or network shell, is a utility included in Microsoft's Windows NT line of operating systems beginning with Windows 2000. It allows local or remote configuration of network devices.

Technet Article

112 questions
25
votes
3 answers

netsh.exe: Error 87

I'm having some trouble creating a urlacl reservation in Windows Server 2008; probably this a rookie mistake. The command line I'm using is: netsh http add urlacl url=http://+:99898/ user=ben The error that I see is: Url reservation add failed,…
Ben
  • 353
  • 1
  • 3
  • 7
16
votes
3 answers

What exactly does netsh int ip reset reset?

Having got this problem and found this solution I think I should perhaps try netsh int ip reset reset command but I am afraid it can reset some important settings and disable me from reaching the server remotely. So what exactly does it reset?
Ivan
  • 3,288
  • 19
  • 48
  • 70
16
votes
6 answers

How can I use netsh to find a rule using a pattern

I'm wondering whether anyone in Microsoft has ever come to a situation where they can't remember a rule's name! The netsh advfirewall firewall show rule only accepts 1 name and no pattern matching facility is available on netsh to help find a rule…
Achilles
  • 412
  • 2
  • 8
  • 17
15
votes
4 answers

Can we use wildcards with NETSH HTTP ADD URLACL in Windows 7 / 2008r2?

i'm using IIS7 express and therefore need to unblock port 80 if I wish to hit the website locally and on the default http port. To do this, i use .. netsh http add urlacl url=http://my.custom.locahost.domain.com:80/ user=mydomain\myusername is it…
Pure.Krome
  • 6,338
  • 17
  • 72
  • 86
10
votes
1 answer

Can I redirect/route IP adress to another IP address (windows)

Can I map 146.112.61.106 IP address to my 127.0.0.1 adress ? so when I type 146.112.61.106 I got redirected to 127.0.0.1 ? (some netsh command maybe ?)
yarek
  • 797
  • 4
  • 12
  • 21
10
votes
1 answer

How do I dump raw data from a TCP port in Windows using the netsh command?

I have an apparently simple issue which is proving very difficult to find an answer for. The site has a highly-secured Windows Server 2019 installation and an appliance connected to it running on a certain TCP port. I need a sample of the raw data…
Ruslan
  • 243
  • 1
  • 6
7
votes
2 answers

How to run VisualSVN Server on port 443 running IIS on same server?

Server 2008 R2 SP1 VisualSVN Server 2.1.6 The IIS server has about 10 sites. One of them uses https over port 443 with the following bindings: http x.x.x.39:80 site.com http x.x.x.39:80 www.site.com https x.x.x.39:443 VisualSVN Server…
Metro Smurf
  • 209
  • 1
  • 3
  • 12
7
votes
4 answers

How do I disable the firewall on a single interface in Windows 7?

We're using openvpn to provide access back from XP to work. We use AD policies to ensure the XP firewall is up when off the domain and down when on the domain. With openvpn, you end up with a new network interface, and when you're off the domain and…
jhaar
  • 181
  • 1
  • 1
  • 5
6
votes
1 answer

Is ECN (Explicit Congestion Notification) turned on by default on Windows Server 2012?

In a company network I noticed that all examined Windows Server 2012 machines had ECN turned on: > netsh interface tcp show global TCP Global Parameters ---------------------------------------------- ... ECN Capability :…
5
votes
2 answers

Deallocated Azure VM Loses IPv4 DNS Address

I deallocate my development Azure VMs every night to conserve my credits. My VMs are all on one vnet using a domain controller. Since it is on the subnet, the domain controllers address never changes. Every day when I start up my VM I have to…
5
votes
1 answer

How to get a list of sites in IIS 7.5 binded to a certain ssl certificate using command line

Situation: an IIS 7.5 server with 30+ sites and 10+ certificates and a few certificates may be obsolete. Obsolete means they're not binded to the ip:port of any site on IIS. I could check each site bindings through the GUI, but that seems not the…
5
votes
2 answers

Unable to increase the dynamic port range on Windows Server 2008

I'm trying to "tune" the TCP/IP stack on some Windows Server 2008 machines by following the instructions here:…
Kiril
  • 179
  • 1
  • 4
  • 10
4
votes
1 answer

Disable DHCPv6 client in Windows

I don't quite understand the link between 4 parameters related to IPv6 stateful and stateless autoconfiguration used under netsh int ipv6 set interface command context in Windows: advertise routerdescovery managedaddress otherstateful From what I…
Chris
  • 260
  • 1
  • 4
  • 15
4
votes
2 answers

Windows firewall, netsh, block all ips from a text file

am using the following scrip to block ip's from a text file into the windows firewall. I'm using windows 2008 R2 @echo off if "%1"=="list" ( netsh advfirewall firewall show rule Blockit | findstr RemoteIP exit/b ) :: Deleting existing block…
Chris
  • 97
  • 2
  • 8
4
votes
1 answer

netsh advfirewall set store gpo: %COMPUTERNAME% does not work

I am in charge of a group of computers that process highly confidential data. They cannot be connected to the Internet or even the company network, only a network drive. So I wrote a batch file on the network drive and run it on each computer to…
KFC
  • 43
  • 5
1
2 3 4 5 6 7 8