Our corporate PCs have git installed which always tries to gain admin access on any git command, Even git --version. This is weird that git is designed that way that it need admin access for any git command.
We have Beyond trust privilege management which keep tracks of any application which tries to take admin access, this process takes a very long time to verify and because of this git works very very slow in all PCs.
Eclipse has its own integrated git which works fast as it doesn't take admin rights to do operations.
Is there a way we can run git without admin rights in Windows 10?
Git can also be installed without admin privilege.
Use the --scope user switch with winget.
winget install --id Git.Git -e --source winget --scope user
I installed Git without admin rights using the Windows Setup from https://git-scm.com/download/win
However, I changed the install location from Program Files to:
C:\Users\<ME>\AppData\Local\Programs\git
I also unchecked the shell integration and file associations, though I do not know if this makes any difference.
I was not asked to elevate during the install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With