Down the Rabbit Hole of Access Control - Help!

Page 1 of 2 12 LastLast

  1. Posts : 65
    Windows 7 Professional x64
       #1

    Down the Rabbit Hole of Access Control - Help!


    I seem to have made a change to the Access Control settings for a protected directory and I cannot revert it back to its original settings. I'm not sure exactly how I made this change occur, but I've tried everything I can to return it to its default settings, including doing a System Restore. But nothing works.

    So now, at the very least, I'm trying to get a handle on whether or not these changed settings even matter.

    Just to add a little context, what I was in the process of doing was trying to figure how to customize what's appearing in my Start Menu, like one could do in the XP world. Apparently, getting to that same endpoint is not so easy with 7.

    Here are the details:

    After unhiding protected os files in Windows Explorer, I made my way to {C:\ProgramData\Application Data} and of course, I couldn't get any further (access denied).
    So, I right-clicked on {Application Data} and then: Properties » /Security\ and listed under "Group or user names:" were the following:
    Everyone
    SYSTEM
    Administrators (‹machine_name›\Administrators)

    Under "Permissions for Administrators," only Special permissions had a checkmark -- a faded one, under the Allow column.

    I say "were" and "had" because now Administrators... is gone, seemingly forever?!

    I did try to get a little further by selecting [Advanced] » /Owner\ » [Edit] and then selecting (or typing in) my admin-class account ID (via the [Other users or groups...] button), and taking over ownership of that directory. I was able to accomplish that, but it didn't really do any good; i.e., it didn't give me read/write access to the directory and it didn't allow me to restore the Administrators... listing on the /Security\ page.

    That's it for the details. Thanks for bearing with me.

    Ideally, I'd like to be able to accomplish my original goal: tweak what appears in the Start Menu. And whether or not I end up being able to do that, I'd like to be able to then return a directory's access permissions profile to its original state.

    One more thing before I (mercifully!) end this post: in the course of trying to figure this out, I came upon a statement in the Win7 help documentation that may hold the key to what I'm after. It said, "Assigning ownership of a file or a folder might require you to elevate your permissions by using User Access Control." This seems promising, but I can't seem to find Help info on how to elevate my permissions.

    Okay... that's it. Thanks for bearing with the long read.

    Any help on this, will of course, be greatly appreciated.

    --Thri
      My Computer


  2. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Thri,

    The C:\ProgramData\Application Data folder cannot be opened it's actually a junction point. It's default owner is "System". Instead, this would be for the C:\Users\(user-name)\AppData folder.

    Was there a particular file that you were wanting to modify?
      My Computer


  3. Posts : 65
    Windows 7 Professional x64
    Thread Starter
       #3

    Brink, thanks for taking the time to respond.

    The C:\ProgramData\Application Data folder cannot be opened it's actually a junction point. It's default owner is "System".
    ·····················
    Brink, I understand SYSTEM is the default owner. Are you saying there's no way an administrator-class user account (such as my own) can acquire ownership of this directory?
     
    Was there a particular file that you were wanting to modify?
    ·····················
    I was trying to find the location of a {Nero 9} subfolder that's visible in my Start Menu (see attached), appearing inside the {Nero} folder along with one shortcut: <Nero ControlCenter 4.lnk>.
     
    Instead, this would be for the C:\Users\(user-name)\AppData folder.
    ·····················
    I did find the shortcut where you indicated, or more specifically, here:
    {C:\Users\‹user-name›\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Nero}

    However, {Nero 9} was not there. Mistakenly I went looking for it in {C:\ProgramData\Application Data}, which is what got me into trouble (or not?).

    With a little more poking around, I did find {Nero 9} here:
    {C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Nero}

    Speaking of "or not," this brings me back to one of my questions from my original post:
    thricipio said:
    After unhiding protected os files in Windows Explorer, I made my way to {C:\ProgramData\Application Data} and of course, I couldn't get any further (access denied).
    So, I right-clicked on {Application Data} and then: Properties » /Security\ and listed under "Group or user names:" were the following:
    Everyone
    SYSTEM
    Administrators (‹machine_name›\Administrators)

    Under "Permissions for Administrators," only Special permissions had a checkmark -- a faded one, under the Allow column.

    I say "were" and "had" because now Administrators... is gone, seemingly forever?!
    . . . the question being, is this something I need to worry about; i.e., that Administrators... (along with its faded Special permissions Allow checkmark) is no longer listed under /Security\ ?? I more than suspect the answer is "No, no worries" but a little assurance would go a long way.

    Well, I guess that's about it.

    A little long-winded, I know... so thanks for bearing with me.

    And thanks again for responding.
    --Thri
    Attached Thumbnails Attached Thumbnails Down the Rabbit Hole of Access Control - Help!-thris.start.menu-01.jpg  
    Last edited by thricipio; 29 Apr 2012 at 15:12.
      My Computer


  4. Posts : 5,642
    Windows 10 Pro (x64)
       #4

    The reason why you cannot access "Application Data" or any folder that issues "Access Denied" is a junction neither you, nor the SYSTEM can access these. Because you DO NOT NEED to access them. These junctions are there for compatibility with old applications. The links in my signature explain the purpose of these junctions and you SHOULD LEAVE THEM ALONE.

    From, Junction Dysfunction:
    ....


    Of course, a new opportunity can create a new problem: An application that isn’t familiar with junctions may get stuck in an infinite loop when it attempts to perform a recursive directory-tree walk. To prevent this, the compatibility junctions permit directory traversal but explicitly deny List contents permission: If you try to navigate to these folders from Explorer or the command prompt, you’ll get an Access denied error.


    The compatibility symbolic links grant enough access to accomplish their goal of providing compatibility for older applications that unwisely chose to hard-code directory names. But they don’t supply enough rope to let these older applications cause themselves serious harm. Blocking List contents also has the pleasant side effect of removing an attractive nuisance for new programmers, who may be tempted to continue the tradition of those older applications. Will this technique work to steer people in the right direction? Only time will tell.
      My Computer


  5. Posts : 2,171
    Windows 7 Ultimate x64
       #5

    logicearth, does this mean that he does or doesn't need to worry, based on these two quotes:
    Under "Permissions for Administrators," only Special permissions had a checkmark -- a faded one, under the Allow column.
    I say "were" and "had" because now Administrators... is gone, seemingly forever?!
    . . . the question being, is this something I need to worry about; i.e., that Administrators... (along with its faded Special permissions Allow checkmark) is no longer listed under /Security\ ?? I more than suspect the answer is "No, no worries" but a little assurance would go a long way.
      My Computer


  6. Posts : 983
    7 x64
       #6

    It's not a folder. It is, as other s have stated, a Junction Point. It is like a false Link/shortcut. It really doesn't exist.

    If you tried to change permissions on these type folders or to the ROOT of the boot drive you may be facing a Re-Install of the OS.
      My Computer


  7. Posts : 2,171
    Windows 7 Ultimate x64
       #7

    But it must really exist, in one form or another, in order to provide the desired functionality. And in this case it exists as an entity, like any other, on the disk in the file system.

    And the problem (if there is one) that I would be worried about, is the fact that the administrators group has been removed from the permissions tab.
    Last edited by F5ing; 29 Apr 2012 at 21:57. Reason: clarification.
      My Computer


  8. Posts : 65
    Windows 7 Professional x64
    Thread Starter
       #8

    sibbil said:
    And the problem (if there is one) that I would be worried about, is the fact that the administrators group has been removed from the permissions tab.
    Yup... that's it in a nutshell. This is exactly what I'm concerned about. Although, still guardedly optimistic that someone in the know will get back to us and call me "safe at the plate." Leastwise, I'm hoping!

    And thanks to one and all who've responded so far. There's still this remaining question, but at least I'm becoming better informed along the way.

    --Thri
    __________________
    PS - If I've put myself in a ticking timebomb predicament here, I guess I'm better off learning about that now, rather than later. If I end up having to start over from scratch, well... that would be fairly horrible; but better now than later; I'm still at the beginning of installing my apps.
      My Computer


  9. Posts : 2,171
    Windows 7 Ultimate x64
       #9

    If it isn't too painful for you, you might try a system restore to an earlier restore point.

    I too would like someone who knows the answer to chime in.
      My Computer


  10. Posts : 72,036
    64-bit Windows 11 Pro for Workstations
       #10

    You will not be able to open a junction point since it's not a folder, but only a symbolic link used for backwards compatibility to open another folder instead that may still be referenced by it's old location (the junction point) in previous versions of Windows from a older program. The links in logicearth's signature can give you more details about this if you like.

    There's no need to worry about you removing the Administrators group by mistake from a junction point since you will not be able to open/access it anyway as it's not actually a folder that can be opened anyways.

    @Thri,

    Depending on what you need, the shortcuts in the Start Menu can be found at the locations in the tutorial below. If you needed to know where the exe file is that the shortcut runs, then you can right click on the shortcut, and click on Open File Location to be taken to it. :)

    Start Menu All Programs - Add or Delete Shortcuts
    Last edited by Brink; 29 Apr 2012 at 22:35. Reason: addition
      My Computer


 
Page 1 of 2 12 LastLast

  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 23:35.
Find Us