PC Troubleshooting

Microsoft List of all CMD Commands

Listed below are commands not generally covering networking

Common useful commands
At - Schedules commands and programs to run on a computer at a specified time and date
Cls - Clears the Command Prompt window
Comp - Compares the contents of two files or sets of files byte by byte
Driverquery - Displays a list of all installed device drivers and their properties
find - Searches for a specific string of text in a file or files. After searching the specified file or files, find displays any lines of text that contain the specified string
findstr - Searches for patterns of text in files using regular expressions
finger - Displays information about a user or users on a specified remote computer (typically a computer running UNIX) that is running the Finger service or daemon.
for - Runs a specified command for each file in a set of files
ftp - Transfers files to and from a computer running a File Transfer Protocol (FTP) server service such as Internet Information Services
getmac - Returns the media access control (MAC) address and list of network protocols associated with each address for all network cards in each computer, either locally or across a network
help - Provides online information about system commands (that is, non-network commands). Used without parameters, help lists and briefly describes every system command
hostname - Displays the host name portion of the full computer name of the computer
ipconfig - Displays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings
label - Creates, changes, or deletes the volume label (that is, the name) of a disk
mmc - Opens Microsoft Management Console
mode - Displays system status, changes system settings, or reconfigures ports or devices. Used without parameters, mode displays all the controllable attributes of the console and the available COM devices. Because you can use mode to perform many different tasks, the syntax you need to use to carry out each task is different
more - Displays one screen of output at a time - command more
mountvol - Creates, deletes, or lists a volume mount point. Mountvol is a way to link volumes without requiring a drive letter
msiexec - Provides the means to install, modify, and perform operations on Windows Installer from the command line
Netsh - Interacts with other operating system components using dynamic-link library (DLL) files. Each Netsh helper DLL provides an extensive set of features called a context, which is a group of commands specific to a networking component
perfmon - Allows you to open the Performance console
schtasks - Schedules commands and programs to run periodically or at a specific time
set - Displays, sets, or removes environment variables
shutdown - Allows you to shut down or restart a local or remote computer. Used without parameters, shutdown will logoff the current user
start - Starts a separate Command Prompt window to run a specified program or command. Used without parameters, start opens a second command prompt window
subst - Associates a path with a drive letter. Used without parameters, subst displays the names of the virtual drives in effect
systeminfo - Displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards
system file checker (sfc) - Scans and verifies the versions of all protected system files after you restart your computer
taskkill - Ends one or more tasks or processes. Processes can be killed by process ID or image name
tasklist - Displays a list of applications and services with their Process ID (PID) for all tasks running on either a local or a remote computer
telnet - allow you to communicate with a remote computer that is using the Telnet protocol
        To install Telnet:
        1.   Open the Control Panel
        2.   Click on Programs and Features
        3.   Click on Turn Windows Features On or Off
        4.   Check the Telnet Client box in the Windows Features dialog box
        5.   Click OK and telnet will be installed
tree - Graphically displays the directory structure of a path or of the disk in a drive
type - Displays the contents of a text file. Use the type command to view a text file without modifying it
ver - Displays the Windows XP version number
vol - Displays the disk volume label and serial number, if they exist. A serial number is displayed for a disk formatted with MS-DOS version 4.0 or later
xcopy - Copies files and directories, including subdirectories