Discussion on:

12
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
My favorite NETSH command is "netsh diag ping adapter 1" which will ping the default gateway, the DNS server(s) and my own IP address. I now prefer it to the standard ping and ipconfig commands under most circumstances.
Thanks for posting it.
0 Votes
+ -
Awesome!
IdealTraining@... 23rd Feb 2009
Great tool that I never knew existed - thanks for your post!!
0 Votes
+ -
I've used this tool for static to DHCP conversions and it works great.

In addition, I find it useful to keep backup copies of all my DHCP configs with this because I can quickly redeploy it if the server fails and needs to be replaced.
0 Votes
+ -
Commands
wfoote@... 27th Nov 2006
Does anyone know the netsh command that will rebuild the TCP/IP stack?
0 Votes
+ -
netsh winsock reset
0 Votes
+ -
I use "netsh int io reset." What is the differance between it and winsock?
0 Votes
+ -
Once after removing some spyware from a user's WinXP machine, i found the TCP/IP stack was corrupt. Uninstalling and reinstalling TCP/IP isn't an option anymore in the Network control panel. That's when i discovered Netsh. It saved the day. I believe the command i used was:

netsh int ip reset
I've used "netsh winsock reset" to fix a troublesome Windows XP Firewall/ICS that refused to start.
To (Re-)Start the firewall:
Start > Run > cmd > OK
C:\> netsh /?
C:\> netsh firewall /?
C:\> netsh firewall show /?
C:\> netsh firewall show opmode
C:\> netsh firewall set /?
C:\> netsh firewall set opmode mode = ENABLE
C:\> exit
NETSH is definitely a great commandline tool, however, it does have some really peculiar and annoying limitations. For example, you cannot use any of the DHCP-related commands on a remote system that runs a DHCP server unless the DHCP server service is installed locally, regardless if you are using it locally. In other words, the remote DHCP management is not available without DHCP server installed locally.

-- Rob "I" --
0 Votes
+ -
Having trouble using my XP host to static NAT and turned on loglevel=INFO in the "netsh routing ip nat" context. Hoped that would help troubleshoot, however, I can not find where the logs are written...not in Event Viewer. Does anyone know?
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.