Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I right click on a folder and choose properties and then Security tab, sometimes the "Edit" button does have UAC shield icon and sometimes it does not.

  • This is happening on the same machine when logged as an administrator
  • both folders (one that does give the icon and one that does not) are owned by the Administrators group
  • both folders has Full Control permission for the Administrators group.

What are possible reasons that one of this folder has the shield on the Edit button and the other does not?

This is Windows Server 2008 R2

Edit 1: The folders that I'm looking at are not "special" folders, they are created by a piece of software that I wrote, do not have any "special" attributes applied or extra registry settings "attached" to them.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

This is determined by your current permissions on the folder.If your user or the built in users group have full permissions on the folder you can change permissions on it as normal.

If your user and the users group does not have the Full Control permission you won't be allowed to change any permissions on the folder. This is where the shield icon comes in. To be able to change the permissions you need to elevate your account to Administrator to have the necessary rights to change permissions.

You can easily try how the permissions change when the shield is displayed.

If you deny yourself write access on a folder, then when you right click it you will see the shield icon in front of the rename option.

If you deny yourself modify access on a folder, then when you right click it you will see the shield icon in front of the delete and rename options.

share|improve this answer
    
As I explained in the question my user ins in the adminstrators group and the administrators group owns and has full access permissions to the folder still, the shield is displayed... And this is what puzzles me. –  zespri Jun 2 '11 at 21:39
    
When UAC is turned on, even if your user is part of the admin group it will not use those permissions by default. It will use any permissions assigned directly to your user or the built in users group. If any of those does not have the needed permissions it will show the shield and let you elevate to use the permissions from the admin group your part of. –  Pär Björklund Jun 3 '11 at 10:04

It is all in the registry. From what I could find, it is all located somewhere deep in the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID keys. These keys reference dlls, which change the appearance for specific, predefined directories. It is what they call "secure locations", and they were defined programmatically.

http://technet.microsoft.com/en-us/library/dd835564(WS.10).aspx http://65.55.20.224/en-us/library/dd851527.aspx

share|improve this answer
    
These are not "Special" directories. These are folders that were create by software I wrote they are not special in any way. –  zespri Jun 2 '11 at 5:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.