taskkill — Basic UsageIT technician command center
Windows CMD · Windows Command Line

taskkill — Basic Usage

Use taskkill for a standard administrative task.

Copy-ready commandtaskkill — Basic Usage
taskkill /PID 1234 /F
Production warning

Review destructive switches before running commands that modify files or services.

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Basic Usage

Use taskkill for a standard administrative task.

taskkill /PID 1234 /F

Original command

Terminate a process by process ID.

taskkill /PID 1234 /F

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.