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

116 questions
0
votes
1 answer

Work Folders / IIS - Using Wrong Certificate - Ignoring Bindings

I can't seem to get Work Folders to serve using the correct certificate. I've bound it via netsh to a wild card certificate, and when I check "netsh http show sslcert" every binding uses the correct certificate. C:\Users\Administrator>netsh http…
NeonMonk
  • 31
  • 4
0
votes
0 answers

No connection available in pool. netstat RecvQ shows high number

In our servers there is one particular dependency (java jar), which makes a total of 1024 connection to various remote servers (the library works as a service discovery). Intermittently, it is observed that all the connection in the connection pool…
Pratyush
  • 101
  • 3
0
votes
1 answer

cmd - delete IP from rule (Windows Server 2008)

I'm banning IPs using the Windows Firewall with these commands in cmd (actually in C# but using the cmd): pushd advfirewall firewall set rule name="BlockedIPs" new remoteip="1.2.3.4" action=block protocol=any dir=in popd How do I remove a single IP…
0
votes
0 answers

OpenVPN: Setting DNS & WINS servers to Windows client, without DHCP

I have a few Windows 7/8 clients connecting to a Linux OpenVPN Server (tap). I'd like to set the clients' DNS and WINS servers upon connection. The OpenVPN isn't acting as DHCP server; there is an independent DHCP sever in the network. The most…
Zvika
  • 233
  • 5
  • 10
0
votes
1 answer

Block Inbound TCP Traffic For All IPs w/ Exceptions Using netsh

Trying to figure out a way to do this: netsh advfirewall firewall add rule name="ES 9500 (Block)" dir=in action=block protocol=TCP localport=9500 netsh advfirewall firewall add rule name="ES 9500 (Allow)" dir=in action=allow…
Nariman
  • 229
  • 3
  • 10
0
votes
0 answers

Block incoming DNS queries using netsh advfirewall

How do you do this with Windows firewall? iptables -I INPUT --in-interface ! lo -p udp --dport 53 -j DROP Ideally, if you can do this with netsh and so that it will survive whatever it is that Microsoft does with "Add Role". (Most of the net…
Des Cent
  • 41
  • 2
0
votes
1 answer

Problems using portproxy mapping on windows

I have a server app installed on windows server 2012 called air video server which on installation attaches to my local address [::1] instead of my network address [192.168.0.3] on port 45631, I need the server to be reachable at 192.168.0.3:45631.…
Paul
  • 180
  • 1
  • 1
  • 7
0
votes
2 answers

Has NETSH been replaced by PowerShell yet (Dec 2012)

Simple question: Can I avoid using NETSH in Windows Server 2008 R2 and instead use PowerShell CmdLets to manipulate things like HTTP? If so, what are some CmdLets to get me started and are they part of some extra module?
Luke Puplett
  • 939
  • 3
  • 16
  • 24
0
votes
2 answers

Windows 2008 core HyperV 4 ports open- what's required for remote management?

On a brand new install of Windows 2008 core (for use as a hyper V host( There are 4 ports open to the world: 135/tcp open msrpc 445/tcp open microsoft-ds 2179/tcp open unknown 49154/tcp open unknown I tried blocking one of them with the…
Rqomey
  • 1,055
  • 9
  • 25
0
votes
1 answer

How to set interface settings for WINS using netsh?

On the Advanced settings in the of a network interface Properties there is the WINS tab, where the address for the WINS server can be set. How do I add the address using netsh instead, for both interfaces with static addresses, and ones with…
paradroid
  • 868
  • 5
  • 15
  • 29
0
votes
1 answer

Changing Window XP Network configuration (IP Address, Subnet, Default GW etc) in CMD

I'm not able to permanently replace my Ip addresses using NETSH. I've tried all possible options but nothing. when I reboot the computer I get my old IPs. I'm this was done before... any idea? Thanks!! E.
edotan
  • 1,876
  • 13
  • 39
  • 57
0
votes
1 answer

netsh add IPs Batch Script

I am trying to add a large block of IP addresses to our NIC in Server 2008 R2. For some reason this isn't working from the command line or from a batch file though. FOR /L %A IN (131,1,190) DO netsh interface ipv4 add address "Local Area Connection"…
Aidan Knight
  • 650
  • 3
  • 11
  • 19
0
votes
1 answer

Netsh Classless Static Route DHCP Option

I want to add netsh command to set Classless Static Route 249 in DHCP Scope, I use this command but it gave me an erorr, I am using windows server 2003 R2 netsh dhcp server \SRVDC01 scope 10.0.17.45 set optionvalue 249 IPADDRESS 10.0.0.0 255.0.0.0…
user19049
  • 487
  • 2
  • 14
  • 25
0
votes
2 answers

Is netsh available on 64-bit Windows Server 2008?

I'm trying to configure a port with an SSL-certificate on a machine running Windows Server 2008. Configuring the port with netsh on my local computer (Windows 7) works just fine, but I just can't find out how to get netsh for the Windows Server…
aspartame
  • 103
  • 4
0
votes
1 answer

If I reset the Windows Firewall with netsh will programs re-prompt for access?

If I run the following command: netsh advfirewall reset The windows firewall will get flushed back to it's defaults and looses any program specific rules. Will programs that require firewall access start prompting the user after the reset is…
Bob
  • 2,569
  • 3
  • 26
  • 22