I can't uninstall Git
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
- open the Command Prompt window
- execute > regsvr32 -s -u git_shell_ext.dll
- delete "C:\Program Files\Git\git-cheetah\git_shell_ext.dll"
If that does not work here's an ugly workaround:
- Open "Task Manager" and go to Processes
- Find explorer.exe and click end process
- 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"
- Delete git_shell_ext.dll
- 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.
Related videos on Youtube
Comments
-
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?
-
giannis christofakis over 8 years
-
-
Sonic Soul about 14 yearsthanks so much.. had the same problem. was driving me nuts
-
sree over 13 yearsIt'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 almost 13 yearsI 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 over 10 yearsI'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.