Can't start Git Bash

Same issue happened with COMODO Firewall since last update.

  1. Adding Git folder to File Rating > File List as trusted file

  2. Adding Git folder to Advanced protection > Milanescious > Shell code exclusion

  3. Setting git-bash.exe as allowed application in Firewall > Application Rules (this one may be optional, but it won't hurt anyway)

Solved the issue on Windows 10.

Side note : Turning COMODO firewall off does not solve the issue, this is quite misleading... But adding exclusions rules does fix the problem.

Other side note: if you use Comodo Firewall, you should consider uninstalling it... It has bugged and ruined my windows install, i've got a lot of BSOD as soon as i removed it... When i think of it in hindsight, he was the root cause of a lot of problem. I mean, how in the world a Firewall could silently block an application or infinite sandboxing it without even a notification. Plus the removall is a pain in the ass, uninstaller crash one time out of two...


Turns out Comodo Antivirus was auto-sandboxing Git Bash. Adding Git Bash as an exception to the sandboxing rules solved my problem.

Hope this saves someone else an hour.


The company I work for has BeyondTrust PowerBroker on corporate computers, and that turned out to be the source of the problem.

I solved it by adding a the key ExcludedProfilerApps to HKLM\SOFTWARE\Policies\BeyondTrust\PBDesktops with the value C:\Program Files\Git\*.

Here is a link to some discussion of the issue.

Git Bash complained about some permissions on startup, but I didn't notice any other issues.

Installing Git 2.7.0, as @rakehell have mentioned, also resolved the issue.