Windows – Taskkill Error Access denied

Just a tip, sometimes when you run taskkill to kill a process you get the “access denied” Error.

Even if you run it with Admin privileges Sad smile

Example :

Taskkill /IM notepad.exe /T /F

SOLUTION :

Just use the WMIC cmdline tool instead Smile

wmic process where name=’notepad.exe’ delete

Enjoy !

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: