Installed git version 2.35.1.windows.2 under Windows 10. From git bash, run: vagrant version. Opens up a dos window, executes, and closes. So I cannot use these types of commands, like vagrant version. 100% repeatable.
If I run git bash elevated, then I can see the command completes as expected.
Expected behavior from a Windows 10 machine that works, with git running not elevated:
vagrant version
Installed Version: 2.2.19
Latest Version: 2.2.19
Both machines, the one that works as expected and the one that fails, git was installed as regular user, with git being installing under: C:\Users<username>\AppData\Local\Programs\Git\git-bash.exe --cd-to-home