sodcalculator

10 Tech How-To

Fix Windows 10 Task Manager Cannot End Task Access Denied

Guide 10-36836 · Updated · Step by step

If you see “Access Denied” when trying to end a task in Windows 10 Task Manager, the fix is to run Task Manager as an administrator, or to use the command line with elevated privileges. This error usually means the process is protected by the system or running under a different user account, and your current permissions are insufficient. Below are the exact steps to resolve it, plus what to do when the standard fixes don’t work.

Why Does “Access Denied” Happen?

Windows 10 protects certain processes from being terminated by a standard user. The most common triggers are:

  • System processes (e.g., System, svchost.exe, dwm.exe) that are essential for the OS to run.
  • Services running under a different account, such as Local System or Network Service, which have higher privileges than your user account.
  • Antivirus or security software that deliberately blocks termination attempts to prevent malware from killing it.
  • Processes started by another user (e.g., if you have multiple user accounts logged in simultaneously).

Even if you are an administrator, Windows 10 uses User Account Control (UAC) to limit your token unless you explicitly “Run as administrator.” That’s why simply opening Task Manager normally may still give you the error.

Fix 1: Run Task Manager as Administrator

The quickest fix is to restart Task Manager with elevated rights:

  1. Press Ctrl + Shift + Esc to open Task Manager. If it opens in compact mode, click “More details” at the bottom.
  2. If you see the “Access Denied” message, close Task Manager completely.
  3. Right-click the Taskbar and select “Task Manager” from the menu — but this time, hold down Ctrl + Shift while clicking. This launches it as administrator.
  4. Alternatively, search for “Task Manager” in the Start menu, right-click it, and select “Run as administrator.”
  5. Accept the UAC prompt if it appears.
  6. Now try ending the task again. It should work for most user-level processes.

Why this works: Running as administrator gives you a high-integrity token, which can terminate processes that a standard token cannot.

Fix 2: Use Command Prompt (Admin) to Force End the Process

If Task Manager still refuses, use the command line:

  1. Open Start, type cmd, right-click “Command Prompt,” and choose “Run as administrator.”
  2. Type tasklist and press Enter to see all running processes. Note the exact image name (e.g., chrome.exe) or its PID (Process ID).
  3. To end a process by name, type: taskkill /F /IM processname.exe (e.g., taskkill /F /IM chrome.exe).
  4. To end by PID, type: taskkill /F /PID 1234, replacing 1234 with the actual PID.
  5. Press Enter. If successful, you’ll see “SUCCESS: The process … has been terminated.”

If you get “Access Denied” here too, the process may be a protected system process or running as a service. In that case, see the next sections.

Fix 3: End the Process via Services or PowerShell

Some processes are actually services. To stop them:

  1. Press Win + R, type services.msc, and press Enter.
  2. Find the service that corresponds to the process (you can often see the service name in Task Manager under the “Details” tab, or search online).
  3. Right-click the service and select “Stop.” If it’s not running, you may need to change its startup type to “Disabled” temporarily.

For stubborn processes, PowerShell can sometimes do what Task Manager can’t:

  1. Open PowerShell as administrator (right-click Start and select “Windows PowerShell (Admin)”).
  2. Type Stop-Process -Name processname -Force (e.g., Stop-Process -Name chrome -Force).
  3. Or by PID: Stop-Process -Id 1234 -Force.

PowerShell uses the same underlying API as Task Manager, but it sometimes bypasses a few UI restrictions.

Fix 4: Check for Malware or Corrupted System Files

If the error persists on a process you don’t recognize, it could be malware that has locked itself against termination. Run a full antivirus scan with Windows Defender or your preferred security tool. Also, run the System File Checker to repair any corrupted Windows files:

  1. Open Command Prompt as administrator.
  2. Type sfc /scannow and press Enter. Wait for it to complete (may take 15-20 minutes).
  3. If it finds errors, restart and run it again.

What If Nothing Works? (Safe Mode and Reboot)

Some system-critical processes cannot be killed while Windows is running normally — they are protected by the kernel. If you absolutely must stop one (e.g., to troubleshoot), boot into Safe Mode:

  1. Open Settings > Update & Security > Recovery.
  2. Under “Advanced startup,” click “Restart now.”
  3. Choose Troubleshoot > Advanced options > Startup Settings > Restart.
  4. Press 4 or F4 to enter Safe Mode.
  5. In Safe Mode, many non-essential services and processes are not loaded, so you can often end the problematic one.

If you only need to get rid of a temporary glitch, a simple reboot will clear most processes anyway. For a process that keeps coming back, check your startup programs (Task Manager > Startup tab) and disable anything suspicious.

Frequently Asked Questions

Why does Task Manager say “Access Denied” even though I’m the administrator?

Because of User Account Control (UAC). Even an administrator account runs with a standard token by default. You must explicitly elevate the app by choosing “Run as administrator.” This is a security feature to prevent unauthorized changes.

Can I end the “System” process?

No. The System process (PID 4) is the kernel and cannot be terminated without crashing Windows. If you see “Access Denied” on it, that’s expected — do not force it.

What if taskkill says “Access Denied” as well?

That means the process is running with higher privileges than your admin command prompt. Try using the System account via PsTools (from Microsoft Sysinternals), but that’s advanced and risky. For most users, rebooting or booting into Safe Mode is safer.

Is it safe to force end a process with /F?

For user applications, yes, but you may lose unsaved data. For system processes, no — it can cause instability or a crash. Only force kill a process if you know what it does and you’re prepared for the consequences.

Will this error damage my computer?

No. The error itself is harmless — it just means you don’t have permission to end that process. Continuing to try to kill a protected system process could cause issues, but the error alone won’t harm anything.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →