constantly having permissions problems


  1. Posts : 84
    Windows 7 Ultimate x64 SP1
       #1

    constantly having permissions problems


    hi,

    i am the administrator and am constantly having permissions problems. for example, when trying to give myself full control over the 'program files' folder:

    constantly having permissions problems-access-denied.png

    admittedly, my knowledge of windows is very limited, but it seems as the administrator i should have full/unrestricted access to these folders/files, no?
      My Computer


  2. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #2

    Before you can make permission changes on an object, you must be the owner of the object in question.

    To take ownership of the 'Program Files' folder, on an elevated command prompt type the following:
    Code:
    takeown /f "C:\Program Files"
    Then you may freely proceed to make permission changes on that folder, without being denied access.
      My Computer


  3. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #3

    access denied

    constantly having permissions problems-ownership-denied.png
      My Computer


  4. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #4

    Some programs may have open file handles on the folder locking its contents.

    Give Unlocker a try, if there are any open file handles locking the object, Unlocker will find the culprits and allow you to terminate these processes.
    Last edited by Pyprohly; 04 Oct 2014 at 22:14.
      My Computer


  5. Posts : 4,566
    Windows 10 Pro
       #5

    Why are you trying to change permissions on the program files folder?

    There is no reason for doing that. What are your uac settings set to?

    Many people who change permissions on files and folders do not know what they are doing and greatly decrease there security. It is very important you know exactly what you are doing when dealing with permissions. Even then, it is better to find an alternative means to accomplish what you want then to give yourself more permissions to protected areas.


    User account control (UAC) protects the system in many ways.

    In windows vista and above, the admin account has the same rights as the standard account. The only time the admin account is elevated to admin is when the uac box appears and you click yes to allow the action, which elevates that process for a short time until the action is complete. When copying or changing any folders in examples below, you must click continue to allow a rename or delete of a folder, etc.

    UAC protects multiple areas, here are some of them:
    -registry
    -installing/uninstalling programs
    -program files folder
    -windows folder
    -other user accounts folders
    -temp folder/app data

    Read up on it here:
    User Account Control - Wikipedia, the free encyclopedia

    UAC info for IT professionals

    Why use a standard user account instead of an administrator account?

    When using a standard account and you make a change or install a program that affects the whole system, UAC will prompt you to continue. Make sure the setting or program you are tying to install is listed, then click yes to continue. If you are just browsing the web and the prompt appears with a program you have not heard of, or do not know what it is, it is much safer to click no then yes. No will block the action, and if you were trying to do something, you can always start it again and choose yes.

    UAC makes this easy, see here:

    What is user account control (UAC)?

    I also suggest choosing always notify for UAC for better security:

    What are User Account Control settings?
    Last edited by andrew129260; 05 Oct 2014 at 06:44.
      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 03:20.
Find Us