Command Line Prompts Windows Flashcards
cmd
typed in the taskbar search box to open the command line tool, not Windows PowerShell
chkdsk
The chkdsk scans the file system and/or disk sectors for faults and attempts to repair any problems detected.
diskpart
winver
The winver command reports version information. Users will often need to use this for support.
format
dfrgui.exe
The Defragment and Optimize Drives tool runs various operations to speed up hard disk drives (HDDs) and SSDs
devmgmt.msc
Device Manager allows users to view and edit the properties of installed hardware. Users can change hardware configuration settings, update drivers, or remove/disable devices.
resmon.exe
The resource monitor snapshot of task manager on steroids. View and log performance statistics.
Shows utilization data for CPU, system Memory, disk/file system, and network.
secpol.msc
The Local Security Policy views and edits the security settings.
services.msc
This can disable non-essential services to improve performance or security. Starts, stops, and pauses processes running in the background
From Task Manager, go to the Open Services button, which links to the services console (services.msc)
msinfo32.exe
The System Information tool (msinfo32.exe) produces a comprehensive report about the system’s hardware and software components.
eventvwr.msc
This is the Event Viewer. It’s a management console snap-in for viewing and managing logs on a windows host.
gpedit.msc
This is the Group Policy Editor. It’s also a management console snap-in. It provides a more robust means of configuring many of Windows settings than editing the registry directly.
It configures detailed user and registry settings via policies.
certmgr.msc
This is the Certificate Manager.
It provides a console for managing digital certificates for the current user and trusted root certification authority certificates.
taskschd.msc
This is the Task Scheduler.
It’s an administrative tool that runs software and scripts according to calendar or event triggers.
regedit.exe
This is the Registry Editor.
It makes manual edits to the database of Windows configuration settings.
lusrmgr.msc
This is the Local Users and Groups Console.
provides an advanced interface for creating, modifying, disabling, and deleting user accounts.
msconfig.exe
This is the System Configuration Utility.
Modifies various settings and files that affect the way the computer boots and loads Windows.
sfc
The System File Checker utility provides a manual interface for verifying system files and restoring them from the cache if found corrupt or damaged.
shutdown
The shutdown command can safely halt the system or log out.
cd
The Change Directory command sets the focus to a different working directory
dir
The Directory command lists the files and subdirectories from either the working drive and directory or from a specified path.
e.g running dir C:\Users\User\Desktop will display the contents of Desktop.
mmc
Command that allows the operator to perform Microsoft Management Console (MMC) customizations and create a console with a personal selection of snap-ins