GitHubDesktopPortable
GitHubDesktopPortable copied to clipboard
Why do I need admin privileges to run the program?
Was going to use this for school work but the fact that the program requires admin privileges is a bit disappointing. Is there a way to ensure that admin privileges are not required?
The reason it it asks for administrative privileges is because by default I have it set to use Junction support which requires administrative privileges.
Now in the user configuration file, GitHubDesktopPortable.ini, which sits next to the portable launcher in the root folder, open that file and change the line that says Junction=true to false. This will allow to bypass the administrative Privileges and revert to the old way of copying and moving files which will be slower on lunch but you will be able to launch without administrative rights. Let me know if anything else. And thank you for using my portable apps.
I've changed the line to false. as shown below but it still asks for admin rights :( https://i.imgur.com/YruNhSF.png
It's either Junction= or Junctions=
If neither of those work still than you'll have to wait until I'm off work to fix it for you. I'm off work around 2 to 3 expect to hear back from me around 5.
Sorry man..
Junctions= still isn't working, do I have to rebuild the program?
If you know what you're doing, yes.
I don't know what I'm doing :p
Okay.. lol. I got the day off tomorrow and I'm running to my storage unit to grab my stuff so I'll be able to take a look at it hopefully. Keep your fingers crossed.
=P
Was a fix ever found for this?
@daemondevin I really want to beable to use this, but that bug is in the way
If y'all just go into the App folder and go into GitHubDesktop and run GitHubDesktop.exe it'll work perfectly. No admin rights needed. Verified at school.
@Carter-Rogers opened a pull request for README.md put it in the file, it is useful information
If y'all just go into the App folder and go into GitHubDesktop and run GitHubDesktop.exe it'll work perfectly. No admin rights needed. Verified at school.
GitHubDesktopPortable-master\App\GitHubDesktop\GitHubDesktop.exe worked for me Thanks @Carter-Rogers
A work around to resolve the problem is include the following registry key to set up the program to "run as invoker". This registry key can be edited without admin privileges.
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\[ . . . Path to the exe file here . . . ]]\GitHubDesktopPortable.exe"="RunAsInvoker"
I've had to do this only in Windows 10, where the .exe file required admin privileges to run. In Windows 7, the .exe file is executed normally, without requiring admin privileges
SOLUTION Extract these files and put them inside "GitHubDesktopPortable" dir GitHubDesktopPortable_no admin!.zip then run "StartGitHub.vbs"