top of page
  • GK

Essential Windows Commands

Heres a list of some useful commands, there are many options of each command which are

displayed by typing /? at the end.

If you have any to add, drop a message or leave a comment!


route - Views and modifies the IP routing table.

netsh - A tool to configure network settings.

net - Displays or modifies the network settings.

net user - Adds or modifies user accounts, or displays user account


net view - Displays network resources or computers.

net localgroup - Adds, displays, or modifies local groups.

net start / net stop - Starts or stops a network service.

telnet - Communicates with another host using the Telnet protocol

ping - Checks network connectivity to another IP address.

tracert - Traces the route packets take to a specified host.

ipconfig - Displays all current TCP/IP network configuration values.

netstat - Displays active TCP connections, ports, etc.

nslookup - Queries DNS to obtain domain name or IP address mapping.

pathping - Combines the functions of `ping` and `tracert`.

arp - Displays and modifies the IP-to-Physical address translation tables.

getmac - Shows the MAC address of network adapters.


sc - Manages services (start, stop, query, etc.).

tasklist - Displays all currently running processes.

taskkill - Terminates tasks by process ID or image name.


sfc - Scans and verifies the integrity of system files.

chkdsk - Checks disk for errors and displays status.

diskpart Disk partitioning utility.

fsutil - Displays or configures file system properties.

System Info

systeminfo - Displays system configuration information.

whoami - Displays user, group, and privileges information.

wevtutil - Retrieves information about event logs and publishers.

File Management

xcopy - Copies files and directory trees.

robocopy - Advanced utility for copying files and directories.

attrib - Displays or changes file attributes.

find / findstr - Searches for strings in files.

fc - Compares two files and displays the differences.

openfiles- Displays files opened by remote users.

replace - Replaces files.

Disk Management

diskpart - Disk management from the command line.

bcdedit - Manages Boot Configuration Data.dr

bootrec - Utility for repairing boot configuration.


echo off ¦ clip - Clears the clipboard cache memory.

cipher - Encrypts/decrypts files and folders.

certutil - Utility for certification authority (CA) files and services.

cacls / icacls - Displays or modifies access control lists (ACLs) of files.

shutdown - Allows proper shutdown or restart of the computer.

reg - Console tool for editing the registry.

wmic - Displays WMI information inside interactive command shell.

powercfg - Configures power settings.

timeout - Pauses command processing for a specified period of time.

driverquery - Displays current device driver status and properties.

recover - Recovers readable information from a bad or defective disk.

set - Displays, sets, or removes environment variables


Recent Posts

See All


bottom of page