When a user says, “I can see the file, but I can’t save it,” or “The folder is there, but access is denied,” the fix is often not complicated. It usually comes down to file attributes, NTFS permissions, or a mix of both. If you are studying for CompTIA A+ or troubleshooting Windows for real, knowing the difference saves time and prevents bad changes.
CompTIA A+ Certification 220-1201 & 220-1202 Training
Master essential IT skills and prepare for entry-level roles with our comprehensive training designed for aspiring IT support specialists and technology professionals.
Get this course on Udemy at the lowest price →Quick Answer
attrib -h -s is a Windows command pattern used to remove the Hidden and System file attributes so files become visible again in File Explorer. For CompTIA A+, the key idea is that file attributes change how Windows treats a file, while NTFS permissions control who can access it. That distinction shows up often in support tickets and exam questions.
Definition
File attributes in Windows are properties that affect how Windows displays and handles a file or folder, such as whether it is visible, protected, or marked for backup. They do not decide which user can open the file; that is the job of permissions.
| Primary Command | attrib as of June 2026 |
|---|---|
| Common Flags | -h, -r, -s as of June 2026 |
| Core Attributes | Read-Only, Hidden, System, Archive as of June 2026 |
| Access Control Type | NTFS permissions on NTFS volumes as of June 2026 |
| Key Exam Focus | Visibility vs access vs edit rights as of June 2026 |
| Typical Troubleshooting Tool | File Explorer Properties and Security tab as of June 2026 |
| Backup Indicator | Archive attribute as of June 2026 |
What File Attributes Are and Why They Matter in Windows
File attributes are simple flags Windows attaches to files and folders to influence behavior. They do not grant or deny access, and they do not replace permissions. That is why a file can be visible but not editable, or invisible but still fully accessible if you know the path.
For support work, attributes matter because they explain a lot of “broken” behavior that is not actually broken. A file marked Read-Only may open normally but refuse to save changes. A Hidden or System file may seem missing even though it is still on disk. An Archive flag can tell backup software that a file changed since the last backup run.
On the CompTIA A+ exam, this concept shows up because it is basic Windows behavior, not advanced administration. The exam often tests whether you understand visibility, editability, and backup indicators before you start thinking about user access or network permissions. That distinction is also useful on the job because it narrows troubleshooting fast.
File attributes change how Windows presents and handles a file. Permissions change who can use it.
Here are the most common attributes you need to recognize:
- Read-Only prevents direct editing unless the attribute is removed.
- Hidden keeps files out of normal File Explorer views.
- System marks files as operating system components that Windows protects more aggressively.
- Archive signals that the file has changed and may need backup.
Windows file behavior is closely tied to basic administrative tasks covered in the CompTIA A+ Certification 220-1201 & 220-1202 Training path, especially when learners are preparing for support roles. If you understand the behavior of these attributes, you can solve a surprising number of first-line tickets without escalating.
Pro Tip
If the issue is “I can’t see it,” think Hidden or System. If the issue is “I can see it but can’t change it,” think Read-Only or permissions.
How Does attrib Work in Windows?
attrib is a command-line tool that changes file attributes quickly, especially when you need to update many files at once. It is one of the fastest ways to remove Hidden or System flags, and that is why the command appears in so many Windows troubleshooting scenarios. The common pattern attrib -h -s removes the Hidden and System attributes so files become visible again.
- Windows reads the attribute flags attached to the file or folder.
- File Explorer follows those flags when deciding what to show, hide, or protect.
- The attrib command changes the flags without changing file content or ownership.
- File behavior updates immediately after the command runs, so hidden items can reappear.
- Backup and admin workflows respond because attributes like Archive can change backup handling.
The most common syntax is straightforward. For example, attrib -h -s C:UsersPublicDocumentsreport.docx removes the Hidden and System flags from one file. If you need to work on a folder and its contents, you can add /s and /d depending on the scenario, but be careful: recursive changes affect more than one item.
That is why attrib -r command also matters in support work. Removing the Read-Only attribute is often the fastest way to test whether a save problem is caused by file protection or by a deeper permissions issue. Microsoft documents the attrib utility in Windows command-line references, and the behavior is consistent across modern Windows systems. See Microsoft Learn for the official syntax and examples.
Warning
Do not blindly remove the System attribute from operating system files. Changing protected files can break Windows behavior, create instability, or make recovery harder.
What attrib Does Not Do
attrib does not grant access, create backups, or bypass permissions. It only changes the file’s attribute flags. If a file is still unavailable after you remove Hidden or Read-Only, the real issue may be NTFS permissions, share permissions, encryption, or a damaged file path.
What Are the Core File Attributes You Need to Know?
The four attributes that matter most for CompTIA A+ are Read-Only, Hidden, System, and Archive. You do not need to memorize obscure flags to troubleshoot basic Windows problems. You do need to know what each one changes, what it does not change, and what a user is likely to see when it is set.
Read-Only
Read-Only allows the file to be opened and viewed, but it blocks direct modification unless the attribute is removed. This attribute is common on templates, downloaded documents, shared spreadsheets, and configuration files that should not be changed casually. A user may still be able to open a file, copy it, or save a new version elsewhere.
In practice, Read-Only is often confused with permissions. If a document is Read-Only, Windows may let the user read it but not overwrite the existing file. That is different from NTFS permissions, which can prevent even opening the file. A quick test is to clear the Read-Only box in Properties or use attrib -r and see whether saving becomes possible.
Hidden
Hidden files normally do not appear in File Explorer unless hidden items are turned on. This is a visibility setting, not a security control. A Hidden file can still be opened if you know the exact path and have the proper permissions.
Users often think data disappeared when it was only hidden. This happens with application caches, profile folders, and some support files. In troubleshooting, enable hidden items in File Explorer before assuming the file was deleted. If the file appears only after changing the view, the attribute was the issue, not the file itself.
System
System marks files that Windows considers part of the operating system or essential to system behavior. These files are protected more aggressively because deleting or editing them can affect stability, boot behavior, or application function. System files are often hidden too, which is why they can seem to vanish entirely.
You should treat System files as “hands off” unless you are doing deliberate administrative maintenance. In support work, the point is not to edit them casually. The point is to recognize them so you do not waste time chasing a file that is intentionally hidden from normal users.
Archive
Archive is a backup-related flag that tells Windows or backup software that a file has changed since the last backup. It does not mean the file is protected, hidden, or read-only. It simply means the content may need to be backed up again.
This attribute is especially relevant to incremental backup processes. If a document changes today, the Archive flag may be set so the backup job includes it in the next run. That makes Archive a workflow signal, not a security setting.
For quick recall, use this comparison:
| Read-Only | Controls editing behavior as of June 2026 |
|---|---|
| Hidden | Controls visibility in File Explorer as of June 2026 |
| System | Marks protected Windows components as of June 2026 |
| Archive | Flags files changed since backup as of June 2026 |
How Do You View and Change File Attributes in Windows?
You can view and change common file attributes through File Explorer and the file’s Properties window. This is the easiest method for a single file or folder. It is also the most familiar approach for end users, which makes it the first place to check during support calls.
- Right-click the file or folder.
- Select Properties.
- Look at the Attributes area.
- Check or clear options such as Read-Only or Hidden.
- Select Apply and confirm the change.
To reveal hidden files, open File Explorer, go to View options, and enable hidden items. In many troubleshooting cases, that single change resolves the issue because the file was never missing. It was simply not displayed. For system-related work, you may also need to show protected operating system files, but that should be done carefully and only when necessary.
For faster or bulk changes, the attrib command is the practical choice. For example, a help desk technician might remove Hidden and Read-Only from a group of files after a migration or restore. Microsoft’s command reference on Microsoft Learn is the right place to verify syntax before making bulk changes.
When to Use the GUI and When to Use the Command Line
Use the GUI when you are handling one file, training a user, or verifying what the system is doing. Use the command line when you need repeatability, speed, or multiple files. The risk with the command line is volume: it is easy to change more files than you intended if your path or switches are wrong.
Why Do File Attribute Problems Happen?
File attribute issues usually happen because the attribute is doing exactly what it was designed to do. A user sees a locked document because it is Read-Only. A folder looks empty because the contents are Hidden. A support technician may think a system file is missing when Windows has simply protected it from view.
These issues become more confusing when file attributes are mixed with permissions. A file can be visible but not editable, or invisible but still accessible to an application. That is why support staff should ask two separate questions: Can the user see the file? and Can the user change or open it?
- “It’s locked” may mean Read-Only, not NTFS permissions.
- “It disappeared” may mean Hidden, not deleted.
- “Windows won’t let me touch it” may mean System protection, not corruption.
- “My backup missed it” may mean Archive was not updated or the backup job was misconfigured.
A useful troubleshooting pattern is to start with visibility, then check editability, then check permissions. That sequence prevents wasted effort. If the file becomes visible after enabling hidden items, you are done. If not, check whether the file is protected by permissions or whether it is a genuine access problem.
File attribute behavior is documented in official Windows guidance from Microsoft Learn, and Windows backup behavior is often tied to the Archive flag. For a broader backup reference point, NIST guidance on system protection and recovery planning is useful background at NIST.
What Are NTFS Permissions and Why Do They Matter?
NTFS permissions are access controls that determine what users and groups can do with files and folders on NTFS-formatted drives. They are different from file attributes because they govern access, not display or backup behavior. If attributes explain how Windows treats a file, permissions explain who can use it and how.
NTFS permissions matter in real environments because most business systems are shared. Multiple users may need access to the same folder, but not all users should have the same rights. One person may only read reports, another may edit them, and an administrator may manage permissions. NTFS lets you define that separation clearly.
This is a core CompTIA A+ topic because it appears in everyday support tickets. A user cannot save a file, delete a folder, or run a utility, and the problem may not be the application at all. It may be that the user has the wrong permission level. Microsoft’s NTFS permission model is covered in Windows documentation, and the technical foundation is outlined in Microsoft Learn and official Windows security references.
Permissions answer one question: what is this user allowed to do?
For context, the CompTIA A+ Certification expects you to recognize these scenarios at a practical level, not as a deep file-system engineering exercise. That means understanding the names, the outcomes, and the troubleshooting flow.
Which NTFS Permission Levels Should You Memorize?
The main NTFS permission levels are Full Control, Modify, Read & Execute, List Folder Contents, Read, and Write. These are the building blocks for nearly every Windows file access question you will see in A+ preparation. The trick is to understand what each one really allows.
- Full Control allows reading, writing, deleting, changing permissions, and taking ownership in many cases.
- Modify allows reading, editing, creating, and deleting content without permission management.
- Read & Execute allows opening and running files, but not changing them.
- List Folder Contents allows navigation through folders and viewing contents.
- Read allows opening and viewing file contents and attributes.
- Write allows adding or changing data, but not necessarily deleting or managing permissions.
The practical difference between Read and Read & Execute is easy to miss. Read lets a user inspect a file. Read & Execute adds the ability to launch applications or scripts. Modify is the level many users need for shared work folders because it allows day-to-day editing without giving them administrative control.
In exam questions, the wording is often the clue. If the user needs to “save changes,” think Write or Modify. If the user needs to “run a program,” think Read & Execute. If the user must “manage permissions,” think Full Control. For more on secure file access and safe permission design, NIST SP 800-53 is a strong reference point at NIST.
How Do NTFS Inheritance, Groups, and Effective Access Work?
Inheritance is the process where permissions from a parent folder flow down to subfolders and files. This saves time and creates consistency, which is why administrators use it heavily. The downside is that inherited settings can make access appear confusing when a child folder behaves differently than expected.
- A parent folder has permissions assigned.
- Child folders and files inherit those permissions unless inheritance is blocked.
- Users may get access through groups instead of direct assignment.
- Effective access reflects the final result after all direct, inherited, and group-based permissions are combined.
- Conflicts are resolved by the permission rules, which can limit or expand what the user can do.
Group membership matters because users rarely receive permissions one at a time in business environments. Instead, they are added to groups like Marketing, Finance, or Help Desk. That group membership gives them rights across many folders at once. This is efficient, but it can also hide the real source of access problems.
Effective access is the answer to the question, “What can this person actually do?” If a user belongs to one group that grants Modify and another that grants only Read, or if a deny rule exists somewhere in the hierarchy, the final result may surprise you. Microsoft’s security group model is described in official documentation from Microsoft Learn.
Key Takeaway
Inheritance saves time, groups simplify administration, and effective access tells you what the user can actually do after all rules are combined.
What Is the Difference Between Share Permissions and NTFS Permissions?
Share permissions apply when a user connects to a folder over the network, while NTFS permissions apply to the file system itself. That is the simplest way to remember the difference. Share permissions are about network access to the share. NTFS permissions are about access to the files and folders on disk.
When both apply to the same network path, the more restrictive result usually wins. That is why a user may seem to have access from one location but not another. A folder may be accessible locally on the machine, but restricted over the network because the share settings are tighter.
Here is a common scenario. A user can open a folder on the server directly while sitting at the console, but the same user gets blocked when connecting through \ServerNameShareName. In that case, the share permission may be more restrictive than NTFS, or the combination may limit access more than expected. This is a classic troubleshooting pattern in shared Windows environments.
For remote file access and shared system design, Microsoft’s Windows documentation is the right place for authoritative guidance, including SMB and file sharing behavior. See Microsoft Learn for SMB and file server references.
| Share Permissions | Control network access to a shared folder as of June 2026 |
|---|---|
| NTFS Permissions | Control access on the file system itself as of June 2026 |
How Do You Check and Modify NTFS Permissions in Windows?
You check NTFS permissions from the Security tab in a file or folder’s Properties window. That tab shows which users and groups have access and what level of access they receive. It is the first place to look when a user says they cannot open, save, or delete a file.
- Right-click the file or folder.
- Select Properties.
- Open the Security tab.
- Review the users, groups, and assigned permissions.
- Click Edit only if you are authorized to change access.
When modifying permissions, the safest approach is to make the smallest effective change. If a user only needs to edit documents, give Modify instead of Full Control. If a team needs shared access, assign the right group rather than giving permissions directly to individuals. That keeps access easier to audit and easier to remove later.
Inheritance settings are also important. You can disable inherited permissions on a folder, replace child permissions, or allow child items to continue inheriting from the parent. The right choice depends on whether the folder is an exception or part of a standard structure. For deeper Windows access control concepts, Microsoft’s official documentation is the best reference: Microsoft Learn.
Editing Permissions vs. Changing Ownership
Ownership is not the same as permission. A user may own a file without having the access level they need, and an administrator may have permission without being the owner. Ownership changes are generally reserved for administrative recovery or advanced support work. For exam purposes, remember that ownership is a separate layer from the common permissions listed in the Security tab.
How Do You Troubleshoot Permission Problems in Real Windows Environments?
Most permission tickets boil down to one of four symptoms: Access Denied, missing save options, inability to delete files, or a folder that appears to be there but cannot be used. The key is to determine whether the problem is caused by attributes, NTFS permissions, share permissions, or something else entirely.
Start with the user’s exact action. Can they open the file but not edit it? That points to Read-Only or Read permissions. Can they see nothing at all? That suggests Hidden or System. Can they access the file locally but not over the network? That is likely a share permission issue. Can they save but not delete? That often means they have Write access but not Modify or Full Control.
- Check the file attribute first if the user can see the item but not edit it.
- Check the Security tab next if the user cannot open, delete, or save.
- Check share settings when the issue only happens over the network.
- Check group membership when the user says someone else in the same team has access.
- Check inheritance when one folder in a path behaves differently from the rest.
Example one: a shared Word document will open, but saving changes fails. If the file is Read-Only, removing that attribute may fix the problem. If the attribute is not set, the user may lack Modify permission on the folder. Example two: a user cannot find a configuration file that support knows exists. Enabling hidden items reveals it, and the issue was visibility, not deletion.
For baseline security troubleshooting guidance, CISA and NIST both provide useful public references on secure system handling and risk-aware administration.
What Are the Best Practices for Managing File Attributes and Permissions?
The safest Windows environments use the principle of least privilege. That means giving users only the access they need to do their jobs. It reduces accidental damage, limits the impact of compromised accounts, and makes troubleshooting cleaner because access patterns are predictable.
Use groups instead of individual user assignments wherever possible. Group-based permissions are easier to document and easier to update when staff change roles. If ten people need the same access, do not configure ten separate permission entries unless you have no other choice.
Keep System and Hidden files protected unless you have a specific maintenance reason to change them. Those attributes exist to prevent confusion and accidental modification. If you remove them, do it intentionally and restore the original state when you finish.
- Document changes so future support staff can understand what was altered.
- Test access after changes to confirm the user can actually work.
- Verify backup behavior if the Archive attribute is part of your backup workflow.
- Use group policies and standard folder structures to reduce exception handling.
Security frameworks reinforce the same approach. The NIST Cybersecurity Framework and ISO 27001 both emphasize controlled access, documented changes, and secure handling of sensitive data. For backup and retention practices, the Archive flag should be treated as a workflow indicator, not a security boundary. See ISO 27001 for the standards perspective.
What CompTIA A+ Exam Tips Help Most With File Attributes and Permissions?
The exam usually rewards practical understanding, not memorized definitions. If a question says the file cannot be seen, think Hidden or System. If it says the file can be opened but not modified, think Read-Only or permissions. If it mentions network access to a shared folder, think share permissions and NTFS permissions together.
One common trap is confusing Read-Only with Read. Read-Only is a file attribute that prevents direct changes to that file. Read is an NTFS permission that controls whether a user can view a file or folder. Another trap is assuming Hidden means restricted access. Hidden does not block access; it only removes the item from normal view.
When you study, use scenario thinking instead of only memorizing lists. Ask yourself what the user is trying to do:
- See the file — check Hidden or System.
- Save changes — check Read-Only or Modify permissions.
- Open over the network — check share permissions and NTFS permissions.
- Run a program — check Read & Execute.
- Back up a file — check whether the Archive attribute is being used correctly.
If you are preparing with the CompTIA A+ Certification 220-1201 & 220-1202 Training path, this is one of the easiest areas to turn into points because the topic is repeatable. The same core concepts appear in different wording, and the answer usually comes from identifying visibility versus access versus editing.
Key Takeaway
- File attributes change how Windows treats a file.
- NTFS permissions control what a user can do with it.
- attrib -h -s is used to remove Hidden and System flags.
- Read-Only is not the same as Read permission.
- Share permissions and NTFS permissions both matter on network paths.
CompTIA A+ Certification 220-1201 & 220-1202 Training
Master essential IT skills and prepare for entry-level roles with our comprehensive training designed for aspiring IT support specialists and technology professionals.
Get this course on Udemy at the lowest price →Conclusion
File attributes and NTFS permissions solve different problems. Attributes affect visibility, protection, and backup behavior. Permissions control access. If you keep that distinction clear, Windows troubleshooting becomes much faster and CompTIA A+ questions become much easier to interpret.
Use the GUI when you are checking one item. Use attrib when you need speed or bulk changes. Use the Security tab when the problem is access control. And when you see attrib -h -r -s, remember that it is a command pattern for removing Hidden, Read-Only, and System attributes so you can inspect or recover a file more effectively.
The best next step is simple: open File Explorer, inspect a few files, toggle hidden items, and review the Security tab on a folder you already know. That hands-on repetition is what turns memorized definitions into usable Windows troubleshooting skill.
CompTIA® and CompTIA A+™ are trademarks of CompTIA, Inc.

