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.
0
votes
1answer
37 views
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 ...
0
votes
0answers
76 views
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 ...
0
votes
1answer
64 views
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 ...
1
vote
0answers
121 views
Any way from a command line to change the DNS suffix of a Win7 PC?
I need to change the DNS suffix on Win7 PC's. Netsh does lots,
but I can't find this in there. Any way to change it in a batch file (such
as a logon script)?
0
votes
2answers
165 views
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 ...
-1
votes
2answers
158 views
How to use command line to identify the IP range of the current DHCP scope? [closed]
I'm writing an instructional for some network configuration, and part of it consists of having to know the IP range of the any DHCP scope(s) within the current subnet. I need a universal solution ...
1
vote
2answers
169 views
netsh doesn't provide commands
According to Netsh Commands for Wired Local Area Network (LAN) in Windows Server 2008 and Windows Server 2008 R2, netsh should provide commands such as
netsh add profile filename="profile.xml" ...
3
votes
1answer
513 views
Use a separate Teredo server and Teredo relay in Windows
All documentation (including microsoft's) about Teredo mentions the existance of Teredo Servers and Teredo Relays (and host-specific relays). Microsoft itself even runs public Teredo Servers (but no ...
1
vote
1answer
358 views
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 ...
0
votes
2answers
867 views
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 ...
4
votes
1answer
416 views
Windows Firewalls iptables equivalent
I'm looking for an equivalent for iptables in windows, recently my server has been getting hit by a DDoS and I know how to block it using iptables but not in Windows.
I'm looking to do something ...
1
vote
1answer
314 views
Why isn't IIS 7.5 picking up netsh iplisten list?
When I execute the command
netsh http show iplisten
It returns a list of IP addresses I added manually:
IP addresses present in the IP listen list:
-------------------------------------------
a
b
...
3
votes
2answers
887 views
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: ...
0
votes
1answer
562 views
Windows virtual wifi hostednetwork - set max number of clients?
I'm building an app that has functionality that creates on the fly a new virtual wifi utilizing the Windows 7 / 2008 features. I can create it just fine, but am looking how to limit the maximum number ...
0
votes
1answer
270 views
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 ...
0
votes
1answer
82 views
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?
...
2
votes
2answers
154 views
Changing IP address via CMD on windows XP
Im trying to change a machine ip address vi CMD with this code:
netsh int ip set address name="Local Area Connection" source=static addr=???.???.???.??? mask=255.255.255.0
The problem that the IP ...
1
vote
0answers
323 views
How to allow RDP through IPSEC using netsh advfirewall command
I have an offsite windows server 2008 R2 server. And an ipsec tunnel set on our router here plus a connection security rule in Advanced Firewall on the server. I have ssh access to the console on the ...
2
votes
1answer
639 views
TCP offloading/NetDMA & magic commands
Can someone explain to me why:
netsh interface tcp set global autotuning=disabled
netsh interface tcp set global chimney=disabled
netsh interface tcp set global rss=disabled
is a "magic fix" for ...
0
votes
1answer
721 views
Upgrading ipseccmd script (XP) to WIndows 7 using netsh
Current script:
cd "%ProgramFiles%\Support Tools"
ipseccmd -w REG -p "IGA-B-Gone" -r "Block Outbound connections to IGA servers 72.3.184.144/28" -f 0=72.3.184.144/255.255.255.240::TCP -n BLOCK -x
...
1
vote
1answer
382 views
Windows Server: Multiple reserved ip's delete
As far as I know using the command:
netsh dhcp Server serverIP Scope x.x.x.x delete reservedip reservationip macaddress[..]
Will delete a single reserved ip, is it also possibile to delete a whole ...
3
votes
2answers
1k views
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 ...
1
vote
2answers
453 views
Check if a specific IP address exists on local NIC
I'm looking for a simple script or batch method for checking the existence of a specific IP address (being moved between machines via NETSH) on the local network card. I need to start up certain ...
0
votes
1answer
196 views
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 ...
2
votes
1answer
809 views
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 ...
1
vote
2answers
713 views
Bind ADFS 2.0 service to a specific IP address
I have one server with ADFS-2.0 and a few websites on it. One of the websites is Dynamics CRM which listens on a specific IP address on port 443.
Dynamics CRM provides a metadata file for ...
0
votes
1answer
2k views
Netsh, how to open ports in windows firewall for WMI?
How can you open ports in windows firewall for WMI using netsh command ?
On windows vista and newer MS OS-es you run this command
netsh advfirewall firewall set rule group="windows management ...
0
votes
1answer
117 views
Windows Raw TCP traffic and ICS
We have a software project where we use a Windows XP SP3 PC to route all IP traffic from a remote PC connected via a radio interface. We are accomplishing this using the winpcap library to send the ...
4
votes
2answers
2k views
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
...
1
vote
0answers
546 views
How do I enable multicast routing in Windows XP
I have successfully set up a Windows XP machine as an IPv6 router using netsh, that is, it announces prefixes and forwards packets on two interfaces, as verified by pinging.
Now I'd like to forward ...
0
votes
1answer
683 views
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 ...
0
votes
2answers
534 views
netsh dhcp isn't working on Windows Server 2008
Gents,
I am trying to run the following command on a fresh Windows Server 2008 box.
netsh dhcp server 10.2.x.x scope 10.2.x.x show client
and I am given the following error
the following command ...
0
votes
2answers
550 views
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 ...
1
vote
1answer
1k views
How do I rename a network interface using netsh?
I'm building my first Windows 2008 Server Core machine (running R2) and want to rename the IPv4 network interfaces to something more meaningful.
It seems most likely that this is done using netsh ...
0
votes
1answer
170 views
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 ...
2
votes
1answer
6k views
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 ...
2
votes
1answer
2k views
IAS migrate from 2003 server to 2008 r2
I have recently upgraded all our DC's from 2003 svr to 2008 r2 servers.
I had a radius server in the existing environment for 8021x authentication.
I successfully exported the configuration to a text ...
1
vote
4answers
3k views
Need to change IP addresses on 35 servers remotely
We are going through a network redesign and I have 35 Windows 2003/2008 servers at a remote location that I need to change the IP address, gateway and DNS informaiton for.
Ideally I would like to be ...
0
votes
2answers
654 views
How to avoid dialog box when running netsh
I'm trying to use a netsh script to change the IP address on a box that's headless. This works fine, unless there's an IP conflict. When an IP address conflict occurs, I see a dialog box that says ...
2
votes
4answers
2k views
Is there an equivalent to “netsh dhcp” on Linux / BSD
I have a DHCP server running on Windows 2003 Server. I'd like to query the lease database to find details on a lease for a specific IP. How do I do this remotely from Linux?
There is this command on ...
2
votes
1answer
495 views
Why aren't “Windows Firewall with Advanced Security/Connection security rules” and netsh in sync?
The screenshot pretty much says it all:
I don't understand. If I create rules in the MMC snap-in, they don't appear in netsh, if I create rules in netsh, they don't appear in the MMC snap-in. What ...
1
vote
1answer
1k views
Dhcp context is missing from windows xp netsh
How can I add the dhcp context using netsh commands on Windows XP ?
1
vote
1answer
2k views
DHCP lease information to file
Is there a command where I can convert the mac address column of the DHCP lease to txt file or CSV?
I am setting up mac filtering on a wireless controller but just want to use copy and paste instead ...
1
vote
3answers
838 views
WINS tool missing from netsh
I run up 'netsh' on my Windows XP box, and type
help
One of the options is wins (to change to the 'netsh wins' context).
From the netsh context I can type "wins" and I get into the wins context ...
1
vote
5answers
7k views
Windows 2008 Corrupt TCP/IP? (Ping access denied)
I'm having a weird problem on two Windows 2008 VMs (inside HyperV) running NLB. They were working at one point, but now TCP/IP appears to be corrupt. I cannot ping anything if logged in with my Domain ...
