Windows 10 Hidden Attribute Greyed Out: Hiding or Unhiding a File When the Checkbox Is Locked
You open a file or folder’s Properties to tick or untick “Hidden,” but the checkbox is grey and cannot be changed. It often happens with folders copied from old backups, other operating systems, or files that refuse to show themselves. When the Windows 10 Hidden attribute greyed out blocks PAGODA127 the change, the item also carries the System attribute, which locks the Hidden box.
Windows uses attributes to describe files: Read-only, Hidden, Archive, and System, among others. When a file is marked as both Hidden and System, File Explorer treats it as a protected operating system file and will not let you change the Hidden setting through Properties.
Backup programs, file sync tools, and some malware set both attributes, and legitimate system files, such as desktop.ini and thumbnail caches, use both on purpose.
The attrib command can change both attributes at once, which unlocks the setting.
Why This Happens
The checkbox is locked for these reasons:
- The item has the System attribute as well as Hidden.
- A backup or sync tool copied the attributes from another system.
- The item is a genuine protected Windows file.
- The drive is write-protected or read-only.
If you only want to see hidden files without changing them, you can show protected files in Folder Options instead.
Start With These Basic Checks
Make sure you are allowed to change the item.
- Type attrib followed by the item’s path in Command Prompt to see which letters, such as H and S, are set.
- Check that the drive is not write-protected and that you have permission to modify the files.
- In File Explorer, open View > Options > Change folder and search options, then the View tab.
- Select “Show hidden files, folders, and drives” and clear “Hide protected operating system files” temporarily.
- Check whether the item now appears faded, which means it is hidden.
Going a Step Further
Remove the attributes with Command Prompt.
- Open Command Prompt as administrator.
- For a single folder, type attrib -h -s “E:\Folder Name” and press Enter, using your own path.
- To include everything inside a folder, type attrib -h -s “E:\Folder Name\*” /s /d so files and subfolders are changed too.
- Refresh File Explorer and check that the Hidden box can now be changed.
- If many unknown items carried both attributes without explanation, run a Microsoft Defender scan as a precaution.
To hide something again, use attrib +h “path”, without adding +s.
A Word of Caution
Never remove the System attribute from files in the Windows folder or the root of the C: drive. Turn “Hide protected operating system files” back on when finished to avoid deleting important files by mistake.
Final Thoughts
The Hidden box is greyed out when an item is also marked as a System file. Check the attributes, clear both with attrib -h -s, and re-hide items with attrib +h only.