I can't uninstall Git

56,882

Solution 1

This would happen because

Uninstall was unable to delete the file "C:\Program Files\Git\git-cheetah\git_shell_ext.dll"

The correct fix would be to unregister the dll and delete it

  1. open the Command Prompt window
  2. execute > regsvr32 -s -u git_shell_ext.dll
  3. delete "C:\Program Files\Git\git-cheetah\git_shell_ext.dll"

If that does not work here's an ugly workaround:

  1. Open "Task Manager" and go to Processes
  2. Find explorer.exe and click end process
  3. Choose File > Run in "Task Manager" and type 'cmd' and click OK to open "Command Prompt" and cd to "C:\Program Files\Git\git-cheetah"
  4. Delete git_shell_ext.dll
  5. Restart

be sure to clean-up after reboot, remove "Git" folder from "C:\Program Files"

Solution 2

You may want to have a look at this, it shows what shell extensions are installed and can help to remove problematic items:

http://www.nirsoft.net/utils/shexview.html

Incidentally, you should have given GIT a chance - it takes a while, but the payback is worth it.

Share:
56,882

Related videos on Youtube

alex
Author by

alex

My about me was blank

Updated on September 18, 2022

Comments

  • alex
    alex almost 2 years

    I was researching Git so I downloaded the Windows version to test it out on a repository on GitHub. After about 30 minutes I couldn't work out how to use it, so I decided I probably wouldn't need a distributed repository as our projects aren't that big and went back to what I know - SVN.

    (I thought) I uninstalled all the Git related stuff I'd put on my PC, but have now got an irritating problem where if I open any folders I get an error message saying:

    Hello

    [ERROR] Could not find git path

    As you can imagine, this is a real pain, does anyone have any ideas on how to fix it?

  • Sonic Soul
    Sonic Soul about 14 years
    thanks so much.. had the same problem. was driving me nuts
  • sree
    sree over 13 years
    It's easier to open a command prompt first before ending explorer process because when you end explorer, taskbar and start menu will be gone.
  • Richard Ev
    Richard Ev almost 13 years
    I had this happen after installing TortoiseGIT for the first time. In my case, running regsvr32 "C:\Program Files\Git\git-cheetah\git_shell_ext.dll" got things working.
  • Thalys
    Thalys over 10 years
    I've fixed up your answer for you. While I'm not going to fault your language use, on SU, we tend to keep the answers to the point (that is so say, its unnecessary to have a greeting in front), and we really would appreciate it if you didn't randomly use capital letters where they don't belong. Cheers.