12

I want to uninstall Git. But when I try to I get this message:

The following applications use files that need to be removed. Please close them

ssh-agent.xe(PID 8112, closing is required)

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
yay123
  • 121
  • 2
  • 2
  • 5

2 Answers2

11

In your case, you could call this from the command line:

taskkill /pid 8112

For further information, see the documentation on taskkill.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Sean Morse
  • 136
  • 1
  • 3
  • Sometimes you will need the `/F` flag, i.e. `taskkill /pid 8112 /F` – Hanxue Jul 21 '19 at 10:08
  • 1
    `8112` being an example? Perhaps make that more clear in your answer? Please respond by [editing (changing) your answer](https://stackoverflow.com/posts/34637393/edit), not here in comments (***without*** "Edit:", "Update:", or similar - the answer should appear as if it was written today). – Peter Mortensen Oct 05 '21 at 21:11
8

Just go to Task Manager and locate the process with the name which is mentioned and just select that process and click the End process button.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Amna Haider
  • 81
  • 2
  • 2
  • 1
    As of Windows 10 the easiest way to find the task is under the "Details" tab in Task Manager. – Ð.. Jun 12 '18 at 16:03