General discussion

  • Creator
    Topic
  • #2172637

    A possible consequence of disabling UAC (User Account Control)

    Locked

    by wyndham ·

    I have just discovered a possible reason for a problem that I (and many others) had been experiencing with Google installing it’s Chrome browser into a user’s data location instead of the standard ‘Program Files’ or ‘Program Files (x86)’.

    If this is true, and I haven’t done any tests on this yet to verify, partial apologies to Google for all the negative comments as they have to work with Windows with all its foibles, but only partial because they didn’t tell us…..

    Apparently, as previously noted I haven’t proven this yet, if you disable the awful UAC (User Account Control), then sometimes (it seems random somehow, although computers are not supposed to behave randomly), a user will not be treated as having Administrative privileges. One consequence of this is that, any installer program trying to create sub folders in ‘Program Files’ or ‘Program Files (x86)’, will be blocked and so the installer will just go to a location it knows it can use – hence installation into the user data files folder.

    The way around this is to run the setup/install program with Admin privileges. Usually right-click on the executable file and choose the option.

    Summary:
    1) User disables UAC – usually done after installation of Windows. Users may not be aware of this as many PC builders – possibly all – do this automatically when installing Windows for their customers.
    2) Installer program (such as Google Chrome) is blocked from installing into the standard program files locations (ie can’t create sub-folders)
    3) Installer program installs into a location which grants privileges to install (create sub-folders) – they always seem to go for the user data folder (location)

    NOTE This should only be a problem on 64 bit Windows.

    I’d be interested in other people’s experiences regarding this.

All Comments

  • Author
    Replies
    • #2812183

      Not sure where the smoking gun is…

      by ansugisalas ·

      In reply to A possible consequence of disabling UAC (User Account Control)

      Without UAC, there is no way for a limited account to exert admin privileges.
      That’s how it’s supposed to be, you don’t want your users walking through your flower beds in oversized admin shoes, heck, you shouldn’t want to do that yourself, either, when it’s not necessary.
      Without admin rights (or even the temporary elevation that the UAC can grant) the users can’t install to system folders, which is also as it should be. You don’t want to root their “useful browser TOOL-bars” out of there all the time, easier to just delete user files wholesale 😀

      Edited to add: If your “PC builder” disables part of your OS without telling you, fire their asses. Nothing should be done with a computer that isn’t documented. I find it hard to believe that any serious PC supplier (i.e. not one’s “wiz-kid” nephew) disables UAC by default. It may be that some set up a default account with admin rights, leaving it up to users or their overseers to set up a limited account for every-day computer use.

    • #2812169

      I’ve seen better implementations of UAc is meant to do

      by tony hopkinson ·

      In reply to A possible consequence of disabling UAC (User Account Control)

      but it’s way better than nothing….

    • #2881636

      Did you know?

      by wyndham ·

      In reply to A possible consequence of disabling UAC (User Account Control)

      The responses have been interesting and illustrate that perhaps I hadn’t been clear.

      Maybe I should have titled the discussion ‘Did you know that users with admin rights do not always have those rights?’

      The point I tried to make, apparently not very well, was that I, as a user with admin rights, did not realise that a program I was running was doing so without admin permissions.

      I was not advocating that users should disable UAC, even though I did indicate I dislike it. That does not mean I don’t appreciate the idea. What I didn’t understand were all of the consequenes of disabling.

      Apologies for any typos, etc as I am writing this on my phone 🙂

      • #2881501

        Thanks for clearing that up.

        by ansugisalas ·

        In reply to Did you know?

        I agree that Microsoft can still learn something about documenting what the things they program do, or don’t do. Diplomatically speaking.

        • #2880060

          UAC Causes Random errors on some installers

          by rj ·

          In reply to Thanks for clearing that up.

          I am the software engineer for a company that just released a new application and the first thing we ran into (even after extensive testing) was user reports of the software not installing properly. I tracked it down to not allowing proper permissions upon installation, missing registry entries, missing icons, uninstaller won’t work…yet it installs the application. This has been a nightmare for me the past few days…

          I now have to update our installer software and script a brute force admin install for all Windows systems to hopefully prevent this. It certainly made us look bad and it was not even anything under our control…

          EDIT:
          wanted to make clear, this happens randomly…we have yet to find any one, single solitary reason this happens…

    • #2881620

      Yes I did

      by tony hopkinson ·

      In reply to A possible consequence of disabling UAC (User Account Control)

      Got to agree, it’s far from clear that UAC off != no UAC, but having been working on a complex installer, I ran into this more than a few times..
      If you want some real fun, Virtualisation a la Vista, and XP’s Run as Admin fetch in some fun and interesting wrinkles as well.

      The thing to remember is when you elevate through UAC you get another security context, you are not you, you are you with a set of permissions authorised by UAC. Whether you thought you already had those permissions because you are local admin is irrelevant.

Viewing 3 reply threads