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
2
votes
1 answer

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 file and successfully imported it into 2008 r2…
JohnyV
  • 938
  • 4
  • 26
  • 45
2
votes
0 answers

How to redirect IP address to another IP address using netsh windows tool?

My question is : how to redirect IP address to another IP address ex: 10.10.10.10 -> 20.20.20.20 (these IP are external) This answer shows me how to map IP adress to localhost. Can I redirect/route IP adress to another IP address (windows) Regards
yarek
  • 797
  • 4
  • 12
  • 21
2
votes
1 answer

Why aren't "Windows Firewall with Advanced Security/Connection security rules" and netsh in sync?

The screenshot pretty much says it all: consec http://uppix.net/7/3/4/eeb1c6e949b90932ca3bd8bfbda47.png 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…
Etienne Dechamps
  • 2,164
  • 8
  • 24
  • 28
2
votes
1 answer

Set gateway for specific ip destination and port

I have two internet connections. One has a static public ip address (WAN-STATIC gateway ip 10.0.0.1) and the other has a dynamic public ip address (WAN-DYNAMIC gateway ip 10.0.0.254). I wish to force traffic to specific ip addresses and ports to use…
Nebu
  • 147
  • 1
  • 1
  • 7
2
votes
0 answers

Trying to run a netsh batch with foreign characters

I am trying to run a batch file with the following content: netsh interface ip>set dns "Połączenie lokalne" source=dhcp The file is saved as ANSI. My Windows codepage is 1250, the OEM one 852. Thus, since Windows uses ANSI (ACP) while the console…
Tin
  • 21
  • 1
2
votes
2 answers

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 doesn't changed (checked by ipconfig) but doesn't…
edotan
  • 1,786
  • 12
  • 37
  • 57
2
votes
1 answer

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 so many problems involving network file transfers on…
Adam Baxter
  • 228
  • 2
  • 9
2
votes
1 answer

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 range (through netsh)? I could not find a syntax…
Abaco
  • 123
  • 1
  • 3
2
votes
3 answers

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 configuration purposes which could be used to configure a…
2
votes
0 answers

Using 'netsh interface ip set address' to override another adapter's address?

I'm one of the developers of the OpenConnect VPN client. We're trying to modernize and improve our support for Windows. We use a user-customizable JScript called vpnc-script-win.js to configure IPv4/6 addresses, routing, and DNS based on the…
Dan Lenski
  • 298
  • 2
  • 11
2
votes
0 answers

How to delete IPv6 DNS Servers via command line?

I can successfully delete IPv4 DNS Servers via command line on a Windows Server 2019 with the following command: netsh interface ipv4 delete dnsserver "My Ethernet" all After this command I execute ipconfig /all and see the following IPv6 DNS…
g.pickardou
  • 158
  • 8
2
votes
5 answers

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 Admin account: >ping 10.1.1.1 Unable to contact…
MichaelGG
  • 1,739
  • 8
  • 25
  • 30
1
vote
0 answers

Outbound NAT on Windows

I am starting to admin Windows server and have some troubles with network tools. I am trying to configure nat on Windows Server 2012. My Windows VM has two networks adapters, the first one connected to my private network with the settings…
1
vote
0 answers

When is "netsh.exe http update sslcert" available?

On some PC's running netsh.exe http update help shows the command netsh.exe http update sslcert and it works, but on other PC's it does not. (Both running Windows 10.) When was it introduced / removed? (netsh.exe is documented in various places, but…
Peter
  • 171
  • 5
1
vote
1 answer

How to enable folder sharing using netsh?

I'm trying to enable folder sharing for all. netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes Seems to work for File and Printer but netsh advfirewall firewall set rule group="Public folder sharing" new…
FoxyZ
  • 11
  • 3