Why does every app need admin rights?


  1. Posts : 3
    Windows 7 Home Premium 32bit
       #1

    Why does every app need admin rights?


    Hi,

    I upgraded this week from Win XP (via new install, formatted drive C) to Win 7 Home Premium, currently 6.1.7600 Build 7600. For years, I have followed a method of using the C: partition for the system, and D: and E: for my application data. C: and E: are two partitions on hard disk 1, a Samsung 500 GB SATA drive. D: is on hard disk 0, a WDC 1.5 TB SATA drive.

    All my basic applications, Thunderbird, eWallet, Legacy Family Tree, Picture Window, Thumbs Plus et al, read and write to my data on the E: drive and were all running fine under Windows XP. Now under Windows 7, they either need administrator rights or XP compatibility in order to have write access to the files on E:

    I have tried the following, with properties on Drive E:
    - made myself the owner (my normal user account, which has admin rights)
    - given full access to myself and authenticated users, in addition to System & Admins
    - when that didn't help, added Everyone and gave them full access to the E: Drive (and all sub folders and files; I am the only person using this computer)

    Then I right-clicked on Start, Documents, Properties and added the E: drive to the library.

    But in spite of all this, when I run any of the above-named applications, they have no write access to the files on Drive E. Eg. eWallet tells me it only has read access to my wallet file, Legacy Family Tree thinks the data is on a read-only CD ROM, Thunderbird spins forever trying to access my e-mail "local folders" on E:, etc. If these apps are running in the context of my user account (from where I start them), shouldn't they have the same rights which my account has? But only if I give an application Administrator rights or tell it to use XP compatibility will it work properly and have full write access to my data files on the E: drive.

    As I'd like to avoid this if possible (this can't be the way it's supposed to work), could someone please tell me how to set this up properly?

    Thanks very much, Bob
      My Computer


  2. Posts : 222
    Win 7 Ult + Starter, XP Pro +Home, 2kAS, Linux Mint 8, SuperOS
       #2

    Welcome to the Microsoft Nanny state. It's called UAC(User Account Control), and it is a right PITA for a single-user home PC. If it's any consolation , it felt even worse in Vista.

    What you can do.

    Make sure you are an administrator with a strong password protected account. If you don't want to have to log on all the time, go here:

    start button and type netplwiz and enter (alternatively - run, control userpasswords2) to bring up user accounts dialog box

    uncheck the box: users must enter a user name and password...

    On the advanced tab, make sure the ctrl alt delete etc box is clear.

    OK and you will be asked to confirm your password 2x.

    you will also want to check the screensaver password and resume after standby password check in the advanced power settings options is behaving as you wish.

    In Control panel, user accounts, change user control settings, set the slider to 'never notify', or whatever you are most comfortable with.

    You may also want to create an elevated privileges command prompt shortcut. On the desktop, right-click, new, shortcut, type cmd.exe, ok. Right click the icon and under the shortcut tab select advanced and check the 'run as administrator' box, ok. you may want to change the font, layout and color options to remind you that you have superior permissions in this command window. then copy this to the start menu.

    make shortcuts for your legacy applications to run as administrator in the same way, and any that need compatibility for XP, too.

    Then there are the folder options, but they are generally the same as in XP to customize.

    With hindsight, you may regret having bought an upgrade - a full installation with a dual boot to XP may have been a more liveable solution.
      My Computer


  3. Posts : 797
    Windows 7 Ultimate (x64)
       #3

    Well, something is not set up right. I have a similar setup - I keep the OS and installed programs on C:\ drive, while my own data (i.e. documents, photos, presentations, etc.) on various other hard drives. Out of the applications you listed I only use Thunderbird, but I have lots of other applications, including older programs running in compatibility mode, and I have never had your problem. I don't run applications with elevated rights ("run as administrator") either.

    Now, without looking at your system it's hard to say what exactly is going wrong there, but let's just go with what you said: you gave full access to your E:\ drive to "Everyone" and your Thunderbird still can't write to E:\ drive. That does not sound right and UAC has nothign to do with it in my opinion. There are two possible problems - either you gave Everyone access to E:\ drive "root" only, i.e. you did not check the "replace permissions on child objects ..." box when changing permissions, or Thunderbird is not configured to write to E:\ drive directly.

    The former is very easy to check take some folder in E:\ drive and check permissions. If you propagate your permissions settings (by checking that box) then all folders within E:\ and all their subfolders would be fully accessible to Everyone. In this case no program should have trouble writing there.

    The latter might happen if you add your folders from E:\ drive to some Library, but configure Thunderbird to write to the Library. Then permissions of the Library will be important. Just check your account settings in Thunderbird (see the attached snip). Do you see the path to your local files explicitly showing some folder in your E:\ drive (in my case it's G:\, but the letter in unimportant).
    Attached Thumbnails Attached Thumbnails Why does every app need admin rights?-capture.png  
      My Computer


  4. Posts : 3
    Windows 7 Home Premium 32bit
    Thread Starter
       #4

    fafhrd said:
    Welcome to the Microsoft Nanny state. It's called UAC(User Account Control), and it is a right PITA for a single-user home PC. If it's any consolation , it felt even worse in Vista.

    ...

    With hindsight, you may regret having bought an upgrade - a full installation with a dual boot to XP may have been a more liveable solution.
    Thanks for the tips. I could still restore my XP backup but I think Win 7 is running ok now - surprisingly well, considering it's an antique 6-year-old computer.
      My Computer


  5. Posts : 3
    Windows 7 Home Premium 32bit
    Thread Starter
       #5

    unifex said:
    There are two possible problems - either you gave Everyone access to E:\ drive "root" only, i.e. you did not check the "replace permissions on child objects ..." box when changing permissions, or Thunderbird is not configured to write to E:\ drive directly.

    The former is very easy to check take some folder in E:\ drive and check permissions. If you propagate your permissions settings (by checking that box) then all folders within E:\ and all their subfolders would be fully accessible to Everyone. In this case no program should have trouble writing there.

    The latter might happen if you add your folders from E:\ drive to some Library, but configure Thunderbird to write to the Library. Then permissions of the Library will be important. Just check your account settings in Thunderbird (see the attached snip). Do you see the path to your local files explicitly showing some folder in your E:\ drive (in my case it's G:\, but the letter in unimportant).
    Many thanks for this, problem solved. I did tell it to propagate, but for some reason it only did it partially. Most folders on the E: drive had the correct permissions, but a few individual files, including TB's Inbox, had some weird user defined (like "SD132-KL37...") and no full access permissions on the normal user account. I set the permissions again, this time with Dropbox not running in case that caused some conflict, and now everything's ok and TB etc. all run fine without Admin rights.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:18.
Find Us