How can I kill a process as a windows admin user?

Asked

Viewed 2,434 times

0

I’ve got the 8080 door being used for a mysterious process. I used the command

taskkill -f -im 2412

And I get the message:

ERROR: process with PID 2412 could not be finished. Reason: Access denied.

  • 1

    Run cmd as administrator

  • Error of privilege, some processes need to have high level

  • How do I type the username and password ?

2 answers

1

Open the cmd as Administrator and type:

tasklist will show the processes

  tasklist

to finish the process type :

 taskkill /f /im  exemplo.exe
  • how to add the administrator name and password ?

  • you must open cmd as administrator

1


Look at this, to kill certain Windows processes the same requires that the user level is administrative, in case you are a Administrator

To check if your account has administrative permissions you should take small steps:

  1. Hit the keys WIN+R to open the window Execute
  2. Type in the following field: control userpasswords2

And then you’ll open a window listing the local and network users that are registered on your computer. Find your name and check if you belong to the group next to Administrators.

Then you open the Start menu and search by CMD, the only return that windows will give you will be the cmd.exe. And then with the right mouse button on top of it, you select the option Run as Administrator.

And then you have your code executed.

If in the window control userpasswords2 you are not with administrative levels, or you should ask for the administeredr of the computer access, or if only you use the machine, you must create a new administrative user (because your level should not be as Standard User) to be able to change your user as Administrator.

There are also chances that the process is being used by another (in which it forces you to close what is using it first) or windows won’t let you quit because it is a component that is keeping it running.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.