Windows server 2003/2008 – How to check network connectivity

Posted by aidas | Posted in Command line, Networking, Windows 2003, Windows 2008 | Posted on 07-05-2009

0

If you have network connectivity problems on your Windows server 2003 this how to is for you. Lets say we have problem with connecting to network resource and want to troubleshoot this. Open command line on your server and type:

netdiag

These tests are performed by running netdiag:

# Netcard queries test
# IpConfig test
# Autoconfiguration test (APIPA)
# NetBT name test
# WINS Service test
# Default gateway test
# NetBT name test
# WINS Service test
# Domain membership test
# NetBT transports test
# Autonet address test (APIPA)
# IP loopback ping test
# Default gateway test
# NetBT name test
# Winsock test
# DNS test
# Trust relationship test
# Kerberos test
# LDAP test
# Bindings test
# WAN configuration test
# Modem configuration test
# IP Security test
# Redir and Browser test
# DC discovery test
# DC list test
# Trust relationship test
# Kerberos test
# LDAP test
# Bindings test
# WAN configuration test
# Modem configuration test
# IP Security test

Note that netdiag is part of Windows server 2003 support tools. They can be found on your OS CD (Support\Tools) .

Windows server 2008 – How to export network configuration to file

Posted by aidas | Posted in Command line, Networking, Windows 2008 | Posted on 05-05-2009

0

If you want to export your network configuration to a file we will show how to do that. In our case we will export it to networkcfg.txt . Open command line on your Windows server 2008 and type:

netsh -c interface dump > networkcfg.txt

If you`ll need this configuration on this or other server you can import it with this command:

netsh -f networkcfg.txt