"Error 5: Access denied" when installing programs with UAC turned off

11,257

Looks like a permissions issue, not a UAC issue. There shouldn't be any permissions problems when creating a file/folder in your own user profile. Can you manually create a file/folder in that path without it requiring elevated access? If not you have ACL issues as mentioned in another comment.

Share:
11,257

Related videos on Youtube

hasc
Author by

hasc

Updated on September 17, 2022

Comments

  • hasc
    hasc over 1 year

    I'm having some trouble installing msysgit 1.7.3.1preview on Windows 7 Home Premium. I downloaded the setup file from the Google Code and then ran it. Upon running, I got the following error:

    enter image description here

    I have tried downloading and running different older versions of msysgit with no luck. For the record, I have administrative privileges and there are no other user accounts on this Windows machine. Any help would be greatly appreciated. Thanks.

    UPDATE: I have managed to semi-fix this problem. I turned on User Account Control back to the default setting and and then ran the setup file as an administrator. I successfully managed to install Git. However, this means I have to keep UAC turned on whenever I want to install a new program (I realised that it persists over all programs; not just Git). So it's quite a nuisance.

    If anybody knows how I could keep UAC disabled whilst still being able to install programs without running their setup files as an administrator, I would be eternally grateful.

    UPDATE: I have changed the question title to better suit the new situation.

    • 100rabh
      100rabh over 13 years
      Try running as admin -> right click setup.exe -> Run As Admin.
    • hasc
      hasc over 13 years
      Tried doing that, but still no love.
    • snowdude
      snowdude about 12 years
      When the error message pops up can you see who the installer is running as using process explorer? If the setup.exe is loader for something like MSI the actual running user might be someone different, like LocalSystem.
  • hasc
    hasc over 13 years
    Not sure what I'm supposed to do here... I have UAC turned off.
  • VonC
    VonC over 13 years
    @Aero: did you try to change the TMP variable? I have updated my answer with a link and a process for that.
  • VonC
    VonC over 13 years
    @Aero: interesting. There is obviously some ACL issue with this migration...
  • hasc
    hasc over 13 years
    I've managed to partly solve the problem - added details to my question.
  • Synetech
    Synetech almost 12 years
    > Looks like a permissions issue, not a UAC issue. That is what I thought as well, but I strongly suspect that is his own user profile, so it shouldn't be a permissions issue.