What makes the UAC shield icon appear on the “Edit” permissions button

uac

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.

Best Answer

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.

Related Question