I have Git for Windows installed by Chocolatey using choco install git
.
It has been working perfectly for many moons.
A couple of days ago when I opened Git Bash, the window appears with the following:
Title Bar: /usr/bin/bash --login -i
Window content: Error: Could not fork child process: Permission denied (-1)
My colleague is also receiving the same error message on his machine. We are using enterprise company laptops joined to a Windows domain. The IT team who support these laptops don't know a lot about Git as most of the organisation is using TFS, so they are not sure how to support this. Is it likely a Group Policy update or similar might have caused this? The organisation is also moving towards SSO (I think through Azure AD) - could this be related?
I have tried the following:
- Update git to the latest v2.16.1.2
- This answer: https://stackoverflow.com/a/45803951/335366
- Reboot windows
- Run Git Bash as Administrator
- Run Git Bash using the Explorer Context menu: "Git Bash Here"
Nothing works. How can I resolve this either locally or through the domain / active directory / group policy?
Git GUI seems to work on my colleague's machine but is not working on mine. When I load Git GUI I get error: