Advertisement

Add Attributes Context Menu in Windows 10

File attributes are special metadata or properties of files stored in the file system which instruct computer software to change its behavior. Some of them may be enforced by operating system. For example, the read-only attribute prevents apps from writing to such files and tells File Explorer to warn the user that the file or folder can be important. The console DEL command doesn't remove files with the read-only attribute.

Windows 10 Attributes Conext Menu

In my previous article, we reviewed in detail a number of methods that you can use to change attributes of a file or folder in Windows 10. If you change file attributes frequently, you might find it useful to add a special context menu.

Advertisеment

File attributes in Windows 10

Windows 10 offers the user a number of methods to change file system attributes for folders and files. Each attribute can have only one state at a moment: it can be set or disabled. While file attributes are part of file system metadata, they always considered separate from other metadata values like file date or permissions.
In Windows 10, you can use File Explorer (both the Ribbon option and the File Properties dialog), PowerShell, and the good old command prompt to modify or set file attributes. The GUI methods require many clicks, and the command prompt methods require a lot of typing. Having the context menu for file attributes will save your time and increase your productivity. Let's see how to add it.

Add the Attributes context menu

  1. Download the following Registry files in a ZIP archive: Download Registry Files.
  2. Extract them to any folder.
  3. Double-click the file "Add Attributes Context Menu.reg" and confirm the operation.
  4. Now, right-click any file or folder. You will get the following menu.Windows 10 Attributes Conext Menu

You are done. The menu will provide the commands to set or remove the archive, hidden, system and read-only attributes with one click for both files and folders.Windows 10 Attributes Folder Context Menu

To get rid of the menu you added, use the provided undo tweak. Double-click the file "Remove Attributes Context Menu.reg" and you are done.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

16 thoughts on “Add Attributes Context Menu in Windows 10”

  1. If I enable this tweak in WinAero Twaeker and then I disable it the context menu disappeared for files but not for folders.

  2. I would like to suggest a change of improvement regarding the context-menus.
    When a lot is added, like: Attributes, Change Owner, Inherited Permissions, and goes on(…), the list goes too long and difficult to use/find.
    So, I’m trying to make a new ‘key’ in registry called (ex.) “Advanced” and include all above functions as sub-menus.

    (PART of) Code examble:
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell]

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow]
    “MUIVerb”=”Show current attributes”

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow\Command]
    @=”cmd.exe /k attrib \”%1\””

    …and code goes on…

  3. I would like to suggest a change of improvement regarding the context-menus.
    When a lot is added, like: Attributes, Change Owner, Inherited Permissions, and goes on(…), the list goes too long and difficult to use/find.
    So, I’m trying to make a new ‘key’ in registry called (ex.) “Advanced” and include all above functions as sub-menus.

    (PART of) Code examble:
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell]

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow]
    “MUIVerb”=”Show current attributes”

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow\Command]
    @=”cmd.exe /k attrib \”%1\””

    …and code goes on…

  4. I would like to suggest a change of improvement regarding the context-menus.
    When a lot is added, like: Attributes, Change Owner, Inherited Permissions, and goes on(…), the list goes too long and difficult to use/find.
    So, I’m trying to make a new ‘key’ in registry called (ex.) “Advanced” and include all above (‘Shield’) functions as sub-menus.

    (PART of) Code examble:
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””

    …and code goes on…

  5. I would like to suggest a change of improvement regarding the context-menus.
    When a lot is added, like: Attributes, Change Owner, Inherited Permissions, and goes on(…), the list goes too long and difficult to use/find.
    So, I’m trying to make a new ‘key’ in registry called (ex.) “Advanced” and include all above functions as sub-menus.

    (PART of) Code examble:
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell]

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow]
    “MUIVerb”=”Show current attributes”

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes\shell\aShow\Command]
    @=”cmd.exe /k attrib \”%1\””

    …and code goes on…

  6. I would like to suggest a change of improvement regarding the context-menus.
    When a lot is added, like: Attributes, Change Owner, Inherited Permissions, and goes on(…), the list goes too long and difficult to use/find.
    So, I’m trying to make a new ‘key’ in registry called (ex.) “Advanced” and include all above (‘Shield’) functions as sub-menus.

  7. (PART of) Code examble: (.reg)
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)

    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””
    …and code goes on…

  8. (PART of) Code examble: (.reg)
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    “HasLUAShield”=””
    “MUIVerb”=”Advanced”
    “SubCommands”=””
    ; “Extended”=”” (optional)
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    “MUIVerb”=”Attributes”
    “SubCommands”=””
    “HasLUAShield”=””
    …and code goes on…

  9. (PART of) Code examble: (.reg)
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]
    …and code goes on…

  10. Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell]
    [HKEY_CLASSES_ROOT\*\shell\Advanced\shell\Attributes]

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.