Wednesday, August 10, 2011

Troubleshoot network problems with Windows XP's Netsh Diag commands

The Netsh command's Diag context allows you to perform a number of networkoperations that can be very useful in troubleshooting. The main commands in theDiag context include:

•Connect: It allows you to connect to news, mail, and proxy servers.
•Ping: It allows you to ping WINS, IP, news, mail, proxy, DNS, and adapters.
•Show: It displays mail, news, proxy, computer, operating system, network adapter, modem, and network client information.
To access the Netsh command's Diag context:

1.Open a Command Prompt.
2.Type Netsh and press [Enter].
3.Type Diag and press [Enter].
4.Type any one of the main commands and you'll see a complete list of all the sub commands that fall under the main command.

XP startup prob: blue screen, reboot, repeat [Solved/Closed]

Problem Case :- get a blue screen that reads: STOP: c0000221 {Bad Image Checksum}

Solution :-
1. Try to "disablee automatic restart on system failure" from the menu.
2. If the same problem happens, try F8 Screen
- safe mode
- last known good configuration
- debugging mode
3.If you can boot into safe mode, then try to go to /START/All Programs/Accessories/System Tools/Restore.
Pick out a restore point at least one day before problem appeared.

4.If you can not boot windows at all, then you can try to fix the boot.ini file:
Boot to c:
Then type in the following:
CD\
ATTRIB -H C:\boot.ini
ATTRIB -S C:\boot.ini
ATTRIB -R C:\boot.ini
DEL boot.ini
BOOTCFG /REBUILD
answer 'Y' to ADD question
answer 'Windows XP (Home/Pro/Media Center <- whaever yours is) to ID question
set load= /fastdetect /noexecute=option
Now fix HDD with:
CHKDSK C: /R /F
FIXBOOT
EXIT

Registry Mechanic is a great tool that will help prevent this from happening in the first place. I hope this helps.