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

0

I'm having port 8080 being used by a mysterious process. I used the

  

taskkill -f -im 2412

And I get the message:

  

ERROR: Process with PID 2412 could not be finalized. Reason: Access   denied.

    
asked by anonymous 09.05.2018 / 16:03

2 answers

1

Look, to kill certain Windows processes, the same requires that the user level be administrative , in case you are an Administrator

To verify that your account has administrative permissions you should take small steps:

  • Press WIN + R to open the Run window.
  • Type the following in the field: control userpasswords2
  • And then it will open a window listing the local and networked users that are registered on your computer. Find your name and verify that you belong to the Administrators group next to you.

    Then you open the Start menu and search by CMD, the only return that windows will give you will be cmd.exe . And then right-clicking on it, you select the Run as Administer option.

    And then you have to run your code.

      

    If you do not have administrative levels in the userpasswords2 control window, or you must ask for the managed r computer access, or if you only use the machine, you you must create a new administrative user (your level should not be 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 you are using it first) or windows will not let you close because it is a component that is keeping it running.

        
    09.05.2018 / 16:31
    1

    Open cmd as Administrator and type:

    tasklist will show processes

      tasklist
    

    To end the process type:

     taskkill /f /im  exemplo.exe
    
        
    09.05.2018 / 16:14