Professional Documents
Culture Documents
>systeminfo /displaydns : Displays the contents of the DNS client resolver cache, which
Displays detailed configuration information about a computer and its includes both entries preloaded from the local Hosts file and any recently
operating system, including operating system configuration, security obtained resource records for name queries resolved by the computer.
information, product ID, and hardware properties, such as RAM, disk space,
and network cards. /registerdns : Initiates manual dynamic registration for the DNS names and IP
addresses that are configured at a computer.
>msconfig
/showclassid Adapter : Displays the DHCP class ID for a specified adapter.
>hostname
/setclassid Adapter [ClassID] : Configures the DHCP class ID for a specified
Displays the host name portion of the full computer name of the computer.
adapter.
>drwtsn32
>tracert [-d] [-h MaximumHops] [-j HostList] [-w Timeout]
Dr Watson diagnostics
[TargetName]
Run >eventvwr Determines the path taken to a destination by sending Internet Control
or Message Protocol (ICMP) Echo Request messages to the destination with
mmc.exe X:\WINDOWS\system32\eventvwr.msc incrementally increasing Time to Live (TTL) field values.
Event Viewer
>netstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]
>perfmon.exe [file_name] [/HTMLFILE:converted_file
Displays active TCP connections, ports on which the computer is listening,
settings_file] Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP,
and UDP protocols), and IPv6 statistics
Allows you to open a Windows XP Performance console configured with
settings files from Windows NT 4.0 version of Performance Monitor. -a : Displays all active TCP connections and the TCP and UDP ports on which
the computer is listening.
>regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
-e : Displays Ethernet statistics, such as the number of bytes and packets sent
/u : Unregisters server. and received. This parameter can be combined with -s.
/s : Specifies regsvr32 to run silently and to not display any message boxes. -n : Displays active TCP connections, however, addresses and port numbers
are expressed numerically and no attempt is made to determine names.
/n : Specifies not to call DllRegisterServer. You must use this option with /i.
>nslookup
/i:cmdline : Calls DllInstall passing it an optional [cmdline]. When used
with /u, it calls dll uninstall. Displays information that you can use to diagnose Domain Name System
(DNS) infrastructure. Before using this tool, you should be familiar with how
dllname : Specifies the name of the dll file that will be registered. DNS works. The Nslookup command-line tool is available only if you have
installed the TCP/IP protocol.
NETWORK
Use this utility to manually apply computer and user policy
WIN XP/2K COMMANDS from your windows 2000 (or newer) domain.
contig (works with NT4.0 and newer) msinfo32 (XP &smp; 2000)
A great defrag utility for NTFS partitions. An awesome diagnostic tool. With it you can get a list of
running processes, including the residing path of the
control (XP only) - unpublished! executable (great for manually removing malware) and get
Allows you to launch control panel applets from the detailed information about hardware and system diagnostics.
command line.
narrator (XP only)
control userpasswords2, for example will launch a helpful Turns on the system narrator (can also be found in
local user admin utility. accessibility options in control panel). Will will allow your
computer to dictate text to you.
defrag (XP only - NT4.0 and Win2k use contig) netsh (XP & 2000)
If you are running Win2k or NT4.0 there is still hope. Contig is A network configuration tool console. At the 'netsh>'
a free defrag program that I describe on the defrag page. prompt, use the '?' to list the available commands and type
"exit" to get back to a command prompt.
diskpart (XP only)
Use this command to manage your disk partitions. This is the nslookup (all)
text version for the GUI Disk Manager. A DNS name resolution tool.
driverquery (XP only)
Produces a list of drivers, their properties, and their versions. openfiles (XP Only)
Great for computer documentation. Allows an administrator to display or disconnect open files in
XP professional. Type "openfiles /?" for a list of possible
eudcedit (XP only) -unpublished! parameters.
Private Character editor. Yes with this program built into
Windows XP you can create your own font! Pathping (XP & 2000)
A cross between the ping and traceroute utilities. Who needs
findstr Neotrace when you can use this? Type "pathping <ip
Find String - similar to Linux's Grep. address>" and watch it go.