Unable to Terminate Process Windows 10 Fix
In this article
Yes, you can resolve the "unable to terminate process" error in Windows 10 by identifying the locked process, using built-in tools like Task Manager or Command Prompt, and applying administrative permissions or a system restart. This error typically occurs when a process is in use, protected by the system, or running under a different user account, preventing forced closure.
What You'll Need
- Administrator access to the Windows 10 PC
- Basic knowledge of Windows system tools (Task Manager, Command Prompt)
- Optional: Third-party tool like Process Explorer (official Microsoft download)
Step-by-Step
- Press Ctrl + Shift + Esc to open Task Manager directly. If the standard interface opens, click More details at the bottom to expand the full view.
- Locate the problematic process in the Processes tab. Sort by CPU or Memory if needed to find high-usage or suspicious entries.
- Right-click the process and select End task. If this fails and you see a message like "Access is denied" or "This task cannot be ended," proceed to the next step.
- Open Command Prompt as Administrator: Press Windows + X, then select Command Prompt (Admin) or Windows Terminal (Admin) if available. If prompted by User Account Control, click Yes.
- In the Command Prompt window, type
wmicand press Enter. You will see a new prompt labeled WMIC. - Type the command:
process where name="process-name.exe" call terminate— replacing process-name.exe with the actual name of the executable (e.g.,notepad.exe). Press Enter. - If the command returns "Method execution successful," the process has been terminated. Close Command Prompt.
- If WMIC fails, use the
taskkillcommand instead: Typetaskkill /f /im "process-name.exe"and press Enter. The/fflag forces termination, and/imspecifies the image name. - If you still cannot terminate the process, boot into Safe Mode: Press Windows + I to open Settings, go to Update & Security > Recovery, click Restart now under Advanced startup, then choose Troubleshoot > Advanced options > Startup Settings > Restart. After reboot, press F4 or 4 to enable Safe Mode.
- In Safe Mode, repeat the Task Manager or Command Prompt steps. Fewer background processes run in Safe Mode, increasing the chance of successful termination.
- After resolving the issue, restart normally.
Common Mistakes
- Ending the wrong process — always verify the executable name and associated program before forcing termination.
- Using Task Manager without administrative rights — some system-level processes require elevated privileges to stop.
- Typing incorrect syntax in Command Prompt — a missing slash, wrong flag, or incorrect process name will cause the command to fail silently or return an error.
- Assuming malware is the cause without checking — while some persistent processes can be malicious, many are legitimate system or app components locked due to active use.
- Skipping Safe Mode — attempting termination only in normal mode limits success when the process auto-restarts or is protected.
Tips
- Use Process Explorer from Microsoft’s Sysinternals suite to get more detailed information than Task Manager. It shows child processes, handles, and DLLs in use, helping identify what’s blocking termination.
- Check the Details tab in Task Manager to see processes running under different user accounts. Some processes won’t terminate if they’re tied to another logged-in session.
- Use
tasklistin Command Prompt to get a full list of running processes and verify spelling before usingtaskkill. - If the process is a service, open Services.msc, locate it, and try stopping it there — some processes are better managed as services.
- Always save your work before attempting to force-kill a process, as unsaved data will be lost.
Troubleshooting
If the process still cannot be terminated, first restart the computer — many locked processes release upon reboot. If the issue persists after restart, check for malware using Windows Security (Settings > Update & Security > Windows Security > Virus & threat protection). Run a full scan. If the process reappears, research the executable name online to confirm if it’s legitimate. Avoid deleting system files. If the process is part of a recently installed application, uninstall it through Settings > Apps. As a last resort, use System File Checker: open Command Prompt as Admin and run sfc /scannow to repair corrupted system files that might be interfering.
Frequently Asked Questions
Why can’t I end a process in Task Manager?
Some processes are protected by the system, require admin rights, or are actively in use by another program or user session, blocking termination.
Is it safe to force-end a process?
Generally yes, but unsaved work in that program will be lost. Avoid ending critical system processes like svchost.exe or csrss.exe, as this can crash the system.
What does "Access is denied" mean when ending a process?
It means you lack administrative privileges or the process is running under a different user account. Run Task Manager or Command Prompt as Admin to resolve.
Can malware cause this error?
Yes, some malware locks processes to prevent removal. Use Windows Security or a trusted antivirus to scan if suspicious activity is detected.
Does restarting fix the unable to terminate process error?
Often yes. Restarting releases locked resources and stops most non-essential processes, making it easier to manage or uninstall the problematic app afterward.
Can I use PowerShell instead of Command Prompt?
Yes. Use Stop-Process -Name "process-name" -Force in PowerShell as Administrator. It works similarly to taskkill but with PowerShell syntax.