Saturday, August 26, 2006

NETSHELL - Tip #1

The NETSH(ell) command is a very powerful tool included in the Windows 2K+ systems. The following article brings you a few tips on using this command - have a nice one!

A)
I have seen a problem a few times where Windows XP computers do not want to change their IP addresses after a move from one network to another. It's like some part of the computers IP stack is still attached to the old IP address - and this happens even though you use IPCONFIG /RELEASE & /RENEW!

Well, in this case the NETSH command is very useful, try this:

NETSH INT IP RESET C:\IPRESET.TXT

After executing the command you IP stack is rebuild in a few seconds.

B)
Some spyware and other awful software replaces parts of the Winsock Catalog for "sniffing" purposes - when this crap is removed (by anti-spyware apps for instance) you will sometimes find that your Internet connection is no longer up and running. In this case try the following command:

NETSH WINSOCK RESET

After executing the command you must restart your computer for the changes to take effect. When the system is back up and running you may have to reset the IP stack (tip 1A) - and you should be up and running again now.

C)
Within Help & Support you may have found the Network Diagnostics Tool which tests the computers network access in detail - it's actually pretty good, but seldom used I think. If you (like myself) are a command line junkie, you (or a user) can launch the tool by running the following command:

NETSH DIAG GUI

After executing the command a nice HTML interface (The Help & Support page) pops up and you can click "Scan your system" which will end up with a network report.

All for now - CYA!

0 Comments: